Baphomet 0 Posted June 11, 2003 I'm not understanding where you specify the path for bin.bat to look when binarizing an addon. Can anyone give me a hand? I didn't quite know whether to put this in an editing forum but they seemed pretty specialized... (either cpp or scripting or O2 related). Apologies in advance. Share this post Link to post Share on other sites
SelectThis 0 Posted June 14, 2003 You need to open up a MSDOS window, then change the dos path to the binarize folder using the cd command. Then you can type in the bin command. Col Klink made a windows ap for binarize to make it easier, try his homepage. SelectThis Share this post Link to post Share on other sites
Baphomet 0 Posted June 16, 2003 Tried it. Again I'm an old veteran of dos but I have no idea what you mean by using the cd command to change the path, don't you need to use the batch file? I'm totally lost here. Binarize IT didn't seem to work either. All I get is a program window that remembles dos... since XP only emulates dos... or so I hear... The window says... C:\Ofp\tools\>rem Cemove current content C:\Ofp\tools>rd /s /q Opt\ C:\Ofp\tools>rem Create target directory C:\Ofp\tools>mkdir Opt\ C:\Ofp\tools\rem Perform binarization C:\Ofp\tools>binarize -textures =Opt -exclude =Opt\exclude.lst \Opt C:\Ofp\tools>rem Copy all except model and textures C:\Ofp\tools>xcopy Opt\ /exclude:exclude.txt Obviously there's something wrong with my batch file... and unless someone is willing to spell it out for me how I'm supposed to get this to work. I'm afraid offering help as equivocal as the text file won't help me. - run bin.bat with the addon directory name as parameter (E.g. "bin myaddon") Where's this perameter?! I have no idea where this is supposed to go. Can anyone give me examples here?! If it has anything to do with modifying any of this I'm clueless... what's with the word "rem" before everything? rem Model file optimization rem Cemove current content rd /s /q Opt\%1 rem Create target directory mkdir Opt\%1 rem Perform binarization binarize -textures=Opt -exclude=Opt\exclude.lst %1 Opt\%1 rem Copy all except model and textures xcopy %1 Opt\%1 /exclude:exclude.txt rem Note: textures referenced from other addons or pbo files rem can be found in corresponding Opt subdirectories (like Opt/Data) Share this post Link to post Share on other sites