Post: How to properly recompress .ff files ! (no blackscreen)
09-19-2010, 02:19 AM #1
Gendjisan
A.k.a. Bushigan
(adsbygoogle = window.adsbygoogle || []).push({}); Here an exemple on how to mod properly the godlymodz patch !

Tutorial in french because english is too hard for me for this tut...

If someone can trenslate...:whistle:

1 : Décompressez le patch_mp.ff grâce à la commande -a -1 -z -15 (offzip.exe)
2 : 00000027.dat (patch_mp.ff décompresser)
3 : Ouvrez le fichier patch_mp.ff avec un éditeur hexadécimal (HxD)
4 : CTRL + E (une fois que vous avez ouvert le fichier dans HxD)
5 : Début de l'offset 0x0000b4a0 et Fin de l'offset 0x00014ae9
6 : Faite CTRL + C, CTRL + N, CTRL + V et enfin CTRL + S
7 : Sauvegardez le fichier sous le nom 0000b4a0.dat
8 : Décompressez le fichier 0000b4a0.dat
9 : 00000000.dat (0000b4a0.dat decompresser)
10 : Ouvrez le fichier 00000000.dat avec un éditeur hexadécimal (HxD)
11 : CTRL + E (une fois que vous avez ouvert le fichier dans HxD)
12 : Début de l'offset 0x0000903f et Fin de l'offset 0x000c31e
13 : Faite CTRL + C, CTRL + N, CTRL + V et enfin CTRL + S
14 : Sauvegardez le fichier sous le nom _utility.gsc_compresser
15 : Décompressez le fichier _utility.gsc_compresser
16 : 00000002.dat (_utility.gsc_compresser décompresser)
17 : Ouvrez le fichier 00000002.dat dans Notepad++
18 : Inserez vos lignes de codes (language du codage en C++)
19 : Sauvegardez le fichier sous le nom 00000002.dat_modifier
20 : Créez un nouveau fichier 00000002.dat_modifier_recompresser
21 : Recompressez le fichier 00000002.dat_modifier avec la commande -o 0x00000002 -w -15 (packzip.exe) dans le nouveau fichier 00000002.dat_modifier_recompresser
22 : Ouvrez les fichiers 00000002.dat_modifier_compresser et _utility.gsc_compresser
23 : CTRL + E dans le fichier _utility.gsc_compresser (une fois que vous avez ouvert les deux fichiers dans HxD)
24 : Début de l'offset 0x00002f8e et Fin de l'offset 0x000032df
25 : Faite CTRL + C (toujours dans le fichier _utility.gsc_compresser)
26 : Ajoutez des 00 00 00 00 00 00 00 00 00 etc. a la suite de votre dernier hexadécimal présent a la fin de votre fichier 00000002.dat_modifier_compresser jusqu'à l'offset 0x000032d0
27 : Ajoutez des FF FF FF FF (4xFF) a la fin, donc a l'offset 0x000032dc,32dd,32de et 32df et sauvegardez votre fichier
28 : IMPORTANT : Veillez a se que le fichier _utility.gsc_compresser et le fichier 00000002.dat_modifier_compresser on toujours la même taille en octets !
29 : Faite une copie du fichier 00000000.dat sous le nom 00000000.dat_copy
30 : Ouvrez les fichiers 00000000.dat_copy et 00000002.dat_modifier_compresser dans HxD
31 : CTRL + A dans le fichier 00000002.dat_modifier_compresser
32 : CTRL + E dans le fichier 00000000.dat_copy
33 : Début de l'offset 0x0000903f et Fin de l'offset 0x000c31e
34 : Supprimez le bloc que vous venez de séléctionné avec Delete
35 : Collez tout se qui se trouve dans le fichier 00000002.dat_modifier_compresser dans le bloc que vous venez de supprimer
36 : Ajoutez 78 a l'offset 0x0000903f et DA a l'offset 0x00009040 et sauvegardez
37 : IMPORTANT : Veillez a se que le fichier 00000000.dat et le fichier 00000000.dat_copy on toujours la même taille en octets !
38 : Créez un nouveau fichier sous le nom 00000000.dat_copy_compresser
39 : Recompressez le fichier 00000000.dat_copy avec la commande -o 0x00000000 -w -15 (packzip.exe) dans le nouveau fichier 00000000.dat_copy_compresser
40 : Faite une copie du fichier 00000000.dat_copy_compresser que vous renommez en 0000b4a0.dat_modifier_compresser
41 : Ouvrez les fichiers patch_mp.ff et 0000b4a0.dat_modifier_compresser dans HxD
42 : CTRL + E dans le fichier patch_mp.ff
43 : Début de l'offset 0x0000b4a0 et Fin de l'offset 0x00014ae2
44 : Supprimez le bloc que vous venez de séléctionné avec Delete
45 : CTRL + A dans le fichier 0000b4a0.dat_modifier_compresser
46 : Collez tout se qui se trouve dans le fichier 0000b4a0.dat_modifier_compresser dans le bloc que vous venez de supprimer
47 : Notez sur un papier la taille de votre fichier patch_mp.ff final en octets (222.711 octets pour moi)
48 : Convertissez 222711 "octets" en hexadécimal = 0x000365F7 (03 65 F7)
49 : Ajoutez l'hexadécimal obtenu au début du fichier comme ceci ;

