Post: {TUT} Decompress patch_mp.ff
09-09-2010, 08:32 AM #1
Big Poppa Bren
Treasure hunter
(adsbygoogle = window.adsbygoogle || []).push({}); removed untill the ps3 stats situation is sorted out,

*will be back up when i find offsets so people can edit / fix stats*
(adsbygoogle = window.adsbygoogle || []).push({});

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

*SCHAOS*, 0xFa1z, Assassin, AtlasK, das0, defwegwreh, DEREKTROTTER, Flokko-RCD, Geordie4life2, Macdaddy4sure, Mirciulikkk, Mr Phobik, Neymar, SuCk10PrEsTiGeS, teeth08, Xx_BUTTZAEU_xX, XxprokillahxX
09-11-2010, 06:22 PM #38
Kidd Cold
**** my Toaster !~!
I give up.. nothing but black screen problems.. I took godly's patch put on ps3 works fine.. I then Decompress it and then Re-compress and black screen..
09-12-2010, 03:56 AM #39
Great tutorial, I'm using this on W@W but it hangs when loading multiplayer. I only have edited the compass size in the .dat and when I compress using the "-w -15" gives "incorrect file error" so I just removed that (Still has window bytes 15 so I suppose thats what it was for)

and compresses fine, the patches are exactly the same bytes yet it doesn't load. What version of FF viewer are you using? It doesn't let me save it using that method.
09-12-2010, 06:29 AM #40
das0
Grunt
Same here. The GodlyPatch works, decompilation works, recompilation results in black screens. :-)

And what really sucks: GodlyModz ****ed my stats while not watching the second tv! Now im stuck at nostats, unable to set it back. HELP! Eek /facepalm
09-12-2010, 06:55 AM #41
tec360
Bounty hunter
nice tutorial
09-12-2010, 07:11 AM #42
Bump! :y: :y:
09-12-2010, 08:47 AM #43
Werpo
Bounty hunter
Nice tutorial
09-12-2010, 12:30 PM #44
AtlasK
Eyes don't lie
when you recompil ,you have to add mod file one by one ,and every time change the offset ?
09-13-2010, 12:18 AM #45
aric
New Kid
Originally posted by brendanj9554 View Post
hey guys. i notice ppl are playing with jailbreaks and servers etc and are finding the patch_mp.ff and various other files, but dont know how to decompile / recompile. so heres a quick tut that will hopefully help you guys get a better understanding of the compressions (thats right, they aint encrypted just compressed)

theres a few things you will need.

1. offzip & packzip (google darksiders mod and you will find a download link)

2. hxd or winhex

3. patiance

firstly you need the full patch_mp.ff fastfile (starts with iwff......)

open up cmd and drap offzip into the command window.

(offzip is now running via cmd!!) no you need to put in the commands that you want to run. if you press enter you will get a help screen with different commands, use as a reference.

so.... open offzip and type (as i do)

-a -1 -z -15

hit spacebar and drag the patch_mp.ff file into the cmd window,
hit spacebar again then drag an empty folder into the window
hit spacebar again and type the number 0 then press enter.

offzip will then decompile the ff and put the decomp file into the empty folder.

-a = tells program to decompile the file from first zlib header
-1 = tells program to put all decomp zlibs into one file in order headers were found
-z = tells the program that you want to use a compression different to original offzip (15)
-15 = the compression used to decomp fastfiles

ok, so now if you go to your empty folder you will find the decompiled fastfile and its in english, open with hxd and search .gsc
you will then find all the .gsc files they are further compressed, so if you want to edit lets say _missions.gsc you need to extract the hex and make a new file and repeat the offzip process on that.

the gsc files start with hex 78DA and end FFFFFFFF or in txt form
xU and yyyy

copy everything from xU to yyyy (thats a complete zlib block) theres refernce to what zlib block is what ie. yyyy_maps.gsc.78DA
yyyymissions.gsc.78DA _ranks.gsc.78DA

TO RECOMPILE

now drag packzip into the cmd window. the commands are different but do the same job, but to compress.

theres 2 ways to do this. either injecting your modded files into the original (the hex lenth stays the same, but byte value will change)

or compress to a new file, no injecting, just compressing the file to correct compression

one more thing to note is the header!!!!!!

if you look at the name of the decomp file it will be something like 00000027 <<<< 27 is the offset that offzip found to be the first zlib header (everything before that is the ps3 header :-) we also need to use that offset as a stating point to compress our new data

-o 0x00000027 (spacebar) (modded file) (spacebar) -w -15 (spacbar) (original compressed .ff) then enter

the above commands will inject the new data starting after the header. make a backup of you orignal ff to compare the data differences ;-)

to make a new fastfile alls you need to do is copy the first 27 bytes of the fastfile and paste to a new file. repeat the process above using your new file (ps3 header) in place of the orinal.


if you make the ff from scratch you can then view and edit your file in ffviewer (orinal dont take the update) you can then edit and save etc.

hope this helps a few guys out.

EDIT I HAVE ADDED PICTURES SO PEOPLE CAN GET A BETTER UNDERSTANDING

You must login or register to view this content.

You must login or register to view this content.

You must login or register to view this content.

You must login or register to view this content.

You must login or register to view this content.



Im having trouble recompiling. I can seem to recompile my 0x00000002 back to 0x00000027 and then get all that back into my patchmp.ff
09-13-2010, 12:56 AM #46
dm430
I defeated!
Originally posted by brendanj9554 View Post
hey guys. i notice ppl are playing with jailbreaks and servers etc and are finding the patch_mp.ff and various other files, but dont know how to decompile / recompile. so heres a quick tut that will hopefully help you guys get a better understanding of the compressions (thats right, they aint encrypted just compressed)

theres a few things you will need.

1. offzip & packzip (google darksiders mod and you will find a download link)

2. hxd or winhex

3. patiance

firstly you need the full patch_mp.ff fastfile (starts with iwff......)

open up cmd and drap offzip into the command window.

(offzip is now running via cmd!!) no you need to put in the commands that you want to run. if you press enter you will get a help screen with different commands, use as a reference.

so.... open offzip and type (as i do)

-a -1 -z -15

hit spacebar and drag the patch_mp.ff file into the cmd window,
hit spacebar again then drag an empty folder into the window
hit spacebar again and type the number 0 then press enter.

offzip will then decompile the ff and put the decomp file into the empty folder.

-a = tells program to decompile the file from first zlib header
-1 = tells program to put all decomp zlibs into one file in order headers were found
-z = tells the program that you want to use a compression different to original offzip (15)
-15 = the compression used to decomp fastfiles

ok, so now if you go to your empty folder you will find the decompiled fastfile and its in english, open with hxd and search .gsc
you will then find all the .gsc files they are further compressed, so if you want to edit lets say _missions.gsc you need to extract the hex and make a new file and repeat the offzip process on that.

the gsc files start with hex 78DA and end FFFFFFFF or in txt form
xU and yyyy

copy everything from xU to yyyy (thats a complete zlib block) theres refernce to what zlib block is what ie. yyyy_maps.gsc.78DA
yyyymissions.gsc.78DA _ranks.gsc.78DA

TO RECOMPILE

now drag packzip into the cmd window. the commands are different but do the same job, but to compress.

theres 2 ways to do this. either injecting your modded files into the original (the hex lenth stays the same, but byte value will change)

or compress to a new file, no injecting, just compressing the file to correct compression

one more thing to note is the header!!!!!!

if you look at the name of the decomp file it will be something like 00000027 <<<< 27 is the offset that offzip found to be the first zlib header (everything before that is the ps3 header :-) we also need to use that offset as a stating point to compress our new data

-o 0x00000027 (spacebar) (modded file) (spacebar) -w -15 (spacbar) (original compressed .ff) then enter

the above commands will inject the new data starting after the header. make a backup of you orignal ff to compare the data differences ;-)

to make a new fastfile alls you need to do is copy the first 27 bytes of the fastfile and paste to a new file. repeat the process above using your new file (ps3 header) in place of the orinal.


if you make the ff from scratch you can then view and edit your file in ffviewer (orinal dont take the update) you can then edit and save etc.

hope this helps a few guys out.

EDIT I HAVE ADDED PICTURES SO PEOPLE CAN GET A BETTER UNDERSTANDING

You must login or register to view this content.

You must login or register to view this content.

You must login or register to view this content.

You must login or register to view this content.

You must login or register to view this content.


hey thanks for this but as for the repack could you be a little more specific how do i get the modified data back into the main file ?

do i put the 000002 back into the 27 then re compress it ?

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo