sanctuary 19 Posted August 15, 2004 Hello Until now i was working on the config.cpp from ECP to make my personnal BIS units/optics replacements. It worked very well after converting it in .bin with the utility cpp2bin from Amalfi. But i wished to use to original , non already modified BIS config. So , i used PBO decryptor 1.3 (always from Amalfi) to "debinarize" the original config.bin. But after all went very well, i began to browse the newly created config.cpp and immediately noticed the apparition of a very very lot of totally incorrect values like " 4294967295 ". To check if those values were really incorrect (as my config knwoledge is near to 0 ) i tried to binarize the .cpp and ended in errors (exactly at each of those weird values) that i unfortunately expected. So i made some searches on this Addon&Scripting forum and ended then in downloading the commented 1.91 config from the Breath BIS website. As the included config.cpp was very incomplete (as it was divided in several files) , i tried to replace (copy/paste) Â the lines #include "name of one of the divided file.upp" by the content of those .upp file. After replacing every #include "thing" line by the (i thought to be) correct content, again errors with the config popped up when using cpp2bin. Well , as it was not very fun, i tried to use the BIS tool Binarize. And there i was completly puzzled. As the program seems to want an addon to be binarized when i only want a config.cpp to be. As a final try, i downloaded Colonel_Klink's BinarizeIT! , as the interface seemed to be user friendly (i thought i was doing something wrong with the DOS instructions). But even with that , the program continue to refuse to give me what i hoped. So i post my sad story there, with the secret hope that someone that know how to obtain finally a complete -BIS original- config.cpp can give me an hand on this problem that i really can't solve by myself after all those days trying. Thanks for any hints. Share this post Link to post Share on other sites
sanctuary 19 Posted August 15, 2004 After having fighting a lot more with that damned config, i finally found a work around to obtain a certainly complete config.cpp with official BIS settings. To achieve this, i took 2 full config.cpp i knew to perfectly work with cpp2bin. -INQconfig.cpp from Inquisitor Weapons Pack -Config in .cpp format offered by the ECP team at OFPEC. The great interest of those 2 configs is that INQconfig had modified settings that are not modified (so are BIS default) in the ECP config and vice-versa. So after a hell to merge , clean unused things, replacing what needs to be replaced, making sure that the settings were not modified and all, after a lot of testing , i have a full config.cpp with what i think to be certainly BIS default settings. And this config.cpp works very well with cpp2bin to obtain a working config.bin without errors. As i know from search on Bohemia Interactive forums that several people struggled with that, i think they will find some interesting use from this config.cpp. Right Click on THIS LINK and select SAVE AS to download the working config.cpp (included in the config.zip file that you will download) , entirely friendly with the utility cpp2bin. And i think (and after all what i have done , i strongly hope) that it only contains BIS default settings . Have fun with your future BIS units replacements Share this post Link to post Share on other sites
General Barron 0 Posted September 27, 2004 Wow, this is <almost> exactly what I was looking for! Actually, there has got to be a tool out there that can compile "bis" cpp files, I would think.... I know Almafi's tool has problem doing the more complex "defines" found in the commented configs, and as you noticed, it can't do includes. But is there any better way to do things, instead of what you just did? Are there any other config compilers out there that can handle defines properly, and can handle includes? Oh yeah, thanks again Share this post Link to post Share on other sites