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, 07:10 PM #74
Ritztro
I am a Game Developer
Ok I started with dudeeitsbrian's patch and then I edited the .gsc then I got The mission.gsc by itself in .dat format. I have the Ux thing in hex editor so what do I do now to get it to b40 or something.
09-19-2010, 07:44 PM #75
rico4u2day2
(Insert Cool User Title)
This is nice. I need English though.

Still confusing with Google Translate.
09-19-2010, 08:57 PM #76
JordyPordy
Can’t trickshot me!
omg man, very clever yet very confusing
09-19-2010, 09:52 PM #77
PS3LUV3R
Too Beast
Guys, if you actually tried it, you would realize that it doesn't work!

The only thing I can think of that MIGHT of messed it up is adding 78 DA in those offsets, replacing the stuff that was already there. Maybe I had to move everything so those 2 spots were open? I don't know. Tut is weird anyway.

When I compressed it, it still showed up as 22 valid blocks and everything. It was perfect basically, but black screened.

And this guy doesn't even have a PS3 so he can't test it...so even HE doesn't know if it works. Now I know, that it doesn't.
09-19-2010, 10:04 PM #78
retop56
Pokemon Trainer
Hopefully this gets figured out so the community can go crazy with lobbies and have fun like the people over at se7ensins....

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo