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!!



Last edited by Tupac17 ; 12-28-2010 at 02:14 AM.

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
12-13-2010, 12:59 AM #20
jkry_2_1_
Call Me The CodFather
dude i cannot get this to work $5 paypal for u to teamviewer me and u decompress a patch (fully btw so i can add in you doheart code) and then recompress once im done.
12-13-2010, 01:09 AM #21
Moto Cross
Auction King
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 length 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!!






How I COMPRESS the weapons

---------- Post added at 08:09 PM ---------- Previous post was at 08:09 PM ----------

Originally posted by Tupac17 View Post
This tutorial






How I COMPRESS the weapons
12-15-2010, 12:08 AM #22
Originally posted by 95 View Post
Hey, could I have some help, I've coded my rank.gsc and I need help compressing it, I've decomp'ed the file fine and got all my offsets right, however when I go to re compress the files back into the patch_mp, only 000295f3 compresses, meaning I only have 61 files in the patch_mp, resulting in black screen.
If you want I can upload the files, its just odd, because it works with one file and not the other....


I am having the exact same problem. I follow the tutorial perfectly and all i manage to get is a black screen.

---------- Post added at 10:48 PM ---------- Previous post was at 10:01 PM ----------

What would the dos line be to re compress 00030783.dat into patch_mp.ff. Just thinking of possible idea because no one seems to be getting this to work.

---------- Post added 12-15-2010 at 12:08 AM ---------- Previous post was 12-14-2010 at 10:48 PM ----------

This doesnt work. I have tried with windows 7 and windows xp. All i added was a simple welcome message and still i get the black screen. There is something wrong with the tutorial

The following user thanked Grandad Trotter for this useful post:

12-15-2010, 11:14 AM #23
Default Avatar
Gizmo
Guest
Originally posted by Grandad
I am having the exact same problem. I follow the tutorial perfectly and all i manage to get is a black screen.

---------- Post added at 10:48 PM ---------- Previous post was at 10:01 PM ----------

What would the dos line be to re compress 00030783.dat into patch_mp.ff. Just thinking of possible idea because no one seems to be getting this to work.

---------- Post added 12-15-2010 at 12:08 AM ---------- Previous post was 12-14-2010 at 10:48 PM ----------

This doesnt work. I have tried with windows 7 and windows xp. All i added was a simple welcome message and still i get the black screen. There is something wrong with the tutorial



Its the file size, repack it, then unpack it, look at the code, it gets mixed up with class.gsc and dom.gsc, somethings not right with this tut, i suggest looking into BuCn's method of conversion, might be of help Winky Winky
Ive moved onto WaW, cause i got pissed at repacking :p , but like i said in PM, ill upload me whole rank.gsc if you want it Smile

The following user thanked Gizmo for this useful post:

Grandad Trotter
12-15-2010, 09:21 PM #24
TRBZA
Vault dweller
Yeah im having the same problem as GIZMO and Grandad Trotter this tut is missing something Not Happy or Sad

The following 2 users say thank you to TRBZA for this useful post:

|ManiaC|, Grandad Trotter
12-17-2010, 08:19 PM #25
z AppLe o
Do a barrel roll!
hey wtf i get black screen???????
12-17-2010, 08:32 PM #26
Tupac17
I ♥ COD4
Originally posted by z
hey wtf i get black screen???????


Originally posted by IIxAaRoN
Yeah im having the same problem as GIZMO and Grandad Trotter this tut is missing something Not Happy or Sad

Originally posted by Grandad
I am having the exact same problem. I follow the tutorial perfectly and all i manage to get is a black screen.

---------- Post added at 10:48 PM ---------- Previous post was at 10:01 PM ----------

What would the dos line be to re compress 00030783.dat into patch_mp.ff. Just thinking of possible idea because no one seems to be getting this to work.

---------- Post added 12-15-2010 at 12:08 AM ---------- Previous post was 12-14-2010 at 10:48 PM ----------

This doesnt work. I have tried with windows 7 and windows xp. All i added was a simple welcome message and still i get the black screen. There is something wrong with the tutorial

i messed up in step 49 i said to put 1a9b in length instead of in end... yall should have caught that tho because that would erase the ff ff ff ff at the end which you must have
Last edited by Tupac17 ; 12-17-2010 at 08:36 PM.
12-17-2010, 08:41 PM #27
Kif
Kush Friendly
thanks. worked
12-17-2010, 08:46 PM #28
beryce
Goal 500 Posts!
i cant find the 0002cbc file

Copyright © 2025, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo