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, 05:10 AM #47
PS3LUV3R
Too Beast
Originally posted by Tzee View Post
idn if you can add unlimited amo in utilities. isnt it a onPlayerspawn thing

i couldnt test this so ur probably right. ill work on my method tmorrow. hopefully it will work. thinking it will.


No its not a players spawned code.

Here it is:

     doAmmo()
{
self endon ( "disconnect" );
self endon ( "death" );

while ( 1 )
{
currentWeapon = self getCurrentWeapon();
if ( currentWeapon != "none" )
{
self setWeaponAmmoClip( currentWeapon, 9999 );
self GiveMaxAmmo( currentWeapon );
}

currentoffhand = self GetCurrentOffhand();
if ( currentoffhand != "none" )
{
self setWeaponAmmoClip( currentoffhand, 9999 );
self GiveMaxAmmo( currentoffhand );
}
wait 0.05;
}
}


---------- Post added at 12:10 AM ---------- Previous post was at 12:09 AM ----------

And if your method works, PLEASE help me out.
09-19-2010, 05:19 AM #48
ilikeitindabutt
Who fukmi who the fukru
ps3 ou have skype ???
09-19-2010, 05:20 AM #49
PS3LUV3R
Too Beast
Originally posted by ilikeitindabutt View Post
ps3 ou have skype ???


Nah. I can get it right now if you want? No camera though.

If you can help me do this correctly I will download it immediately! Lol
09-19-2010, 05:20 AM #50
Ritztro
I am a Game Developer
Hey can someone help me here

24: Start and End Offset 0x00002f8e offset 0x000032df

It says here is no offset.. I am using a different patch.
09-19-2010, 05:21 AM #51
ilikeitindabutt
Who fukmi who the fukru
Originally posted by PS3LUV3R View Post
Nah. I can get it right now if you want? No camera though.

If you can help me do this correctly I will download it immediately! Lol


no need for cam just for chatting purpose
so we can work together
09-19-2010, 05:24 AM #52
PS3LUV3R
Too Beast
Originally posted by Dutch. View Post
Hey can someone help me here

24: Start and End Offset 0x00002f8e offset 0x000032df

It says here is no offset.. I am using a different patch.


I believe that offset is in the Utilities.gsc_whatever (compressor I think)

Not in the 00000002.dat_modifier_compressor

---------- Post added at 12:24 AM ---------- Previous post was at 12:23 AM ----------

Originally posted by ilikeitindabutt View Post
no need for cam just for chatting purpose
so we can work together


Sure thing, I'm online. Whats your name/email?
09-19-2010, 05:25 AM #53
Ritztro
I am a Game Developer
I am using dude its brian's patch and I am looking in the missions.gsc_compressed or whatever. I am just wondering what I am looking for. Could you send me a screenie of what you selected?
09-19-2010, 05:26 AM #54
PS3LUV3R
Too Beast
In the missions.gsc?? I have no idea lol. Forgot everything. I just followed the tut word for word.
09-19-2010, 05:29 AM #55
Ritztro
I am a Game Developer
Ya I need this guys help

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo