Post: How to Decompress & Recompress patch_mp.ff
12-18-2010, 12:13 PM #1
Geeqoh
Be the change you want to see in the world.
(adsbygoogle = window.adsbygoogle || []).push({}); First of all thanks to AlabamaHit for the explain, we are going to edit Mossy's v8.

I WILL NOT HELP WITH YOUR BLACKSCREENS AND IM NOT GONNA EDIT UR PATCHES!

You have to download this pack:
You must login or register to view this content.
HxSad Awesome
You must login or register to view this content.
Notepad++:
You must login or register to view this content.

Ok now unpack the download above, you should see a folder called pack get that folder to the desktop.
Now in command prompt type in
    cd desktop/pack

You must login or register to view this content.
Yes, we are in the right directory and ready to get started!Dancing

Now we need to unpack the patch_mp.ff, go back to the cmd and type:
    offzip -a -z -15 patch_mp.ff ./ 0

Your "pack" folder will look like this.

You must login or register to view this content.


Delete all files except for the following

0000b4a0.dat
00014f51.dat
offzip.exe
packzip.exe
patch_mp.ff

Your folder should now look like this:

You must login or register to view this content.

Now it is decompressed but we have to decompress 1 more time to edit.

First we need to get the missions which is in 2 parts, Open both 0000b4a0.dat and 00014f51.dat in HxD.

In the 0000b4a0.dat file
Press:
    Control + E

then enter these offsets:
    Start Offset: D7D2 
End Offset: FFFF

Now Just Enter, will look like this

You must login or register to view this content.

Now press:

    Control + C


Then:
    Control + N


Then:
    Control + V


Should look like this:
You must login or register to view this content.


Now go to the 00014f51.dat.

Press:
    Control + E


Then

    Length: 61D


ALWAYS MAKE SURE YOU ARE AT THE TOP

Now Enter again...

It will look like this:

You must login or register to view this content.

Now Press

    Control + C


Go over to the New file you made. Paste this at the end, you will see the FF FF FF FF at the bottom.

You must login or register to view this content.


Now just press
    Control + S

Name it as _missions_comp.gsc
Save it to pack folder!

Now the missions are all in one file :bro:

Now we have to decompress _missions_comp.gsc, go to cmd and type:
    offzip -a -z -15 _missions_comp.gsc ./ 0


You must login or register to view this content.

Open the 00000002.dat w/ Notepad++

Now we can just edit :carling:

We are going to change Cohosts, go to line 49

You must login or register to view this content.

And just change the names for your friends names.
Now press
    Ctrl + S


Now we have to recompress missions back in, go to HxD and make a new file
    Ctrl + N

and Save as _missions_recomp.gsc


Go back to the cmd and type:
    packzip -o 0x00000002 -w -15 00000002.dat _missions_recomp.gsc


You must login or register to view this content.

Now open the _missions_comp.gsc and _missions_recomp.gsc In HxD. We have to do the header... the most difficult part :carling:

In _missions_recomp.gsc The first Numbers are:
    00 00

Just Change that to 78 DA

You must login or register to view this content.

Now the header is done! (really difficult) lets go to the footer
In _mission_recomp.gsc Go right to the bottom and click on the LAST offset and take note of what it is...

You must login or register to view this content.

Mine is 222A yours may will be different.

Now, go to the _missions_comp.gsc in you hex editor.

Press
    Control + G

Enter the offset showed in missions_recomp (In my case 222A your will be different)
Then press ENTER.
Now highlight all from there down to the bottom (shown below)

You must login or register to view this content.

Copy what you just highlighted by pressing
    Control + C

Then go back to your _missions_recomp.gsc and Paste it at the end. Make sure your cursor is at the END

You must login or register to view this content.

If it shows 2E4B its good

Notice the FF FF FF FF at the very end (bottom) again highlight all that you just pasted (except the FF's)
Now, right click in the highlighted area and select Fill Selection then click on OK, you will notice that all the area you highlighted is now 00's this is what we want.


Now Just press:
    Ctrl + S


Open this files in HxD

0000b4a0.dat
00014f51.dat
_missions_recomp.gsc

We are going to put back the missions.gsc back up into the 2 files they started in.

First lets go to 0000b4a0.dat

Enter the offset from earlier

    Control + E


    Start offset: D7D2 
End offset: FFFF


Now it will highlight all the area between those offsets giving you the length 282E.

You must login or register to view this content.

Now go back to the _missions_recomp.gsc
Press
    Control+E

and type 282E in Length then just Enter.

You must login or register to view this content.

Now copy that
    Control + C

and paste INTO b4a0 !!!!
    Control + B

Yes CONTROL+B not CONTROL+V

You must login or register to view this content.

Now the size of the file needs to be sorted out,
Press
    Control+G 

and the offset is
    D7AA

You will be in front of a 00
I am infront of 00 AA B7 That is the file size.

You must login or register to view this content.

Now go to your pack folder and right click on the 00000002.dat and go to properties. Also open your calculator in windows. YOU must configure the calculator as Programmer.
And then enter the size of the 00000002.dat file (bytes) into the calculator (NOT THE DISK FILE SIZE)

You must login or register to view this content.

now change the calculator from "Dec" to "Hex"

That is our HEX!

You must login or register to view this content.

Now go back to HxD and to where we highlighed that offsets.
In my case its 00 00 AA B6

You must login or register to view this content.

Now just press
    Control + S


Now go to 00014f51.dat in HxD and press
    Control+E

Then
    Length: 61D


Now go back to your _missions_recomp.gsc and copy the rest of the file from the end down.

You must login or register to view this content.
It will look like this:
You must login or register to view this content.

Then Press Control+C then go back to your 00014f51.dat, remember us highlighting that before.
Press:
    Control+B


You must login or register to view this content.

And now just
    Control + S


Now close HxD and open cmd.

Enter this to pack it back into patch_mp.ff

    packzip -o 0x0000b4a0 -w -15 0000b4a0.dat patch_mp.ff


You must login or register to view this content.

Then

    packzip -o 0x00014f51 -w -15 00014f51.dat patch_mp.ff


You must login or register to view this content.

Now the missions are back in!!! you are ready to upload to PS3!

[multipage=VideoTutorial by xPwn]

Make sure you thank his post here!

You must login or register to view this content.




[ame]https://www.youtube.com/watch?v=-jwGq4-S1gw[/ame]

GSC Offsets:
You must login or register to view this content.

Finnished Patch File:
You must login or register to view this content.

Commands:

    cd desktop/ "the folder name"

    offzip -a -z -15 patch_mp.ff ./ 0

    offzip -a -z -15 _"the gsc name"_comp.gsc ./ 0

    packzip -o 0x00000002 -w -15 00000002.dat _"the gsc name"_recomp.gsc

    packzip -0 0x"The file that contains the gsc your editing" -w -15 "The file that contains the gsc you're editing".dat patch_mp.ff


[multipage=Credits and Thanks]

AlabamaHit - For his old and useful tutorial
xPwn - For the Vid
Elitemossy - For his beast patch
Me - For writing and put images in
Last edited by Geeqoh ; 01-31-2013 at 08:20 PM.

The following 43 users say thank you to Geeqoh for this useful post:

*SCHAOS*, Okami, |ManiaC|, arab707, Assassin, bertieboy7, beryce, Choco, CleanMODSHD, crazy_blake7, Dazpowder, egoDream, Elementt, emmanuel92, FaTbOyOnAbiKe, Fifa97, Frank1721, gouglino, Grandad Trotter, Greenbolt111, JJHarris4, jkry_2_1_, keithfin, Kill_tony485, JokerRey, MaKaRoFF, marvin1554*, Maty360414, Morphia, Mr Hankey, qwerew, RADDY1993, Shaarpy, sharky1, ShoutBox, soebred, Solid Snake, TONEY777, ViiZiiKz, xMySTiFy, xRaW, you owns
12-18-2010, 03:42 PM #29
Geeqoh
Be the change you want to see in the world.
Originally posted by Hawkthenight View Post
no hes not, i followed the tutorial EXACTLY and im getting bad syntax. Offsets are different for v8. thats why


The offsets for the missions are that you do something wrong you removed something, because i edited this.

EDIT: You can see an example here just change region it works... You must login or register to view this content.
Last edited by Geeqoh ; 12-18-2010 at 03:47 PM.
12-18-2010, 03:56 PM #30
xRaW
xI2aW-
Originally posted by Xavex View Post
The offsets for the missions are that you do something wrong you removed something, because i edited this.

EDIT: You can see an example here just change region it works... You must login or register to view this content.


is this the one i sent you? also wat region is 00683 in the e Hex's i dont want to get it wrong
12-18-2010, 07:40 PM #31
Geeqoh
Be the change you want to see in the world.
Originally posted by xI2aW
is this the one i sent you? also wat region is 00683 in the e Hex's i dont want to get it wrong


No its mine, and your patch doesn't have the BLES00687 region code, IDK but most of the patches have that region so search a BLES00687 patch
12-18-2010, 08:11 PM #32
xRaW
xI2aW-
Originally posted by Xavex View Post
No its mine, and your patch doesn't have the BLES00687 region code, IDK but most of the patches have that region so search a BLES00687 patch


How much will u Charge for unlimited patch edits? wen i say unlimited i will only need a few
12-18-2010, 08:12 PM #33
Geeqoh
Be the change you want to see in the world.
Originally posted by xI2aW
How much will u Charge for unlimited patch edits? wen i say unlimited i will only need a few

I Do not edit patches to others Smile
12-18-2010, 08:14 PM #34
xRaW
xI2aW-
ok fair enough ill go somewhere else
12-18-2010, 08:45 PM #35
CleanMODSHD
Who’s Jim Erased?
SmileThanks it worked for me Smile
12-18-2010, 11:06 PM #36
xRaW
xI2aW-
Originally posted by Xavex View Post
Is editing Mossy v8 that is the only different thing, the blackscreen comes when u edit a xbox patch with this method or when the region is different. Smile
Also the images are mine.


right i know where i went wrong last time

It was when you have to copy the rest of the file so it is 10000 each i accidentaly copied the whole lot lol so would you try my new one out you will have to change region i dont want to **** it up for you

You must login or register to view this content.

+rep for your hard work
12-18-2010, 11:20 PM #37
Geeqoh
Be the change you want to see in the world.
Originally posted by xI2aW
right i know where i went wrong last time

It was when you have to copy the rest of the file so it is 10000 each i accidentaly copied the whole lot lol so would you try my new one out you will have to change region i dont want to **** it up for you

You must login or register to view this content.

+rep for your hard work


Congratz, it works.

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo