OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: wired on 11 Mar 2004, 19:47:01

Title: HOW THE **** DOES BINARIZE WORK???
Post 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:
Quote
- 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?
Title: Re:HOW THE **** DOES BINARIZE WORK???
Post by: Leone on 12 Mar 2004, 04:48:51
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
Title: Re:HOW THE **** DOES BINARIZE WORK???
Post by: m21man on 12 Mar 2004, 06:04:03
I use BinarizeIT with XP, it works fine for me ;D .
Title: Re:HOW THE **** DOES BINARIZE WORK???
Post by: wired on 12 Mar 2004, 21:54:02
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?
Title: Re:HOW THE **** DOES BINARIZE WORK???
Post by: wired on 23 Mar 2004, 22:26:09
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.
 :'( :'( :'( :'( :'( :'( :'( :'( :'( :'(
Title: Re:HOW THE **** DOES BINARIZE WORK???
Post by: Planck on 23 Mar 2004, 23:10:22
Put the BinarizeIT.exe in the same folder as the binarize program.

Then run the BinarizeIT.exe.


Planck
Title: Re:HOW THE **** DOES BINARIZE WORK???
Post by: Colonel_Klink on 01 Apr 2004, 12:30:00
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.)
Title: Re:HOW THE **** DOES BINARIZE WORK???
Post by: Leone on 01 Apr 2004, 13:51:57
Reply added to the tute page. I'll fix it up.
Title: Re:HOW THE **** DOES BINARIZE WORK???
Post by: Colonel_Klink on 01 Apr 2004, 22:11:10
No problem there , Leone.
I'm working on another version which will allow binarize to addon compiling in one button click.
Title: Re:HOW THE **** DOES BINARIZE WORK???
Post by: wired on 18 Apr 2004, 17:31:00
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!
Title: Re:HOW THE **** DOES BINARIZE WORK???
Post by: Planck on 18 Apr 2004, 17:43:37
What error message do you get......if any?


Planck
Title: Re:HOW THE **** DOES BINARIZE WORK???
Post by: wired on 18 Apr 2004, 19:22:40
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  :-\
Title: Re:HOW THE **** DOES BINARIZE WORK???
Post by: Planck on 18 Apr 2004, 19:24:59
Open the bin.bat file that is in the Binarize folder.

Use Notepad to open it, then post here what is says.


Planck
Title: Re:HOW THE **** DOES BINARIZE WORK???
Post by: wired on 18 Apr 2004, 19:43:51
hope this helps:

Quote
@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
Title: Re:HOW THE **** DOES BINARIZE WORK???
Post by: wired on 18 Apr 2004, 19:44:46
p.s. Ksign is the name of my addon ;)
Title: Re:HOW THE **** DOES BINARIZE WORK???
Post by: Planck on 18 Apr 2004, 19:50:50
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

Title: Re:HOW THE **** DOES BINARIZE WORK???
Post by: wired on 18 Apr 2004, 20:06:57
sos...i should hav said....im not a computer programmer lol  :P
Quote
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
Title: Re:HOW THE **** DOES BINARIZE WORK???
Post by: Planck on 18 Apr 2004, 20:17:59
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
Title: Re:HOW THE **** DOES BINARIZE WORK???
Post by: wired on 18 Apr 2004, 20:43:51
ok....i did what u said...but wrp still wont hav it
 :-\
Title: Re:HOW THE **** DOES BINARIZE WORK???
Post by: Planck on 18 Apr 2004, 20:47:02
OK.......so you got it Binarized now then......good.

Does your config.cpp have a cfgModels section?


Planck