Page 1 of 2
Animset Troubles
Posted: Mon May 17, 2010 5:07 pm
by Master_Ben
So I've got two simple animations I made and got exported, puncher_sabre_stand_attack1a_full.msh, and puncher_sabre_stand_idle_emote_full.msh, and a borrowed basepose. I've put it in a copy of template, renamed it to "puncher", and edited it to look like this:
@call ..\munge_animation.bat "/keepframe0 /dest puncher.zaf" Sides\rep
Ran the file, and..... nothing appeared anywhere. Any help? (One of those slap me in the face obvious solutions is welcome too

).
Thanks guys.
Re: Animset Troubles
Posted: Mon May 17, 2010 5:13 pm
by StarkillerMarek
What do the log files say?
Re: Animset Troubles
Posted: Mon May 17, 2010 5:14 pm
by Master_Ben
That's the thing. When I say nothing, I mean nothing. I see the window for a split second, and that's it.
EDIT:Ran it as administrator, same thing.
An apology to the mods is due as well, wasn't sure where to put this and actually thought this was the modding thread. Feel free to move it.
Re: Animset Troubles
Posted: Mon May 17, 2010 8:40 pm
by FragMe!
Did you set up your animation directory the same as it is shown in the assests one, meaning you have a soldieranimationbank folder, of course you don't need all the subdirectories but you do need the bat files that are in the root of the animation directory. As well as the munge_animation.bat that is in the soldieranimationbank.
now you don't necessarily need to follow the directory structure exactly but I figure if it worked for Pandemic it should work for us.
Re: Animset Troubles
Posted: Tue May 18, 2010 11:38 am
by Master_Ben
Well, I did discover that I didn't have munge_subdir, munge, and clean, in my animations folder..... But that didn't change a thing. Strange, eh?

Re: Animset Troubles
Posted: Tue May 18, 2010 12:23 pm
by FragMe!
Can only suggest double checking again that all the .bats are there in the proper spots as well check the zenasset.log and see what it says. That will show any munge errors.
Re: Animset Troubles
Posted: Tue May 18, 2010 3:16 pm
by Master_Ben
Well where would the log be located? I haven't been able to find it, and I don't think the batch is producing one.

Re: Animset Troubles
Posted: Tue May 18, 2010 11:50 pm
by FragMe!
If it was being produced it would be in the same directory as your animation msh files.
Re: Animset Troubles
Posted: Wed May 19, 2010 8:53 pm
by Master_Ben
Yeah, I thought so. Nothing appears there in any case.
So, munger = broke? Or is there a way to fix it?
Re: Animset Troubles
Posted: Wed May 19, 2010 8:59 pm
by impspy
Are you running Vista? If so this post by phazon_elite might help:
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:
To this:
I encountered this today, and I hope it helps to anyone who had this problem.
Re: Animset Troubles
Posted: Fri May 21, 2010 3:31 pm
by Master_Ben
Aha! Worked, thanks a lot!

I really appreciate it.
EDIT: Bah, scratch that. Now I get the log, saying 0 errors and whatnot, but I still don't get the animation files anywhere.
Re: Animset Troubles
Posted: Fri May 21, 2010 4:27 pm
by FragMe!
post your zenasset.log you could also just try doing a search for thenameofyouranimation.zaabin and see if it put it somewhere you weren't expecting
Re: Animset Troubles
Posted: Fri May 21, 2010 4:40 pm
by Master_Ben
Zenasset.log is 100% empty. And yeah, I tried that.
Re: Animset Troubles
Posted: Fri May 21, 2010 5:30 pm
by AQT
Just to make sure, is your side really called
rep? As in the
rep here:
@call ..\munge_animation.bat "/keepframe0 /dest puncher.zaf" Sides\rep
Re: Animset Troubles
Posted: Fri May 21, 2010 6:29 pm
by Master_Ben
Yup, a stock copy-pasted republic side.
Re: Animset Troubles
Posted: Fri May 21, 2010 8:01 pm
by FragMe!
The fact you are getting an empty zenasset means the munge.bat in your units animation folder cannot find the munge_animation.bat file it is calling for. Been there done that banged head on keyboard
So in your Animations folder you have 3 bat files (clean, munge and munge_subdir) and a folder that may be named SoldierAnimationBank
Then in the folder called SoldierAnimationBank you have one bat file called munge_animation.bat and a directory called something related to your animation, lets say puncher.
In the puncher folder you have 1 bat file called munge.bat with the changes you indicated as well as a basepose.msh and the animation msh, once again we'll just call it puncher.msh
And it is the bat file in this folder you are running to munge the animation.
Re: Animset Troubles
Posted: Fri May 21, 2010 8:18 pm
by Master_Ben
Yes, on all accounts.
Re: Animset Troubles
Posted: Fri May 21, 2010 8:22 pm
by FragMe!
Try this, copy the Aayla animation folder to your maps Animation/SoldierAnimationBank folder, then go into the folder and try running the bat see if Aayla animations munge correctly. You can always delete the resultant files from the munge folder later
Re: Animset Troubles
Posted: Fri May 21, 2010 9:54 pm
by Master_Ben
Good idea, done. Yup, Aayla's worked. I'm gonna assume it's my animations then?

Re: Animset Troubles
Posted: Fri May 21, 2010 10:19 pm
by FragMe!
When you exported the animations you did click on the animation boxes in the pandemic exporter. sorry just had to ask. Another thing you could do is copy your animations to aalyas folder, the one you just did a munge from, delete the existing msh files first, and try munging that. Don't edit the munge.bat file.