Page 1 of 1

Animations are not munged [Solved]

Posted: Tue Mar 04, 2014 8:07 am
by Anakin
Hi,

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
clean.bat

Code: Select all

@REM clean.bat

del /s/q *.zat
del /s/q *.log
munge_subdir

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
C:\BF2_ModTools\data_XXX\Animations\SoldierAnimationBank\
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
C:\BF2_ModTools\data_RCM\Animations\SoldierAnimationBank\commando
munge.bat

Code: Select all

@call ..\munge_animation.bat "/keepframe0 /dest commando.zaf" Sides\REP
and than there are all the msh files called:
basepose.msh
commando_pistol_...
commando_bazooka_...
commando_eweb_9pose.msh


Finaly i tryed to run the munge.bat via cmd to get the output:
Image

Re: Animations are not munged

Posted: Tue Mar 04, 2014 9:01 am
by AceMastermind
Forget about the first 3 batch files you posted, they aren't important for munging a single animation set. If your OS is Vista or later then you will need to edit the munge_animation.bat as shown here.
Then just run the munge.bat from the commando folder to munge your animation set.

Re: Animations are not munged

Posted: Tue Mar 04, 2014 9:28 am
by Anakin
Thank you so much.

Do you also know an tutorial on how to make new animations in XSI?? I looked in the XSI FAQs but there are only things about what are animations, how to make 9pose animations, saber animations, flyer animations,.... but i'm looking for a tutorial starting with the basics. Importing the stock animations, modifying them, or things like that.

Re: Animations are not munged

Posted: Tue Mar 04, 2014 10:57 am
by AceMastermind
In order to make animations you must know how to animate and this requires you to know how animation works and how to use the tools in the software to get it done. The Softimage docs cover all of this and there are links to video tutorials here to help you also.

If your thread is solved please add [Solved] to the Subject line.

Re: Animations are not munged

Posted: Tue Mar 04, 2014 11:06 am
by JimmyAngler

Re: Animations are not munged [solved]

Posted: Tue Mar 04, 2014 11:13 am
by Anakin
thank you. I'll have a look at this.