Page 1 of 1

Munge_Animation isn't working with Windows 10 [Solved]

Posted: Sun Dec 20, 2015 6:21 pm
by Havoc 526
Good evening! I seem to have encountered a problem when trying to set up a custom animation. I'm trying to set up the Jedi Sprint so they use the running animation the normal soldiers use while holding a pistol (Probably wont look right, but I'll cross that bridge when I get there) using Obi Wan's Animation Bank. Unfortunately when I use the Munge.bat file, nothing happens. I looked into a fix for the Munge_Animation.bat file, found the one that fixes it for Vista (So it's gotta work with a later OS, right?), got that squared away, and still nothing. :cpu:

I'm using Windows 10, in case that helps. Here's my Munge_Animation.bat if that helps as well.
Hidden/Spoiler:
@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=..\..\..
REM @if "%MUNGE_BIN_DIR%"=="" (
@set MUNGE_BIN_DIR=%CD%\%MUNGE_ROOT_DIR%\..\ToolsFL\Bin
@set PATH=%CD%\%MUNGE_ROOT_DIR%\..\ToolsFL\Bin;%PATH%
REM )

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

Re: Munge_Animation isn't working with Windows 10

Posted: Mon Dec 21, 2015 3:27 am
by giftheck
If you have a 64bit version, add this to the start of your munge.bat

Code: Select all

@set path=C:/windows/system32

Re: Munge_Animation isn't working with Windows 10

Posted: Mon Dec 21, 2015 3:56 am
by Havoc 526
Yeah, it's a 64bit. And do you mean like this?
Hidden/Spoiler:
@set path=C:/windows/system32

@call ..\munge_animation.bat "/keepframe0 /dest obiwan.zaf" Sides\REP

Re: Munge_Animation isn't working with Windows 10

Posted: Mon Dec 21, 2015 4:33 am
by giftheck
Yeah, that's how it should look. It should work.

Re: Munge_Animation isn't working with Windows 10

Posted: Tue Dec 22, 2015 2:09 pm
by Havoc 526
Well, that did it! Thanks for your help! I owe you one!