Jump to content
Sign in to follow this  
quakergamer

Binarize probs

Recommended Posts

Hello,

Im having problems with the Binarize program. Well I'm doing everything that is in the readme, start bin.bat but it just stays there 1 second and closes. The aadd-on is defined correctly.. So anyone here could give me a step by step directions on how to make Binarize work rock.gif

Share this post


Link to post
Share on other sites

Something about deleting a line from the bin.bat.Can't remember where I found the information ,but thats how I finally got mine to work.I am not sure which line it was ,but heres my bin.bat with the line already deleted

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

@echo off

@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)

:EndOfFile

Step by step...hmm I only used it a few times but i made the binarize directory and copied data dir there

and copy your addon folder to the binarize folder

I see a bin directory there also,has some cpp and such files in it ,but I think binarize puts that there?

But anyways it puts the files in the opt folder after ,then you want to replace the p3ds from there to your root addon folder replacing the unbinarized p3ds

Share this post


Link to post
Share on other sites

Same thing :S. I used Col. Klink BinarizeIT program but it just runs for 10 secs and then close. No OPT folder aswell ...

And also, how do I do that:

run bin.bat with the addon directory name as parameter (E.g. "bin myaddon")

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  

×