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-17-2010, 04:10 AM #20
what do you mean when you say "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)" That part is a little fuzzy as to what you are specifically talking about. Please explain. thank you,

jbaile17
09-17-2010, 04:13 AM #21
shiver
chaos personified
Originally posted by jbaile17 View Post
what do you mean when you say "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)" That part is a little fuzzy as to what you are specifically talking about. Please explain. thank you,

jbaile17



I am sure he means padding, aka 0'ing the blocks.
09-17-2010, 04:30 AM #22
I tried that, and it didn't work either. Anything else you can think of?

jbaile17
09-17-2010, 05:24 PM #23
Xcellerator
You talkin to me?
He said to actually delete the data in between, not just '0' it...
09-17-2010, 06:46 PM #24
little_legz
SleepinIsCheatin
Thanks I'm going to try decompress my patch :love:
09-17-2010, 10:43 PM #25
dm430
I defeated!
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
__________________


Nice find buddyHappy
09-17-2010, 11:43 PM #26
Originally posted by iiPwnNubs View Post
wait. so if you properly edit the patch. will it work if you upload with the proxy?

This is not pkg, it is ff (fastfile), meaning you have to have jailbreak to do it properly...

jbaile17
09-18-2010, 12:00 AM #27
BuC-ShoTz
TeamMvKâ?¢
seems like you left some parts out
there is a much easier way
09-18-2010, 12:05 AM #28
.Say Hi.
Rep is so 2010
Originally posted by BucN View Post
seems like you left some parts out
there is a much easier way


Can you help me. Smile

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo