TKC-Community

Hacking and Art => Armed Assault 3 => Operation Flashpoint => Topic started by: magneto on May 01, 2004, 08:46:25 pm

Title: cpp2bin file
Post by: magneto on May 01, 2004, 08:46:25 pm
Anybody know how i can edit my config.bin file without using editor i did manage to unpbo the file and i can get into the file but i cant change it back to bin file :cry: i tried cpp2bin but it keeps coming up with some error
Title: cpp2bin file
Post by: M. O. on May 01, 2004, 10:05:34 pm
Can you unpbo a bin file? Tell me the error you get in cpp2bin.
You could always try to compile the cpp code with C++, then you will get a binary.
Title: cpp2bin file
Post by: magneto on May 01, 2004, 11:17:15 pm
yeah with pbo decryptor 1.3 you can change the file  type to binary instead of pbo but i dont know how to convert it back to bin there must be a way but i dont know how
Title: cpp2bin file
Post by: Awruk on May 03, 2004, 03:00:48 pm
Sorry, if it's out of date - use the cpp2bin utility.
Title: cpp2bin file
Post by: [TKC]Hubertus on May 03, 2004, 04:34:52 pm
Quote
i tried cpp2bin but it keeps coming up with some error

Quote
use the cpp2bin utility.

 :roll:

UnPBO 1.3 doesnt decrypt the files correctly, its pretty old and full of bugs. Instead of decrypting it, you can get the commented config here (http://www.flashpoint1985.com/breathe/download/Commented_Config_191.zip). You dont have to binarize it again, you can just delete the config.bin and use the config.cpp.
Title: cpp2bin file
Post by: Awruk on May 03, 2004, 05:35:56 pm
This isn't the one from the Bin catalog - there are weapons definied, here not. :?
Title: cpp2bin file
Post by: Awruk on May 03, 2004, 05:50:49 pm
Sorry for my first post, now i get it. Depbo 1.3 is unpacking the config.bin uncorrectly, it sets some values in the config to stupid ones, example, the beginning (i marked the wrong values):

class CfgExperience
{
   access=1
   destroyUnit[]={"unit1","unit2","unit3","unit4"};
   unit1[]={2000,0};
   unit2[]={200000,200};
   unit3[]={500000,500};
   unit4[]={1000000,1000};
   destroyEnemy=1
   destroyFriendly=4294967289
   destroyCivilian=4294967294
   destroyYourUnit=-0.200000;
   renegadeLimit=4294965296
   playerKilled=0
   commandCompleted=0
   commandFailed=0
   followMe=0
   missionCompleted=0
   missionFailed=0
   ranks[]={0,500,1500,2500,3500,5000,7500};
   courage[]={0.200000,0.350000,0.550000,0.650000,0.700000,0.800000,0.900000};
};



The error continues to the end.
Title: cpp2bin file
Post by: CMW on May 09, 2004, 03:02:14 am
Try saving it as:

Name: config.bin
File type: All

That should force it to save as a bin file.

(http://www.freewebs.com/watermansofpsite/bin1.JPG)
Title: cpp2bin file
Post by: biatch on May 30, 2004, 01:35:53 pm
So, how do u fix it?

bin and cpp values arent the same all around are they?

Damage value for example, the .cpp2.bin app gives me a cfgpatches error.