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, 02:30 PM #56
Geeqoh
Be the change you want to see in the world.
Originally posted by Swavely View Post
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???

That is the problem, Control + E not G and the first box D7D2 and the second FFFF it will highlight some of the file make sure the Lenght is 282E if you don't understand don't do it.
Last edited by Geeqoh ; 12-19-2010 at 02:34 PM.
12-19-2010, 02:34 PM #57
Swavely
Got XBL- Add SwavelyHD
Originally posted by Xavex View Post
That is the problem, Control + E not G


do i put in D7D2 or something else???
12-19-2010, 02:35 PM #58
Geeqoh
Be the change you want to see in the world.
Originally posted by Swavely View Post
do i put in D7D2 or something else???


Read above OMG its not difficult.
12-19-2010, 02:42 PM #59
Swavely
Got XBL- Add SwavelyHD
Originally posted by Xavex View Post
Read above OMG its not difficult.


Sorry i didn't see that quote message yeah i did that and i still got the black screen
12-19-2010, 02:44 PM #60
Geeqoh
Be the change you want to see in the world.
Originally posted by Swavely View Post
Sorry i didn't see that quote message yeah i did that and i still got the black screen

/facepalm PM me and tell me what do you want i will do it for very little vbux
12-19-2010, 02:45 PM #61
xRaW
xI2aW-
Do you want me 2 edit 4 you?
12-19-2010, 02:54 PM #62
Swavely
Got XBL- Add SwavelyHD
Originally posted by Xavex View Post
/facepalm PM me and tell me what do you want i will do it for very little vbux


Its ok i was just trying to learn how to edit/make patches all i was doing was adding people to cohosts

---------- Post added at 10:54 AM ---------- Previous post was at 10:51 AM ----------

Originally posted by xI2aW
Do you want me 2 edit 4 you?


if you want you can finish this one up for me but its in xbox format You must login or register to view this content.
12-19-2010, 02:56 PM #63
xRaW
xI2aW-
Originally posted by Swavely View Post
Its ok i was just trying to learn how to edit/make patches all i was doing was adding people to cohosts

---------- Post added at 10:54 AM ---------- Previous post was at 10:51 AM ----------



if you want you can finish this one up for me but its in xbox format You must login or register to view this content.


giv me one in ps3 format n i will
12-19-2010, 02:57 PM #64
Swavely
Got XBL- Add SwavelyHD
Originally posted by xI2aW
giv me one in ps3 format n i will


Thats the problem im having problems converter it but nvm

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo