Animations are not munged [Solved]

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Animations are not munged [Solved]

Post 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
Last edited by Anakin on Tue Mar 04, 2014 11:12 am, edited 1 time in total.
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: Animations are not munged

Post 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.
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: Animations are not munged

Post 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.
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: Animations are not munged

Post 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.
JimmyAngler
High General
High General
Posts: 837
Joined: Mon Nov 04, 2013 10:37 am
Projects :: Battlefront Halation
Games I'm Playing :: SWBF 1-2-2015
xbox live or psn: none
Location: Area 51

Re: Animations are not munged

Post by JimmyAngler »

User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: Animations are not munged [solved]

Post by Anakin »

thank you. I'll have a look at this.
Post Reply