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, 12:12 AM #29
Kidd Cold
**** my Toaster !~!
Originally posted by .Say
Can you help me. Smile


lol.. I wouldn't hold your breath dude :-/
09-18-2010, 12:37 AM #30
DEREKTROTTER
You're Goddamn Right
Originally posted by Kidd
lol.. I wouldn't hold your breath dude :-/


cant expect him to spoonfeed us. If it wasnt for BucN there wouldnt be all these PS3 challenge lobbies

The following user thanked DEREKTROTTER for this useful post:

Kidd Cold
09-18-2010, 12:46 AM #31
Kidd Cold
**** my Toaster !~!
Originally posted by DEREKTROTTER View Post
cant expect him to spoonfeed us. If it wasnt for BucN there wouldnt be all these PS3 challenge lobbies


You must login or register to view this content. heyyy man look through all my previous post.. never do I ask to be spoon-fed! I honestly for the most part I am trying to figure it out myself You must login or register to view this content., it's just more hints then what are known would be a little helpful.

but yes I am happy that he was nice enough to share the godly patch with us.
09-18-2010, 12:53 AM #32
DEREKTROTTER
You're Goddamn Right
Originally posted by Kidd
You must login or register to view this content. heyyy man look through all my previous post.. never do I ask to be spoon-fed! I honestly for the most part I am trying to figure it out myself You must login or register to view this content., it's just more hints then what are known would be a little helpful.

but yes I am happy that he was nice enough to share the godly patch with us.


he spent an hour learning me some stuff, but its some advanced shit, and i forgot it /facepalm
09-18-2010, 12:55 AM #33
Kidd Cold
**** my Toaster !~!
Originally posted by DEREKTROTTER View Post
he spent an hour learning me some stuff, but its some advanced shit, and i forgot it /facepalm


I know the feeling I spent 4 hours working on it the other day... I got far then I wake up and get on the computer to only realize that 1) I don't remember it. 2) I didn't write it down.
09-18-2010, 01:06 AM #34
Originally posted by dm430 View Post
Nice find buddyHappy


he didnt find this. he wrote it from scratch.
09-18-2010, 01:38 AM #35
Originally posted by brendanj9554 View Post
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
__________________



Ever thought of opening a patch_mp.ff shop for those less talented at compressing & decompressing ? lol
09-18-2010, 07:22 AM #36
PS3LUV3R
Too Beast
So complicated. You wrote this tut as if everyone knows about this crap anyway. If only I understood hex shit and all this zlib crap.
09-18-2010, 08:08 AM #37
lol at ps3^^ it will get easier the more you test and understand

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo