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-19-2010, 01:31 AM #74
Kidd Cold
**** my Toaster !~!
Originally posted by PS3LUV3R View Post
Yea...this is some weird shit. Sometimes it works, then other times it doesn't. I don't get it.


me neither.. Like I do to a point but not fully.. not yet.
09-19-2010, 01:45 AM #75
juddylovespizza
I'VE GOT JUNGLE FEVER
Originally posted by PS3LUV3R View Post
**** this lol. I started all over now I can't even decompress the .gsc's right. I got 027, copied the hex between the offets for all the GSC's, when I try to decompress that, it doesn't work. Fml. It just gets worse and worse lol.


Whats 27? I've just compressed the rank.gsc into the decompressed file (00000000.dat) now all I need to do is compress this file into the patch_mp and I'm hopefully done :y:
09-19-2010, 01:52 AM #76
Kidd Cold
**** my Toaster !~!
Originally posted by juddylovespizza View Post
Whats 27? I've just compressed the rank.gsc into the decompressed file (00000000.dat) now all I need to do is compress this file into the patch_mp and I'm hopefully done :y:


00000027 depends on how you decompress

if you do -a -1 -z -15 it's the file you get after you first decompress the patch if you do the -a -z -15 then I don't recall what it is exactly.
09-19-2010, 01:55 AM #77
bbk4614
BBK 4 BBK!!!
if any of yall get this working you should post the patch i would do it myself but when i try 2 type anything in the cmd window it says it is not recognized lol im still on decompression
09-19-2010, 02:02 AM #78
ilikeitindabutt
Who fukmi who the fukru
i got as far as putting the gsc code back on now how do you turn it into a patch_mp.ff file to get the iwff at top?
09-19-2010, 02:25 AM #79
juddylovespizza
I'VE GOT JUNGLE FEVER
Originally posted by ilikeitindabutt View Post
i got as far as putting the gsc code back on now how do you turn it into a patch_mp.ff file to get the iwff at top?


in exactly the same boat with you :confused:
09-19-2010, 02:33 AM #80
PS3LUV3R
Too Beast
Just work backwards, instead od decompressing, re-compress everything all the way up to patch_mp.ff

Theres a new nicely made TuT check it out. In French. I translated it though look at the first post. You should be able to do it Winky Winky
09-19-2010, 03:57 AM #81
Ritztro
I am a Game Developer
Ok well what do I do if I have the extracted .dat of the dudeitsbrian one?
09-19-2010, 04:06 AM #82
PS3LUV3R
Too Beast
Damn it! I thought I had it! I did everything, compressed the missions, paste wrote over everything all the way up to patch_mp.ff,but I black screened...I don't know why.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo