Page 1 of 1

Door animation munge problem in Windows 7 [Solved]

Posted: Sun Aug 29, 2010 6:53 am
by Lephenix
Hello , i followed fragme ' s tuto about setuping doors in xsi to swbf2 , but there is a problem , all in xsi is setuped right , when i click on munge in data_***/Animations/ , it is really fast , and after in the tuto , he said , to see if the animation is munged correctly , there will be files in data***/worlds/***/MUNGED , but there is nothing

What is the problem , Thanks in advance .

Re: Door munged problem

Posted: Sun Aug 29, 2010 6:57 am
by DarthD.U.C.K.
can you please post your munge.bats and the name of your anims?

Re: Door munged problem

Posted: Sun Aug 29, 2010 7:24 am
by Lephenix
My model is msb_door1 , msb_door1_basepose and , msb_door1_open , my munge.bat situated in the data_***/animations/props/msb_door1/ is :

@call ..\munge_animation.bat "/keepframe0 /specialquathack /dest msb_door1.zaf" Worlds\MSB

and the one in data_***/animations/ is :

@REM munge.bat
@REM Calls %1\munge.bat for all animation subdirectories

@REM soldier animation banks
@call munge_subdir.bat SoldierAnimationBank\sitting


@REM first person animation banks


@REM addons


@REM vehicles


@REM props

@call munge_subdir.bat Prop\msb_door1

Re: Door munged problem

Posted: Sun Aug 29, 2010 7:29 am
by DarthD.U.C.K.
and you got the basepose.msh and open.msh in the Animation\Prop\doorname\ folder together with the munge.bat?

Re: Door munged problem

Posted: Sun Aug 29, 2010 11:42 am
by Lephenix
Yes
EDIT : Vid : http://s1043.photobucket.com/albums/b43 ... roblem.mp4

Re: Door munged problem

Posted: Sun Aug 29, 2010 1:44 pm
by DarthD.U.C.K.
that link doesnt seem right to me...

Re: Door munged problem

Posted: Sun Aug 29, 2010 2:41 pm
by FragMe!
Lephenix_dor wrote:My model is msb_door1 , msb_door1_basepose and , msb_door1_open ,
The files when you export them would be called
The normal model to the msh folder
msb_door1
To the animation folder
basepose
open

you do not need and really shouldn't have any thing in front of basepose or open.

Re: Door munged problem

Posted: Tue Aug 31, 2010 7:16 am
by Lephenix
I tryed with the same door , same names of your tuto ,and same , it is a munge problem :S .
Fragme or darth duck , can you make a vid of you following the tuto ? I will see if i forget something before munging .
I captured a pic when it munged : http://i1043.photobucket.com/albums/b43 ... /error.png


And btw , my door ^^: http://i1043.photobucket.com/albums/b43 ... eddoor.png

Re: Door munged problem

Posted: Tue Aug 31, 2010 9:38 am
by FragMe!
Which munge.bat are you running, it should be the one that is in the folder where you door animation is. The one you edited. That is the one I always run.

Re: Door munged problem

Posted: Tue Aug 31, 2010 10:35 am
by Lephenix
it is the munge.bat in data_***/animations , what is the one you run ? I tryed the one in data_***/animations/prop/msb_door/ and it is the same thing , ATI was unexpected ...
And when i clean , there is that : http://i1043.photobucket.com/albums/b43 ... nerror.png

Re: Door munged problem

Posted: Tue Aug 31, 2010 11:06 am
by FragMe!
This is the one I was referring to
data_***/animations/prop/msb_door/

not sure where all those ATI messages are coming from but I am going to guess you are running Vista or Windows 7. If that is the case have a look at the topics in the FAQ about ZE and or munge problems related to this. I use XP so I can't really help much with Vista/Win7 related errors.

Re: Door munged problem

Posted: Tue Aug 31, 2010 11:07 am
by Lephenix
yes , i am running 7 , and i installed the fix for visual munge for it works perfectly with vista and 7 .

What is the fix? Does it change paths? If so look at the munge and mungesubdirectoy(?) bat files in the animation directory and see if those paths need to change too.

EDIT , found a fix
phazon_elite wrote:
Very sorry to bump this, but I have some important information regarding this fix.

If anyone has run into the problem of munge_animation.bat not working in Vista, here's a fix:

Change this:

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=..\..\..
@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


To this:

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


I encountered this today, and I hope it helps to anyone who had this problem.
Now it works :D , [SOLVED]