OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: wired on 11 Mar 2004, 19:47:01
-
Ok..........i need to run a file of mine thru the old version of binarize, but i dont understand this part in the readme:
- run bin.bat with the addon directory name as parameter (E.g. "bin myaddon")
Can sum1 plz tell me step by step what i hav to do to get binarize to binarize my file?
-
If you are using XP have a look here:
http://www.ofpec.com/editors/list.php?show=pending (http://www.ofpec.com/editors/list.php?show=pending)
It's about the fifth item on the list. Please do....I can't tell whether the file was successfully uploaded or not. And gimme some feedback.
If you are using any other OS....grab Col Klinks little exe called BinarizeIT. That will solve your problem. ;D
-
I use BinarizeIT with XP, it works fine for me ;D .
-
Yer well, the binarize for xp tut was erm....not there, the window opened but with NO tutorial. Hey M21man, can u then tell me HOW to use BinarizeIT?
-
Please dont let this thread be dragged into the history. I need to know now or else two of my islands which i have spent months on will be lost forever.
:'( :'( :'( :'( :'( :'( :'( :'( :'( :'(
-
Put the BinarizeIT.exe in the same folder as the binarize program.
Then run the BinarizeIT.exe.
Planck
-
BinarizeIT was conceived and programmed entirely on an XP machine and has worked flawlessly since the day it was created on my computer.
However it does depend upon having the correct VB 6.0 Runtime files to work. These can be d/l from Microsoft.
Check out the download for BinarizeIT at http://www.dc3d.co.nz/ofpdownloads.htm. (http://www.dc3d.co.nz/ofpdownloads.htm.)
-
Reply added to the tute page. I'll fix it up.
-
No problem there , Leone.
I'm working on another version which will allow binarize to addon compiling in one button click.
-
nope i still ent found out how to use it. Plz can sum 1 give me step by step instructions to use the old version of binarize not colonel_klinks interface (nothing against it, but i had been told that to convert the file i want it needs to be the old version :-\) Please help!
-
What error message do you get......if any?
Planck
-
im trying to get an object of mine into wrptool... i get the error of it not being found. Also binarize isn't making an opt folder :-\
-
Open the bin.bat file that is in the Binarize folder.
Use Notepad to open it, then post here what is says.
Planck
-
hope this helps:
@echo off
@if "%1"=="" (
echo Usage: bin ksign
goto :EndOfFile
)
@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
-
p.s. Ksign is the name of my addon ;)
-
Make a copy of your original bin.bat elsewhere for safety............then:
Remove these lines:
@if "%1"=="" (
echo Usage: bin ksign
goto :EndOfFile
)
The file should now look like this:
@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
Save the file.
You must have your addon file, with All its associated files in its own folder.
This folder should be copied into the Binarize folder.
Open an MSDOS prompt and change dorectory to your Binarize folder, then:
Then type in ... bin youraddonfoldername
Hit Enter.
Hope this now works
Planck
-
sos...i should hav said....im not a computer programmer lol :P
Open an MSDOS prompt and change dorectory to your Binarize folder, then:
Then type in ... bin youraddonfoldername
how i do this?
Thanx for you help so far ;D
-
Have a look in your Start Menu.............Programs.......Accessories.
See if you have an MSDOS prompt listed in there.
If there is......run it.
The path to my Binarize folder is:
C:\EditingTools\Binarize ......So to change to the Binarize folder I would type:
CD C:\editingtools\binarize
the prompt will change to ref;ect this.
Once there you just type...... bin thenameofyouraddonfolder
If you don't have or can't find the MSDOS prompt, I can only suggest that you use Col. Kilinks BinarizeIt interface instead.
Planck
-
ok....i did what u said...but wrp still wont hav it
:-\
-
OK.......so you got it Binarized now then......good.
Does your config.cpp have a cfgModels section?
Planck