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-09-2010, 10:46 PM #20
BigMel1
Vault dweller
Originally posted by brendanj9554 View Post
Try saving the ff without a file extention. Copy the full ff and paste into a new file and save. Put all files/folders on desktop.


ok nothing is working! do you think i have a bad patch_mp.ff or is it my computer cuz this makes no sense why this is happening
09-09-2010, 10:47 PM #21
.Say Hi.
Rep is so 2010
Originally posted by Kaos
That would be sweet. I need to extract and inject some files in the patch (UP0002-BLUS30377_00MW2P000000000011-A0111-V0100-PE) including patch_mp.ff.


The default_mp.self will give you a black screen. You need to find a way around it.
09-09-2010, 10:48 PM #22
Big Poppa Bren
Treasure hunter
Originally posted by BigMel1 View Post
ok nothing is working! do you think i have a bad patch_mp.ff or is it my computer cuz this makes no sense why this is happening


Your patch starts with hex iwff right? I can't see a reason why it wouldn't work for you.
09-09-2010, 10:48 PM #23
Kidd Cold
**** my Toaster !~!
Originally posted by BigMel1 View Post
ok nothing is working! do you think i have a bad patch_mp.ff or is it my computer cuz this makes no sense why this is happening


did you make sure to include the " "'s ??
09-09-2010, 10:49 PM #24
ThisIsBio
LiquiDΔx
Originally posted by 00 View Post
The default_mp.self will give you a black screen. You need to find a way around it.


... I think have a way around it. It is easy when you think of it.
09-09-2010, 10:51 PM #25
BigMel1
Vault dweller
Originally posted by brendanj9554 View Post
Your patch starts with hex iwff right? I can't see a reason why it wouldn't work for you.


yeah its just a regular patch. everytime it says its invalid. ill try to post a screen shot
09-09-2010, 10:53 PM #26
Big Poppa Bren
Treasure hunter
Originally posted by BigMel1 View Post
yeah its just a regular patch. everytime it says its invalid. ill try to post a screen shot


Am sure someone will upload one for you if you ask. Would give you mine but on my iPhone and going bed now. Work tomoz :-(
09-09-2010, 11:26 PM #27
BigMel1
Vault dweller
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.


how do i extract the gsc code
09-09-2010, 11:33 PM #28
AtlasK
Eyes don't lie
@bigmel1 : copy/paste bytes to a new hexfile

ill try this tomorrow ,thx brendan for your tut ;can yo post a link for the old ffviewer please

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo