i have a problem with mungeing animations. I followed DarthD.U.C.K.'s tutorial
this is what my files looke like:
C:\BF2_ModTools\data_XXX\Animations\
munge.bat
Code: Select all
@REM munge.bat
@REM Calls %1\munge.bat for all animation subdirectories
@REM soldier animation banks
@call munge_subdir.bat SoldierAnimationBank\commando
Code: Select all
@REM clean.bat
del /s/q *.zat
del /s/q *.log
Code: Select all
@REM called from $\Animations
@if not exist %1 goto error
@set PWD=%CD%
@cd %1
@call munge.bat
@cd %PWD%
@goto end
:error
@echo ERROR: Animation sub-directory %1 does not exist!
:end
munge_animation.bat
Code: Select all
@REM called from $\Animations\type\subfolder\
@REM all params are passed to zenasset
@REM if there are more than 9 parameters to pass, you can enclose all params in double quotes
@setlocal
@set MUNGE_ROOT_DIR=..\..\..
@if "%MUNGE_BIN_DIR%"=="" (
@set MUNGE_BIN_DIR=%CD%\%MUNGE_ROOT_DIR%\..\ToolsFL\Bin
@set PATH=%CD%\%MUNGE_ROOT_DIR%\..\ToolsFL\Bin;%PATH%
)
zenasset /multimsh /writefiles %~1 > ZenAsset.log
@mkdir %MUNGE_ROOT_DIR%\%2\MUNGED
binmunge -inputfile *.zaa -chunkid zaa_ -ext zaabin -outputdir %MUNGE_ROOT_DIR%\%2\MUNGED\
binmunge -inputfile *.zaf -chunkid zaf_ -ext zafbin -outputdir %MUNGE_ROOT_DIR%\%2\MUNGED\
del *.zaa
del *.zaf
move *.anims %MUNGE_ROOT_DIR%\%2\MUNGED\
@endlocal
munge.bat
Code: Select all
@call ..\munge_animation.bat "/keepframe0 /dest commando.zaf" Sides\REP
basepose.msh
commando_pistol_...
commando_bazooka_...
commando_eweb_9pose.msh
Finaly i tryed to run the munge.bat via cmd to get the output:




