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-19-2010, 10:47 AM #47
xRaW
xI2aW-
Originally posted by Hunter2One View Post
I also get the black screen :/ I've tried this so many times, I've tried different tutorials but none seem to work, I must be doing something wrong. I only changed the co host and followed everything exactly... It's not the region...


Right i had this problem to. After 100 trials and errors i got it correct. It is very easy and simple. The Mistake i was doing is ... When you need to split the _mission_recomp.gsc file into 10000 longitude each you will have to do the 1st highlighted bit with no trouble. The second one is the annoying one. All you need to do is highlight everything that isnt highlighted So the file is now split the Ctrl + B over 00014f51
12-19-2010, 10:55 AM #48
i Love You :muck:
12-19-2010, 11:59 AM #49
Geeqoh
Be the change you want to see in the world.
I don't know why are you getting blackscreen... i edited normally and it works for me i translated all the patch and it works, you are probably doing something wrong. I tried some BLUS Patches and when i try to convert to BLES blackscreen comes... you have BLUS?
12-19-2010, 12:02 PM #50
xRaW
xI2aW-
Originally posted by Xavex View Post
I don't know why are you getting blackscreen... i edited normally and it works for me i translated all the patch and it works, you are probably doing something wrong. I tried some BLUS Patches and when i try to convert to BLES blackscreen comes... you have BLUS?


this is because they are doing it wrong you know i had trouble's because i rushed the Tut. if you want success take your time
12-19-2010, 12:05 PM #51
Geeqoh
Be the change you want to see in the world.
Corrected image 13, i forgot that image.
12-19-2010, 02:05 PM #52
Swavely
Got XBL- Add SwavelyHD
Originally posted by xI2aW
this is because they are doing it wrong you know i had trouble's because i rushed the Tut. if you want success take your time


I toke my time i didnt rush it or anything but i did add a extra cohost line maybe thats why???
12-19-2010, 02:09 PM #53
xRaW
xI2aW-
yh maybe make sure that it exactly da same spaces as other Co-H
12-19-2010, 02:11 PM #54
Geeqoh
Be the change you want to see in the world.
Originally posted by Swavely View Post
I toke my time i didnt rush it or anything but i did add a extra cohost line maybe thats why???

I don't think so, its a problem of recompressing.
12-19-2010, 02:20 PM #55
Swavely
Got XBL- Add SwavelyHD
Originally posted by Xavex View Post
I don't think so, its a problem of recompressing.


But at the one part "Enter the offset from earlier
Code:

Start offset: D7D2
End offset: FFFF"

I press ctrl+G or e and i put d7d2 in for my offset to or i put the one in that we get different???

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo