0 Members and 2 Guests are viewing this topic.
- run bin.bat with the addon directory name as parameter (E.g. "bin myaddon")
@echo off@if "%1"=="" ( echo Usage: bin ksign goto :EndOfFile)@rem Model file optimizationrem Cemove current contentrd /s /q Opt\%1rem Create target directorymkdir Opt\%1rem Perform binarizationbinarize -textures=Opt -exclude=Opt\exclude.lst %1 Opt\%1rem Copy all except model and texturesxcopy %1 Opt\%1 /exclude:exclude.txtrem Note: textures referenced from other addons or pbo filesrem can be found in corresponding Opt subdirectories (like Opt/Data):EndOfFile