You must login or register to view this content.

50 : Sauvegardez votre patch_mp.ff !

Decompress my patch.ff edited proof without errors ;

You must login or register to view this content.
(adsbygoogle = window.adsbygoogle || []).push({});

The following 9 users say thank you to Gendjisan for this useful post:

defwegwreh, IDontbreak, jb2203, juddylovespizza, ModThatGame, Solid Snake, The End, Tzee, VecRi
09-19-2010, 02:25 AM #2
PS3LUV3R
Too Beast
1: Unzip the patch_mp.ff with the command-a -1-z -15 (offzip.exe)
2: 00000027.dat (unpack patch_mp.ff)
3: Open the file with a hex editor patch_mp.ff (HxD)
4: CTRL E (once you've opened the file in HxD)
5: Start and End Offset 0x0000b4a0 offset 0x00014ae9
6: Done CTRL C, CTRL N, CTRL V CTRL and finally S
7: Save the file as 0000b4a0.dat
8: Unzip the file 0000b4a0.dat
9: 00000000.dat (0000b4a0.dat decompress)
10: Open the file with a hex editor 00000000.dat (HxD)
11: CTRL E (once you've opened the file in HxD)
12: 0x0000903f Start Offset and End Offset 0x000c31e
13: Done CTRL C, CTRL N, CTRL V CTRL and finally S
14: Save the file as _utility.gsc_compresser
15: Unzip the file _utility.gsc_compresser
16: 00000002.dat (unpack _utility.gsc_compresser)
17: Open the file in Notepad 00000002.dat
18: Insert your lines of code (in C language coding)
19: Save the file as 00000002.dat_modifier
20: Create a new file 00000002.dat_modifier_recompresser
21: 00000002.dat_modifier recompress the file with the command-w-o 0x00000002 -15 (packzip.exe) in the new file 00000002.dat_modifier_recompresser
22: Open the files and 00000002.dat_modifier_compresser _utility.gsc_compresser
23: CTRL E _utility.gsc_compresser in the file (once you've opened both files in HxD)
24: Start and End Offset 0x00002f8e offset 0x000032df
25: Done CTRL C (always in the file _utility.gsc_compresser)
26: Add 00 00 00 00 00 00 00 00 00 etc.. as a result of this your last hex at the end of your file to 00000002.dat_modifier_compresser offset 0x000032d0
27: Add FF FF FF FF (4xFF) at the end, so has the offset 0x000032dc, 32dd, 32de 32df and save your file and
28: IMPORTANT: Be careful what file and the file _utility.gsc_compresser 00000002.dat_modifier_compresser it always the same size in bytes!
29: Make a copy of the file under the name 00000000.dat 00000000.dat_copy
30: Open the files and 00000000.dat_copy 00000002.dat_modifier_compresser in HxD
31: CTRL A in the file 00000002.dat_modifier_compresser
32: E in the CTRL file 00000000.dat_copy
33: 0x0000903f Start Offset and End Offset 0x000c31e
34: Remove the block you just selected with Delete
35: Glue everything that is in the file 00000002.dat_modifier_compresser in the block you just removed
36: Add 78 to offset 0x0000903f and DA offset 0x00009040 and save
37: IMPORTANT: Be careful what 00000000.dat file and the file is 00000000.dat_copy always the same size in bytes!
38: Create a new file under the name 00000000.dat_copy_compresser
39: 00000000.dat_copy recompress the file with the command-w-o 0x00000000 -15 (packzip.exe) in the new file 00000000.dat_copy_compresser
40: Make a copy of the file that you rename 00000000.dat_copy_compresser 0000b4a0.dat_modifier_compresser
41: Open the files and patch_mp.ff 0000b4a0.dat_modifier_compresser in HxD
42: E in the CTRL file patch_mp.ff
43: Start and End Offset 0x0000b4a0 offset 0x00014ae2
44: Remove the block you just selected with Delete
45: CTRL A in the file 0000b4a0.dat_modifier_compresser
46: Glue everything that is in the file 0000b4a0.dat_modifier_compresser in the block you just removed
47: Note on a paper the size of your file patch_mp.ff final bytes (222,711 bytes for me)
48: 222 711 Convert "bytes" in hexadecimal = 0x000365F7 (March 1965 F7)
49: Add the hexadecimal obtained at the beginning of the file like this;

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

Holy crap, too confusing when you translate.

Good work though Winky Winky Your other tutorial was fine in English, why French now?

The following 8 users say thank you to PS3LUV3R for this useful post:

DEREKTROTTER, Gendjisan, GetDeleted -_-, IW_JOSH, juddylovespizza, skitterz, skramsfan, tiramolas
09-19-2010, 02:25 AM #3
Ritztro
I am a Game Developer
Originally posted by Gendjisan View Post
Here an exemple on how to mod properly the godlymodz patch !

Tutorial in french because english is too hard for me for this tut...

If someone can trenslate...:whistle:

1 : Décompressez le patch_mp.ff grâce à la commande -a -1 -z -15 (offzip.exe)
2 : 00000027.dat (patch_mp.ff décompresser)
3 : Ouvrez le fichier patch_mp.ff avec un éditeur hexadécimal (HxD)
4 : CTRL + E (une fois que vous avez ouvert le fichier dans HxD)
5 : Début de l'offset 0x0000b4a0 et Fin de l'offset 0x00014ae9
6 : Faite CTRL + C, CTRL + N, CTRL + V et enfin CTRL + S
7 : Sauvegardez le fichier sous le nom 0000b4a0.dat
8 : Décompressez le fichier 0000b4a0.dat
9 : 00000000.dat (0000b4a0.dat decompresser)
10 : Ouvrez le fichier 00000000.dat avec un éditeur hexadécimal (HxD)
11 : CTRL + E (une fois que vous avez ouvert le fichier dans HxD)
12 : Début de l'offset 0x0000903f et Fin de l'offset 0x000c31e
13 : Faite CTRL + C, CTRL + N, CTRL + V et enfin CTRL + S
14 : Sauvegardez le fichier sous le nom _utility.gsc_compresser
15 : Décompressez le fichier _utility.gsc_compresser
16 : 00000002.dat (_utility.gsc_compresser décompresser)
17 : Ouvrez le fichier 00000002.dat dans Notepad++
18 : Inserez vos lignes de codes (language du codage en C++)
19 : Sauvegardez le fichier sous le nom 00000002.dat_modifier
20 : Créez un nouveau fichier 00000002.dat_modifier_recompresser
21 : Recompressez le fichier 00000002.dat_modifier avec la commande -o 0x00000002 -w -15 (packzip.exe) dans le nouveau fichier 00000002.dat_modifier_recompresser
22 : Ouvrez les fichiers 00000002.dat_modifier_compresser et _utility.gsc_compresser
23 : CTRL + E dans le fichier _utility.gsc_compresser (une fois que vous avez ouvert les deux fichiers dans HxD)
24 : Début de l'offset 0x00002f8e et Fin de l'offset 0x000032df
25 : Faite CTRL + C (toujours dans le fichier _utility.gsc_compresser)
26 : Ajoutez des 00 00 00 00 00 00 00 00 00 etc. a la suite de votre dernier hexadécimal présent a la fin de votre fichier 00000002.dat_modifier_compresser jusqu'à l'offset 0x000032d0
27 : Ajoutez des FF FF FF FF (4xFF) a la fin, donc a l'offset 0x000032dc,32dd,32de et 32df et sauvegardez votre fichier
28 : IMPORTANT : Veillez a se que le fichier _utility.gsc_compresser et le fichier 00000002.dat_modifier_compresser on toujours la même taille en octets !
29 : Faite une copie du fichier 00000000.dat sous le nom 00000000.dat_copy
30 : Ouvrez les fichiers 00000000.dat_copy et 00000002.dat_modifier_compresser dans HxD
31 : CTRL + A dans le fichier 00000002.dat_modifier_compresser
32 : CTRL + E dans le fichier 00000000.dat_copy
33 : Début de l'offset 0x0000903f et Fin de l'offset 0x000c31e
34 : Supprimez le bloc que vous venez de séléctionné avec Delete
35 : Collez tout se qui se trouve dans le fichier 00000002.dat_modifier_compresser dans le bloc que vous venez de supprimer
36 : Ajoutez 78 a l'offset 0x0000903f et DA a l'offset 0x00009040 et sauvegardez
37 : IMPORTANT : Veillez a se que le fichier 00000000.dat et le fichier 00000000.dat_copy on toujours la même taille en octets !
38 : Créez un nouveau fichier sous le nom 00000000.dat_copy_compresser
39 : Recompressez le fichier 00000000.dat_copy avec la commande -o 0x00000000 -w -15 (packzip.exe) dans le nouveau fichier 00000000.dat_copy_compresser
40 : Faite une copie du fichier 00000000.dat_copy_compresser que vous renommez en 0000b4a0.dat_modifier_compresser
41 : Ouvrez les fichiers patch_mp.ff et 0000b4a0.dat_modifier_compresser dans HxD
42 : CTRL + E dans le fichier patch_mp.ff
43 : Début de l'offset 0x0000b4a0 et Fin de l'offset 0x00014ae2
44 : Supprimez le bloc que vous venez de séléctionné avec Delete
45 : CTRL + A dans le fichier 0000b4a0.dat_modifier_compresser
46 : Collez tout se qui se trouve dans le fichier 0000b4a0.dat_modifier_compresser dans le bloc que vous venez de supprimer
47 : Notez sur un papier la taille de votre fichier patch_mp.ff final en octets (222.711 octets pour moi)
48 : Convertissez 222711 "octets" en hexadécimal = 0x000365F7 (03 65 F7)
49 : Ajoutez l'hexadécimal obtenu au début du fichier comme ceci ;

You must login or register to view this content.

50 : Sauvegardez votre patch_mp.ff !

Decompress my patch.ff edited proof without errors ;

You must login or register to view this content.


It is confusing...

The following user thanked Ritztro for this useful post:

jb2203
09-19-2010, 02:27 AM #4
DEREKTROTTER
You're Goddamn Right
Originally posted by another user
6: Done CTRL C, CTRL N, CTRL V CTRL and finally S

,,,,,,,,,,,
:wtf:
09-19-2010, 02:29 AM #5
PS3LUV3R
Too Beast
I REALLY want to be able to do this, so I guess I'll try to follow this Tut and do it a little later on today Winky Winky

If it works, I can't even express how much respect and love I'll have for you :love:

---------- Post added at 09:29 PM ---------- Previous post was at 09:28 PM ----------

Originally posted by DEREKTROTTER View Post
,,,,,,,,,,,
:wtf:


He means; Copy it, make a new HxD file, paste the hex you just copied into the new file, then save it Winky Winky
09-19-2010, 02:29 AM #6
.Say Hi.
Rep is so 2010
Google Chrome FTW! :p

The following user thanked .Say Hi. for this useful post:

Dexgod
09-19-2010, 02:31 AM #7
PS3LUV3R
Too Beast
Damn it looks like I'm going to spend a couple hours to get it working completely. It's gonna take a while to understand what you mean since it's weird in translation. But since I basically know what you do anyway, shouldn't be too much of a problem Winky Winky
09-19-2010, 02:31 AM #8
Kidd Cold
**** my Toaster !~!
Originally posted by Gendjisan View Post
Here an exemple on how to mod properly the godlymodz patch !

Tutorial in french because english is too hard for me for this tut...

If someone can trenslate...:whistle:

1 : Décompressez le patch_mp.ff grâce à la commande -a -1 -z -15 (offzip.exe)
2 : 00000027.dat (patch_mp.ff décompresser)
3 : Ouvrez le fichier patch_mp.ff avec un éditeur hexadécimal (HxD)
4 : CTRL + E (une fois que vous avez ouvert le fichier dans HxD)
5 : Début de l'offset 0x0000b4a0 et Fin de l'offset 0x00014ae9
6 : Faite CTRL + C, CTRL + N, CTRL + V et enfin CTRL + S
7 : Sauvegardez le fichier sous le nom 0000b4a0.dat
8 : Décompressez le fichier 0000b4a0.dat
9 : 00000000.dat (0000b4a0.dat decompresser)
10 : Ouvrez le fichier 00000000.dat avec un éditeur hexadécimal (HxD)
11 : CTRL + E (une fois que vous avez ouvert le fichier dans HxD)
12 : Début de l'offset 0x0000903f et Fin de l'offset 0x000c31e
13 : Faite CTRL + C, CTRL + N, CTRL + V et enfin CTRL + S
14 : Sauvegardez le fichier sous le nom _utility.gsc_compresser
15 : Décompressez le fichier _utility.gsc_compresser
16 : 00000002.dat (_utility.gsc_compresser décompresser)
17 : Ouvrez le fichier 00000002.dat dans Notepad++
18 : Inserez vos lignes de codes (language du codage en C++)
19 : Sauvegardez le fichier sous le nom 00000002.dat_modifier
20 : Créez un nouveau fichier 00000002.dat_modifier_recompresser
21 : Recompressez le fichier 00000002.dat_modifier avec la commande -o 0x00000002 -w -15 (packzip.exe) dans le nouveau fichier 00000002.dat_modifier_recompresser
22 : Ouvrez les fichiers 00000002.dat_modifier_compresser et _utility.gsc_compresser
23 : CTRL + E dans le fichier _utility.gsc_compresser (une fois que vous avez ouvert les deux fichiers dans HxD)
24 : Début de l'offset 0x00002f8e et Fin de l'offset 0x000032df
25 : Faite CTRL + C (toujours dans le fichier _utility.gsc_compresser)
26 : Ajoutez des 00 00 00 00 00 00 00 00 00 etc. a la suite de votre dernier hexadécimal présent a la fin de votre fichier 00000002.dat_modifier_compresser jusqu'à l'offset 0x000032d0
27 : Ajoutez des FF FF FF FF (4xFF) a la fin, donc a l'offset 0x000032dc,32dd,32de et 32df et sauvegardez votre fichier
28 : IMPORTANT : Veillez a se que le fichier _utility.gsc_compresser et le fichier 00000002.dat_modifier_compresser on toujours la même taille en octets !
29 : Faite une copie du fichier 00000000.dat sous le nom 00000000.dat_copy
30 : Ouvrez les fichiers 00000000.dat_copy et 00000002.dat_modifier_compresser dans HxD
31 : CTRL + A dans le fichier 00000002.dat_modifier_compresser
32 : CTRL + E dans le fichier 00000000.dat_copy
33 : Début de l'offset 0x0000903f et Fin de l'offset 0x000c31e
34 : Supprimez le bloc que vous venez de séléctionné avec Delete
35 : Collez tout se qui se trouve dans le fichier 00000002.dat_modifier_compresser dans le bloc que vous venez de supprimer
36 : Ajoutez 78 a l'offset 0x0000903f et DA a l'offset 0x00009040 et sauvegardez
37 : IMPORTANT : Veillez a se que le fichier 00000000.dat et le fichier 00000000.dat_copy on toujours la même taille en octets !
38 : Créez un nouveau fichier sous le nom 00000000.dat_copy_compresser
39 : Recompressez le fichier 00000000.dat_copy avec la commande -o 0x00000000 -w -15 (packzip.exe) dans le nouveau fichier 00000000.dat_copy_compresser
40 : Faite une copie du fichier 00000000.dat_copy_compresser que vous renommez en 0000b4a0.dat_modifier_compresser
41 : Ouvrez les fichiers patch_mp.ff et 0000b4a0.dat_modifier_compresser dans HxD
42 : CTRL + E dans le fichier patch_mp.ff
43 : Début de l'offset 0x0000b4a0 et Fin de l'offset 0x00014ae2
44 : Supprimez le bloc que vous venez de séléctionné avec Delete
45 : CTRL + A dans le fichier 0000b4a0.dat_modifier_compresser
46 : Collez tout se qui se trouve dans le fichier 0000b4a0.dat_modifier_compresser dans le bloc que vous venez de supprimer
47 : Notez sur un papier la taille de votre fichier patch_mp.ff final en octets (222.711 octets pour moi)
48 : Convertissez 222711 "octets" en hexadécimal = 0x000365F7 (03 65 F7)
49 : Ajoutez l'hexadécimal obtenu au début du fichier comme ceci ;

You must login or register to view this content.

50 : Sauvegardez votre patch_mp.ff !

Decompress my patch.ff edited proof without errors ;

You must login or register to view this content.


dude awesome.. if I wasn't so tired I'd try this..but I need sleep I'll try it in a couple days.
09-19-2010, 02:32 AM #9
juddylovespizza
I'VE GOT JUNGLE FEVER
Yes, how about a video?!
09-19-2010, 02:34 AM #10
Gendjisan
A.k.a. Bushigan
This tut is only for mod the godlymodz patch...(_utility.gsc)

If you want mod your own patch the offset will change...

And you need to repeat step for all file (_missions.gsc, dd.gsc etc)

I'ts very hard but it work if you do it good Cool Man (aka Tustin)

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo