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-21-2010, 11:43 PM #101
PS3LUV3R
Too Beast
Originally posted by JOSH View Post
Great thread as ever, glad you finally managed to work it out Smile


Too bad no one else has!

Tut isnt clear enough for compressing :(
09-22-2010, 05:33 AM #102
AlabamaHit
ROLL TIDE!!!
I actually now get this error when I'm compressing lol

"Error: Permission Denied"

And Yes. I'm running it as Admin. So it does have full permission lol
09-22-2010, 02:07 PM #103
tyti77178
Save Point
thanks a lot =)
09-23-2010, 05:13 AM #104
PS3LUV3R
Too Beast
Originally posted by AlabamaHit View Post
I actually now get this error when I'm compressing lol

"Error: Permission Denied"

And Yes. I'm running it as Admin. So it does have full permission lol


Haha I remember that error....forgot how I fixed it though :(
09-23-2010, 05:14 AM #105
AlabamaHit
ROLL TIDE!!!
Originally posted by PS3LUV3R View Post
Haha I remember that error....forgot how I fixed it though :(


I got past it. Had to add another file name to the end.
09-23-2010, 03:01 PM #106
baremo
Pokemon Trainer
Originally posted by AlabamaHit View Post
I actually now get this error when I'm compressing lol

"Error: Permission Denied"

And Yes. I'm running it as Admin. So it does have full permission lol


Are you sure you write in an empty folder ?

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo