Post: (DETAILED) Making your own CFG patch without .FF Viewer
03-19-2011, 03:35 AM #1
Choco
Respect my authoritah!!
(adsbygoogle = window.adsbygoogle || []).push({}); First off, thanks to AlabamaHit for posting the original tutorial on how to manually decompress and decompress. Without that thread, this wouldn't be possible right now.

Also, thanks to blackstorm for the patch.

YOU WILL NEED HxD FOR THIS.

First off, download this file: You must login or register to view this content.

Now, extract it to your desktop. Go to run and type:

    cmd


Now press enter. It should bring up command prompt. Then type:

    cd desktop\pack


And press enter.

Now you in the right directory to get started.

In the command prompt, type:

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


You will see all kinds of stuff running through the CMD prompt.

Once it's done, open your pack folder again. You should see tons of .dat files in there. Delete everything in that folder except:

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


Now we have the files we need.

Open the 0000b4a0.dat file in HxD hex editor. Press Control+E and type the following:

    
Start Offset: C33F
End Offset: D3E9


And press enter. It will highlight a lot of stuff.

Press Control+C, Control+N, then Control+V. Now press Control+S, and save the file as:
    _events_comp.gsc


Now you can close HxD and go back to CMD Prompt.

In CMD prompt, type:

    offzip -a -z -15 _events_comp.gsc ./ 0


You should see a little bit of stuff come up.

Now go back to your pack folder. There should be a file in there called 00000002.dat. Right click it and open it with Notepad.

Now you should see the raw code for Blackstorm's CFG patch. You now have the option to either delete it and write your own code, or delete the existing code and replace it with your own. I'll leave this for you guys to play around with. Once you're done editing, save the changes.

Now go to CMD Prompt again and type:

    packzip -o 0x00000002 -w -15 00000002.dat _events_recomp.gsc


Then press enter. Go to your pack folder, and you will see _events_recomp.gsc in the folder.

Now you need to open _events_comp.gsc and _events_recomp.gsc with HxD.

At the top of _events_recomp.gsc, you will notice the first 2 offsets are:
    00 00


Change that to:
    78 DA


Now go to the very bottom of _events_recomp.gsc and click after the very last offset. Note in the bottom what it says the offset is (For example, B3C or something).

Now go to _events_comp.gsc and press Control+G. Enter the offset from the bottom of _events_recomp.gsc. It will put you in front of a random offset. Highlight everything from there down, and press Control+C. Go back to the end of your _events_recomp.gsc and paste it there. MAKE SURE IT IS AT THE VERY END.

Alright, now you should have a bunch of red offsets at the end of the file. Notice the last four:
    FF FF FF FF


Now highlight all of the red offsets except those 4 FF's at the end. Once you have them all highlighted, right click on them and hit "Fill Selection". Fill the whole thing with 00's. Then save the file.

Now you can close your _events_comp.gsc in HxD.

Open the 0000b4a0.dat in HxD. Press Control+E and type:
    Start Offset: C33F
End Offset: D3E9


And press enter. It will highlight a lot of stuff, leave it highlighted.

Go back to your _events_recomp.gsc and highlight the whole file. Press Control+C.

Now go back again to your 0000b4a0.dat. Press Control+B and it should paste the code from your _events_recomp.gsc into the 0000b4a0.dat.

Now all we need to do is fix the filesize.

In the 0000b4a0.dat, press Control+G. For the offset, type:
    C323


Highlight the next four offsets. In your pack folder, right click on the 00000002.dat and view it's properties. It should display the "size" of the file in bytes.

Get that size number, then open your Calculator. Change the view to "Programmer". Click "Dec", then enter the filesize in the calculator. Now, just click "Hex". The number in the calculator will change. That is the hex value we need Smile

Take that hex value and enter it in those 4 offsets we highlighted (Example: if your Hex was B465, the 4 offsets would read 00 00 B4 65). Now press Control+S.

Now the final step: Go back to your CMD Prompt. Type:

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


Now press Enter.

You have just packed your 0000b4a0.dat back into your patch Cool Man (aka Tustin)

Now just upload it to your PS3 and test it out.



Once again, thanks a million to AlabamaHit for that original tut. Link to his thread here: You must login or register to view this content.

Enjoy guys, It took me forever to write this so Thanks would be appreciated Winky Winky
(adsbygoogle = window.adsbygoogle || []).push({});

The following 5 users say thank you to Choco for this useful post:

CaNDy-FuZioNZz, gamer89117, jrlop99, SALOOTME, tylerallmighty
03-20-2011, 11:33 AM #11
Merkii
Former Staff
This is just the same as Albama's tut?
03-20-2011, 12:38 PM #12
When I put in CMD oofzip -a -z -15 _events_comp.gsc I have an error: No such File or directory? WHAT?

In the tut there is a mistake.. You have to use ''offzip -a -z -15 events_comp.gsc ./ 0''
03-20-2011, 01:41 PM #13
Choco
Respect my authoritah!!
Originally posted by xCristian View Post
When I put in CMD oofzip -a -z -15 _events_comp.gsc I have an error: No such File or directory? WHAT?

In the tut there is a mistake.. You have to use ''offzip -a -z -15 events_comp.gsc ./ 0''


Thank you, I'll fix that.

Originally posted by xMerkii View Post
This is just the same as Albama's tut?


Not really, it's got different offsets and files to mess with, and I gave Alabama full credit in the post.
03-20-2011, 06:33 PM #14
drsk8
Haxor!
guys it aint that hard to use just open cmd and a hex editor and follow the tut i used the old way on 1.11 to edit hide and seek on mossys patch
03-21-2011, 06:24 PM #15
Originally posted by chocomonkey321 View Post
First off, thanks to AlabamaHit for posting the original tutorial on how to manually decompress and decompress. Without that thread, this wouldn't be possible right now.

Also, thanks to blackstorm for the patch.

YOU WILL NEED HxD FOR THIS.

First off, download this file: You must login or register to view this content.

Now, extract it to your desktop. Go to run and type:

    cmd


Now press enter. It should bring up command prompt. Then type:

    cd desktop\pack


And press enter.

Now you in the right directory to get started.

In the command prompt, type:

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


You will see all kinds of stuff running through the CMD prompt.

Once it's done, open your pack folder again. You should see tons of .dat files in there. Delete everything in that folder except:

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


Now we have the files we need.

Open the 0000b4a0.dat file in HxD hex editor. Press Control+E and type the following:

    
Start Offset: C33F
End Offset: D3E9


And press enter. It will highlight a lot of stuff.

Press Control+C, Control+N, then Control+V. Now press Control+S, and save the file as:
    _events_comp.gsc


Now you can close HxD and go back to CMD Prompt.

In CMD prompt, type:

    offzip -a -z -15 _events_comp.gsc ./ 0


You should see a little bit of stuff come up.

Now go back to your pack folder. There should be a file in there called 00000002.dat. Right click it and open it with Notepad.

Now you should see the raw code for Blackstorm's CFG patch. You now have the option to either delete it and write your own code, or delete the existing code and replace it with your own. I'll leave this for you guys to play around with. Once you're done editing, save the changes.

Now go to CMD Prompt again and type:

    packzip -o 0x00000002 -w -15 00000002.dat _events_recomp.gsc


Then press enter. Go to your pack folder, and you will see _events_recomp.gsc in the folder.

Now you need to open _events_comp.gsc and _events_recomp.gsc with HxD.

At the top of _events_recomp.gsc, you will notice the first 2 offsets are:
    00 00


Change that to:
    78 DA


Now go to the very bottom of _events_recomp.gsc and click after the very last offset. Note in the bottom what it says the offset is (For example, B3C or something).

Now go to _events_comp.gsc and press Control+G. Enter the offset from the bottom of _events_recomp.gsc. It will put you in front of a random offset. Highlight everything from there down, and press Control+C. Go back to the end of your _events_recomp.gsc and paste it there. MAKE SURE IT IS AT THE VERY END.

Alright, now you should have a bunch of red offsets at the end of the file. Notice the last four:
    FF FF FF FF


Now highlight all of the red offsets except those 4 FF's at the end. Once you have them all highlighted, right click on them and hit "Fill Selection". Fill the whole thing with 00's. Then save the file.

Now you can close your _events_comp.gsc in HxD.

Open the 0000b4a0.dat in HxD. Press Control+E and type:
    Start Offset: C33F
End Offset: D3E9


And press enter. It will highlight a lot of stuff, leave it highlighted.

Go back to your _events_recomp.gsc and highlight the whole file. Press Control+C.

Now go back again to your 0000b4a0.dat. Press Control+B and it should paste the code from your _events_recomp.gsc into the 0000b4a0.dat.

Now all we need to do is fix the filesize.

In the 0000b4a0.dat, press Control+G. For the offset, type:
    C323


Highlight the next four offsets. In your pack folder, right click on the 00000002.dat and view it's properties. It should display the "size" of the file in bytes.

Get that size number, then open your Calculator. Change the view to "Programmer". Click "Dec", then enter the filesize in the calculator. Now, just click "Hex". The number in the calculator will change. That is the hex value we need Smile

Take that hex value and enter it in those 4 offsets we highlighted (Example: if your Hex was B465, the 4 offsets would read 00 00 B4 65). Now press Control+S.

Now the final step: Go back to your CMD Prompt. Type:

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


Now press Enter.

You have just packed your 0000b4a0.dat back into your patch Cool Man (aka Tustin)

Now just upload it to your PS3 and test it out.



Once again, thanks a million to AlabamaHit for that original tut. Link to his thread here: You must login or register to view this content.

Enjoy guys, It took me forever to write this so Thanks would be appreciated Winky Winky


When I recompress 1 .dat is 13 KB.. Did I make a mistake in recomp?
03-21-2011, 10:46 PM #16
How do you edit with having to decompress then compresS?
03-22-2011, 01:36 AM #17
Choco
Respect my authoritah!!
Originally posted by xCristian View Post
When I recompress 1 .dat is 13 KB.. Did I make a mistake in recomp?


No, if you do it right the final patch size should be 227 KB :y:
03-22-2011, 02:23 AM #18
BriceC
Computer Programmer
Originally posted by Blackstorm View Post
Um I'm pretty sure the renaming of GSC's and compressing using packzip results in a black screen.


I found the link Smile

---------- Post added at 09:23 PM ---------- Previous post was at 09:21 PM ----------

Originally posted by chocomonkey321 View Post
No, if you do it right the final patch size should be 227 KB :y:


Wat is your sig? It's not the keys.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo