(adsbygoogle = window.adsbygoogle || []).push({});
This is a repost of an older thread I had, I decided to repost because this may help some people out.
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, you'll see all kinds of files there.
Find and 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 just edit the existing code. 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
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
Now just upload it to your PS3 and test it out
Once again, thanks a million to AlabamaHit for that original tut. Check out his thread (its stickied) if you want offsets for more gsc blocks.
Oh, if you decide to add more cfg's to your patch, you CAN rename a gsc in the patch. Just find the original gsc and overwrite it with your new name, remember they must be the same length!
Enjoy guys, hope this thread is helpful