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, 11:38 PM #47
PS3LUV3R
Too Beast
Originally posted by Tzee View Post
i cant be 100% but i think you copy the header from the uncompressed _missions.gsc(the header is just 78 DA) and paste it into a new HxD file. then you inject the _missons.gsc into that file with 0x00000002 so that it doesnt overwrite the headder. and then compare the old compressed to the 1 you just made and it should be the same unless you eddited the _missions.gsc. there is also a part at the end you will have to put in.


What's the part at the end? And yea I added one thing, so maybe a little bit different file size? Let me try.
09-18-2010, 11:41 PM #48
Tzee
Grunt
Originally posted by PS3LUV3R View Post
What's the part at the end? And yea I added one thing, so maybe a little bit different file size? Let me try.


at the end you add
    ÿÿÿÿ...Û..=çÿÿÿÿ

if its bigger than before open up the decompressed _missions up in notepad and look for some //
just delete those lines and recompress. it should be pretty good then.then if you delete tomuch jsut add a few bytes.
09-18-2010, 11:43 PM #49
PS3LUV3R
Too Beast
****, it still says permission denied...? So when recompressing, I type in "-o 0x00000002 -w -15" drag in the missions.gsc with the 78DA zlib header, drag in empty folder, hit enter. Isn't that correct? It always gives me the same error.
09-18-2010, 11:52 PM #50
Tzee
Grunt
Originally posted by PS3LUV3R View Post
****, it still says permission denied...? So when recompressing, I type in "-o 0x00000002 -w -15" drag in the missions.gsc with the 78DA zlib header, drag in empty folder, hit enter. Isn't that correct? It always gives me the same error.


not sure if you are but dont add the header to the decompiled .gsc, add it to a new file. all tht file will have in it is 78 DA. then you inject the decompiled .gsc into that one and it should look similar to the original one. i jsut managed to not get a blackscreen so im going to try and add some codes into it and ill post a tutuorial on it if im successful.
09-18-2010, 11:54 PM #51
EliteMossy
TheDigitalBoard.com
everyone fails at this. I did it first time, and it loaded on my ps3.

No black screens or errors.

Why do people struggle.
09-18-2010, 11:56 PM #52
Ritztro
I am a Game Developer
Originally posted by DaOneMoss View Post
everyone fails at this. I did it first time, and it loaded on my ps3.

No black screens or errors.

Why do people struggle.


TUT please lol I found a different patch and thats how I made lobbies.
09-18-2010, 11:58 PM #53
EliteMossy
TheDigitalBoard.com
It really is simple.

Offzip without the -1

Use FFViewer to view the XBOX patch, and use the file in the output directory of FFViewer

Merge it in

then Packzip Winky Winky

Simples eh? Smile
09-19-2010, 12:00 AM #54
PS3LUV3R
Too Beast
Originally posted by DaOneMoss View Post
It really is simple.

Offzip without the -1

Use FFViewer to view the XBOX patch, and use the file in the output directory of FFViewer

Merge it in

then Packzip Winky Winky

Simples eh? Smile


Well I'm not trying to copy an Xbox patch into a PS3 patch.

And packzip, whats the correct command to compress? It doesn't work for me.
09-19-2010, 12:02 AM #55
Ritztro
I am a Game Developer
Originally posted by DaOneMoss View Post
It really is simple.

Offzip without the -1

Use FFViewer to view the XBOX patch, and use the file in the output directory of FFViewer

Merge it in

then Packzip Winky Winky

Simples eh? Smile


I am stuck on the ff viewer and merge it in..

The following user thanked Ritztro for this useful post:

PS3LUV3R

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo