Post: {TUT} Recompile modded patch_mp.ff (detailed)
09-13-2010, 09:30 PM #1
Big Poppa Bren
Treasure hunter
(adsbygoogle = window.adsbygoogle || []).push({}); hey guys, sorry for the delay, most have been having problems with recompiling, this is due to compresstions, so read on and you will get all the answers, first i will explian WHY everybody has been having problems, its because off all the empty space in the full decompiled patch, so follow my new method and hopefully you will all get sorted.

use offzip to decompile, but dont use the -1 option.
you will get all 22 zlib blocks as seperate files in the folder,

>> once decompressed cmd window will tell you important info you need to know <<

it will tell you what offsets were zlib blocks, for example

You must login or register to view this content.

here are the offsets ( 0x0000b4a0 > 0x00024ef5 ) for the gsc files, copy the hex from the patch in hxd and paste into a new file.

now you decomp that file with these options -a -1 -z -15
(use -1 as it will join the 2 zlib blocks for you, iw have split the missions in 2 parts with the use of zlib. but this is the way round it.)

open the decompiled file in hxd, you can search the gsc files and futher extract the _missions.gsc

(the offsets for missions in your new file are start > 0000D7D2 end > 00010628

once you have decompressed mission, use packzip to recompress with -o 0x00000002 (make a new hxd file with a zlib header only 78DA) -w -15 .it will then compress the missions

one thing you need to do is compare sizes from original files, you can paste write you compressed missions over the original, but you will have to delete data untill the end off your new missions meets the rank.gsc (check out the picture for a better idea of what i mean)

You must login or register to view this content.

once you have edited the data you need to delete all the untouched data inbetween, right up to when you paste write to the orignal patch_mp (delete data upto next untouched zlib block)

i have also uploaded an orginal patch_mp 1.11 offzip and packzip to help a few people out,

You must login or register to view this content.

thanks guys
__________________
(adsbygoogle = window.adsbygoogle || []).push({});

The following 11 users say thank you to Big Poppa Bren for this useful post:

das0, fightinillini94, Flokko-RCD, Gendjisan, ihaxgames, IW_JOSH, Karoolus, Nice1der, NOTANOOB, The_Return, XxprokillahxX
09-18-2010, 05:51 PM #38
dm430
I defeated!
Originally posted by XxprokillahxX View Post
he didnt find this. he wrote it from scratch.


i mean docompile and recompile method /facepalm
09-18-2010, 06:03 PM #39
Gendjisan
A.k.a. Bushigan
I have find the method Cool Man (aka Tustin)

It take me 5 hours to understand lol

If you have any question...i can help you !

PS : Need a tester whith capture card
09-18-2010, 06:07 PM #40
ilikeitindabutt
Who fukmi who the fukru
Originally posted by Gendjisan View Post
I have find the method Cool Man (aka Tustin)

It take me 5 hours to understand lol

If you have any question...i can help you !

PS : Need a tester whith capture card


i can capture if you want and i have spent hours also trying to understand his recompile i can't get the IWFF back
09-18-2010, 09:05 PM #41
juddylovespizza
I'VE GOT JUNGLE FEVER
Thanks for the tutorial. Got to editing the missions, then try to compile but don't understand what or how to set a zlib? Can you help I've nearly done my own patch! Smile
09-18-2010, 10:44 PM #42
PS3LUV3R
Too Beast
I ****ing fail from step 1 lol. Not just recompiling, even decompressing it. Idk why, not good with THIS type of stuff I guess :/

But I also really want to make my own patch and not wait for people to release their's! I want my own damn it!
09-18-2010, 10:58 PM #43
Tzee
Grunt
pretty sure for the first zlib you copy the 78 DA from the file you decompress to get your _missions.gsc.( i think its xU some thing like that.) thats as far as i have gotten though. when i recompress into the patch_mp its over the limit. im gona try adn clean my patch out then add a whole bunch of bytes to even it out. doubt it will work though.

PS3LUV3R i can help you decompile it you want?
09-18-2010, 11:07 PM #44
Ritztro
I am a Game Developer
Can you make a tutorial with pictures? A noob tutorial. Because I decompressed it the way you said earlier but Am I not supposed to do it that way? right now I have the patch.ff decompressed and I have found the missions.gsc and copied them to a new file and decompressed those to gsc. Then I got an xbox patch and copied that missions.gsc into my missions.gsc. Then I saved it. Now I am confused on what you said...
09-18-2010, 11:14 PM #45
PS3LUV3R
Too Beast
Hmm I now understand how to do everything, but recompressing is still weird.

I don't get what you mean by "
once you have decompressed mission, use packzip to recompress with -o 0x00000002 (make a new hxd file with a zlib header only 78DA) -w -15 "

How do you make a HxD file with Zlib header 78DA? I don't know what that is! Aaaah!

And another noob question, does it matter if you put stuff into missions.gsc or rank.gsc? Or will they both end with the same result? Or do certain things go in one of them?

Sorry for all the questions, but I want to figure this out!

Hmm when I try to decompress, (-o 0x00000002 -w -15 right?) it says open input file, open output file. Error: Permission Denied. I closed both of the files, still, same thing. Any help?
09-18-2010, 11:36 PM #46
Tzee
Grunt
Originally posted by PS3LUV3R View Post
Hmm I now understand how to do everything, but recompressing is still weird.

I don't get what you mean by "
once you have decompressed mission, use packzip to recompress with -o 0x00000002 (make a new hxd file with a zlib header only 78DA) -w -15 "

How do you make a HxD file with Zlib header 78DA? I don't know what that is! Aaaah!

And another noob question, does it matter if you put stuff into missions.gsc or rank.gsc? Or will they both end with the same result? Or do certain things go in one of them?

Sorry for all the questions, but I want to figure this out!



i cant be 100% but i think you copy the header from the uncompressed _missions.gsc(the header is just 78 DA) and paste it into a new HxD file. then you inject the _missons.gsc into that file with 0x00000002 so that it doesnt overwrite the headder. and then compare the old compressed to the 1 you just made and it should be the same unless you eddited the _missions.gsc. there is also a part at the end you will have to put in.
    ÿÿÿÿ...Û..=çÿÿÿÿ

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo