Monodo 0 Posted October 5, 2004 Hi! I downloaded Binarize from Breath site so that i could transform mlod to odol p3d. As said in readme, I put my p3d in C:binarize\myaddon\myaddon.p3d and i copied cpp file in this dolfer too. But in read me it says: "run bin.bat with the addon directory name as parameter (E.g. "bin myaddon")". Where to put this parameter? I opened bin.bat with notepad and inserted this: @echo off @if "%1"=="" ( echo Usage: bin myaddon goto :EndOfFile ) @rem Model file optimization ... than i ran the changed bin.bat and nothing happened! Readme says that new folder OPT should apear! no sign of that folder in my case... oh is maybe config the problem? (no cfgmodels part included, cause i dont know what to write in it) <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">#define TEast 0 #define TWest 1 #define TGuerrila 2 #define TCivilian 3 #define TSideUnknown 4 #define TEnemy 5 #define TFriendly 6 #define TLogic 7 #define true 1 #define false 0 #define private 0 #define protected 1 #define public 2 class CfgPatches { class palmgrove { units[] = {palmgrove}; weapons[] = {}; requiredVersion = 1.75; }; }; class CfgVehicles { class All{}; class Static: All{}; class Building: Static{}; class NonStrategic: Building{}; class Forest: NonStrategic { scope=1; model="\palmgrove\palmgrove"; displayName="palmgrove"; nameSound="forest"; simulation="forest"; accuracy=0.200000; cost=5000; coefInside=1; coefInsideHeur=0.250000; armor=2000; vehicleClass="Objects"; }; }; PLZ HELP! ps: myaddon = palmgrove Share this post Link to post Share on other sites
Metalmalte 0 Posted October 5, 2004 goto ofpec.com there has Leone written a really good binarize tutorial! Share this post Link to post Share on other sites
<>Crippler<> 0 Posted October 5, 2004 Had a bit of trouble with this myself, but I think I've sorted it now so I'll explain what I do. You've got the main C:\binarize folder, containing some files and folders like the bin.bat, binarize.exe. In this, you've got your addon folder (C:\binarize\palmgrove), containing all your stuff from your addon. Thats the simple enough bit. Now go to MS-DOS prompt (can do it from windows, no need to restart the PC in DOS mode thankfully), browse to your binarize folder, so it should look like this- F:\binarize> (with the blinking cursor) Now type binarize palmgrove palmgrovep3d You should get a load of crap appear as the program works away, but now you should have a folder in your binarize directory called "palmgrovep3d" which should contain the new (binarised) p3d files. Make sure you've got a copy of the original un-binarised p3d files somewhere, then paste the new (binarised) p3d files from the "palmgrovep3d" folder into your "palmgrove" folder, overwriting the old files. Should do the trick Crippler Share this post Link to post Share on other sites