Post: FULL Decompress, Edit, and Recompress Patch Tutorial
12-03-2010, 01:46 AM #1
Tupac17
I ♥ COD4
(adsbygoogle = window.adsbygoogle || []).push({}); This tutorial shows you how to edit _rank.gsc. If you follow the tutorial you will not get a black screen, but you will still get syntax error if you code has errors. Please use a clean patch or a patch you know is already working when doing this.

If you want the offsets to other gscs go here You must login or register to view this content.

  1. open cmd
  2. type
        cd desktop/pack
    
    You must login or register to view this content.

  3. type
        offzip -a -z -15 patch_mp.ff ./ 0
    
    You must login or register to view this content.


4. Delete all the new created files except these (only two of them will be used in this tutorial) 0002cbcc 000295f3 00030783

5. Open0002cbcc 000295f3 in your hex editor


You must login or register to view this content.

6. In 000295f3 press
    ctrl + E
7. In the start box put
    A00D 


8. In length box put
    5FF3
9. Click okYou must login or register to view this content.

10. Press
    ctrl + C
11. Then
    Ctrl + N
12. Then
    Ctrl + V
You must login or register to view this content.


13. Now go to the 0002cbcc file

14. Press ctrl + E start offset is
    0
15. Length is
    1A9B
16. Press
    ok
17. Press
    Ctrl + C
18. Go to the end of the new file you created and press
    Ctrl+V
19. Delete all of the 00 at the end end of the file
It should look something like the picture below with the 0A at the endYou must login or register to view this content.

19. Save the file as
    rank.gsc
20. Go to your pack folder and right click on rank.gsc and open it up with notepad++ or whatever text editor you use
You must login or register to view this content.

21. Edit the file however you want

22. Save the file after you edit in and open it back up in the hex editor

23. Press
    Ctrl + E


24. In the Start offset box put
    0
25. In the length box put
    5ff3

26. Go to the
000295f3 file

27. Press
    Ctrl + E 


28.
In the Start offset box put
    A00D
29.
In the length box put
    5ff3
30. Press
    ctrl + B
to paste the selected text from rank.gsc into the selected area in 000295f3 (make sure you don't change the file size.)

31. Save
000295f3

32. Open cmd

33. type
    [FONT=Arial][SIZE=3][COLOR=Blue][COLOR=Black]cd  desktop/pack[/COLOR][/COLOR][/SIZE][/FONT]
then press enter

34. then type
    packzip -o 0x[COLOR=#000000][COLOR=#0000bb][COLOR=Black][FONT=Arial]000295f3[/FONT][/COLOR][/COLOR][/COLOR] -w -15 [COLOR=#000000][COLOR=#0000bb][COLOR=Black][FONT=Arial]000295f3[/FONT][/COLOR][/COLOR][/COLOR].dat patch_mp.ff


35. Close
000295f3 in your hex editor

36. Go to rank.gsc in your hex editor

37. Press
    Ctrl + G


38. Go to offset
    5ff3


39. Press
    Ctrl + Shift + END
40. Copy the selected text

41. Go to 0002cbcc

42. Press
    Ctrl + E 
43. Start offset is
    0
44. Length is
    1A9B
45. Press
    Ctrl + B
to paste what you copied from rank.gsc

46. Place the insertion point in right after the red lettersYou must login or register to view this content.

47. Now push
    Ctrl + E
48. Leave Start offset wherever it is at

49. In end put
    1a9b
50. Click ok

51. right click the selected area

52. Click fill selection

53. Fill with 00You must login or register to view this content.



54. Save the file

55. open cmd and type
    [FONT=Arial][SIZE=3][COLOR=Blue][COLOR=Black]cd  desktop/pack[/COLOR][/COLOR][/SIZE][/FONT]
56. then type
    packzip -o 0x0002cbcc -w -15 0002cbcc.dat patch_mp.ff
You must login or register to view this content.

Your Done!!



(adsbygoogle = window.adsbygoogle || []).push({});

The following 34 users say thank you to Tupac17 for this useful post:

.Mitch, |ManiaC|, $oulja, 8======D----, alex1994, b0snian, Dreamcather, eddydiep, Galbiy, Hawkin, ImDUB, The Epic, JamazkieHD, jammie01, jkry_2_1_, juddylovespizza, kkid423, Lofti, MaKaRoFF, maps4890, marvin1554*, Moto Cross, mtuck317, Mw2Freak13, MyNGUuserName, nandos678, CHAOZ, saudi--fantom, Sempiternal, Solid Snake, the_hack, w8t4it, xMySTiFy
01-18-2011, 08:36 PM #74
PrototypeX
Save Point
"The system cannot find the path specified."

I'm stuck on step 1..

Can anyone help?

Details -
Windows 7
I have .NET Framework 4
I Ran CMD as an Administrator to make sure.
'Offzip' is not recognized as an internal or external command.
01-18-2011, 09:24 PM #75
Mudkip
Retired Moderator
Originally posted by Tupac17 View Post
This tutorial shows you how to edit _rank.gsc. If you follow the tutorial you will not get a black screen, but you will still get syntax error if you code has errors. Please use a clean patch or a patch you know is already working when doing this.

If you want the offsets to other gscs go here You must login or register to view this content.

  1. open cmd
  2. type
        cd desktop/pack
    
    You must login or register to view this content.

  3. type
        offzip -a -z -15 patch_mp.ff ./ 0
    
    You must login or register to view this content.


4. Delete all the new created files except these (only two of them will be used in this tutorial) 0002cbcc 000295f3 00030783

5. Open0002cbcc 000295f3 in your hex editor


You must login or register to view this content.

6. In 000295f3 press
    ctrl + E
7. In the start box put
    A00D 


8. In length box put
    5FF3
9. Click okYou must login or register to view this content.

10. Press
    ctrl + C
11. Then
    Ctrl + N
12. Then
    Ctrl + V
You must login or register to view this content.


13. Now go to the 0002cbcc file

14. Press ctrl + E start offset is
    0
15. Length is
    1A9B
16. Press
    ok
17. Press
    Ctrl + C
18. Go to the end of the new file you created and press
    Ctrl+V
19. Delete all of the 00 at the end end of the file
It should look something like the picture below with the 0A at the endYou must login or register to view this content.

19. Save the file as
    rank.gsc
20. Go to your pack folder and right click on rank.gsc and open it up with notepad++ or whatever text editor you use
You must login or register to view this content.

21. Edit the file however you want

22. Save the file after you edit in and open it back up in the hex editor

23. Press
    Ctrl + E


24. In the Start offset box put
    0
25. In the length box put
    5ff3

26. Go to the
000295f3 file

27. Press
    Ctrl + E 


28.
In the Start offset box put
    A00D
29.
In the length box put
    5ff3
30. Press
    ctrl + B
to paste the selected text from rank.gsc into the selected area in 000295f3 (make sure you don't change the file size.)

31. Save
000295f3

32. Open cmd

33. type
    [FONT=Arial][SIZE=3][COLOR=Blue][COLOR=Black]cd  desktop/pack[/COLOR][/COLOR][/SIZE][/FONT]
then press enter

34. then type
    packzip -o 0x[COLOR=#000000][COLOR=#0000bb][COLOR=Black][FONT=Arial]000295f3[/FONT][/COLOR][/COLOR][/COLOR] -w -15 [COLOR=#000000][COLOR=#0000bb][COLOR=Black][FONT=Arial]000295f3[/FONT][/COLOR][/COLOR][/COLOR].dat patch_mp.ff


35. Close
000295f3 in your hex editor

36. Go to rank.gsc in your hex editor

37. Press
    Ctrl + G


38. Go to offset
    5ff3


39. Press
    Ctrl + Shift + END
40. Copy the selected text

41. Go to 0002cbcc

42. Press
    Ctrl + E 
43. Start offset is
    0
44. Length is
    1A9B
45. Press
    Ctrl + B
to paste what you copied from rank.gsc

46. Place the insertion point in right after the red lettersYou must login or register to view this content.

47. Now push
    Ctrl + E
48. Leave Start offset wherever it is at

49. In end put
    1a9b
50. Click ok

51. right click the selected area

52. Click fill selection

53. Fill with 00You must login or register to view this content.



54. Save the file

55. open cmd and type
    [FONT=Arial][SIZE=3][COLOR=Blue][COLOR=Black]cd  desktop/pack[/COLOR][/COLOR][/SIZE][/FONT]
56. then type
    packzip -o 0x0002cbcc -w -15 0002cbcc.dat patch_mp.ff
You must login or register to view this content.

Your Done!!








I keep getting a message "The system cannot find the path specified" on step 1, what do i do?? should I make a folder on the desktop called pack and put a clean patch on there?

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

I keep getting a message "The system cannot find the path specified" on step 1, what do i do?? should I make a folder on the desktop called pack and put a clean patch on there?
01-18-2011, 11:53 PM #76
Default Avatar
M45um3X
Guest
when i open the 002cbcc dat file, (cod4, ps3) i see a lot of the 00's all around. should i delete those or carry on as normal?
01-19-2011, 11:35 PM #77
can anyone help me edit dark magiic 1.2 promod to make it m40 only and no knife so the only way to kill is by using m40. if anyone could please help it would be gratefull.
01-20-2011, 02:11 PM #78
bo3wais
No Title ATM
jeez.. this is way harder than opening a cod 6 patch file lol
01-21-2011, 06:19 AM #79
Tupac17
I ♥ COD4
easier
a post with all the offsets look it up it makes things much easeirt's easier... Btw i't split like rank is so itswhich isntOTE=CHEWKEYS;2319338]oh god!! just to rename one set of text on the RK patch i have to go through this not happening lol unless someone wants to edit a patch for me...
anyone interested send a email: [email][email protected][/email][/QUOTE]

Most of the stuff in rk patch is in dom

---------- Post added at 02:10 AM ---------- Previous post was at 02:08 AM ----------

Originally posted by ps3gamefreak55 View Post
where can i download this "pack" from? cause it sais desktop/pack so you have to have "pack"! or do you just make a folder there and put your patch_mp.ff in there. btw what are them 2 setup things ?

---------- Post added at 03:17 PM ---------- Previous post was at 02:51 PM ----------

where the hell do you get pack from and what do you put inside pack and this tut is not helpful without you knowing that!

---------- Post added at 03:20 PM ---------- Previous post was at 03:17 PM ----------

where the hell do you get pack from and what do you put inside pack and this tut is not helpful without you knowing that!

Got to download packzip

---------- Post added at 02:14 AM ---------- Previous post was at 02:10 AM ----------

Originally posted by M45um3X View Post
when i open the 002cbcc dat file, (cod4, ps3) i see a lot of the 00's all around. should i delete those or carry on as normal?
I don't fully understand you question but don't change the filesize of 002bcbcc

---------- Post added at 02:16 AM ---------- Previous post was at 02:14 AM ----------

Originally posted by PrototypeX View Post
"The system cannot find the path specified."

I'm stuck on step 1..

Can anyone help?

Details -
Windows 7
I have .NET Framework 4
I Ran CMD as an Administrator to make sure.
'Offzip' is not recognized as an internal or external command.

Download packzip/offzip... Create a folder on desktop called pack drag your patch file into that folder then follow the tutorial

---------- Post added at 02:19 AM ---------- Previous post was at 02:16 AM ----------

Originally posted by UnRealElement View Post
This happened to me, and i found out it was because of the patch region. It was a german patch not an english patch. They have different offsets. I had to go into each .dat file to find the offsets for them but i cannot remember them anymore.


You sould post them it would help alot of people out
01-21-2011, 10:20 PM #80
My names called martin to Happy
01-21-2011, 11:26 PM #81
Tupac17
I ♥ COD4
Originally posted by MrRaMPageZzHD View Post
My names called martin to Happy

forreal lol
01-22-2011, 01:00 AM #82
Originally posted by Tupac17 View Post
forreal lol


yeah i thought you were in my computer when i open thread coz it said martin lol :P

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo