View Single Post
Old 09-02-2007, 06:36 AM   #5 (permalink)
DeeZire
Administrator
 
DeeZire's Avatar
 
Join Date: Dec 2002
Posts: 1,913
Send a message via ICQ to DeeZire
Default

Solution from the devs;-

Code:
Yes, getting this posted officially soon, but here is the
workaround explanation:

Basically we need to get the modders to build their assets twice like we
do when building in high and low lod.  They can do this by adding
another line to their buildmod.bat files that basically executes the
build a second time with and updated commandline.  Here is what that
would look like:

Original:

 

@echo Building Mod Data...

tools\binaryAssetBuilder.exe "%cd%\Mods\%1\data\mod.xml"
/od:"%cd%\BuiltMods" /iod:"%cd%\BuiltMods" /vf:true /ls:false /gui:false
/UsePrecompiled:true /LinkedStreams:true

 

Updated:

 

@echo Building Mod Data...

tools\binaryAssetBuilder.exe "%cd%\Mods\%1\data\mod.xml"
/od:"%cd%\BuiltMods" /iod:"%cd%\BuiltMods" /vf:true /ls:false /gui:false
/UsePrecompiled:true /LinkedStreams:true

 

@echo Building Mod Data in LOW LOD...

tools\binaryAssetBuilder.exe "%cd%\Mods\%1\data\mod.xml"
/od:"%cd%\BuiltMods" /iod:"%cd%\BuiltMods" /vf:true /ls:false /gui:false
/UsePrecompiled:true /LinkedStreams:true  /BuildConfigurationName:LowLOD
/BasePatchStream:"%cd%\builtmods\mods\%1\data\mod.manifest

 

They can add some kind of optional parameter to make this optional but
for now just adding that second section to buildmod.bat would suffice.
Then they will need to add the following which will fix the crash that
will follow if it's not there:

 

del "%cd%\Builtmods\mods\%1\data\mod_l.version

 

This needs to be placed before the line:

 

@echo Creating MOD Big File...
__________________
DeeZire is offline   Reply With Quote