Jump to content
Sign in to follow this  
-=anders=-

CPP2BIN 1.2 tool error...

Recommended Posts

When I tried to compress ECP's DR sound config.cpp back to BIN I get THIS error message:

"Error on property destroyFriendly - CfgExperience".

I only added some lines in the config to add more sounds, but that didnt work...

What could I do?

Share this post


Link to post
Share on other sites

when u covert a bin to a text file it looses like a shit-load of stuff.

In addition some information is changed (in my case all full stops were changed to commas)

I think it is easier to write it from the scratch.

anyway there was talked about a lot of times.

Introduce yourself to search function, please.

Share this post


Link to post
Share on other sites

I was experimenting with cpp2bin too in the last days, and it has some limitations. It can't seem to handle #defines of other types than integer. It also seems to have problems with anything that is multiline, eg multiline comments (/* ... */) and constructs like this:<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">#define DefaultWestMagazines(x) \

class TransportMagazines \

{ \

mag_xx(M16,30*x); \

mag_xx(M60,5*x); \

mag_xx(HandGrenade,10*x); \

mag_xx(M21,10*x); \

mag_xx(LAWLauncher,3*x); \

mag_xx(GrenadeLauncher,3*x); \

};

Both are used in the official config.cpp from BIS.

I am also not sure if the # comment sign is accepted. It is not use in bis config or any other i have seen, but my preprocessor put some in. I was about to test this, but have been away over the weekend. So expect more news about this in the next days...

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×