Kitty Corp Meow Mix Forums

Super Smash Bros. Brawl Hacking => Programming => Topic started by: clydeicus on June 11, 2013, 01:24:09 PM



Title: ColladaTool animation converter
Post by: clydeicus on June 11, 2013, 01:24:09 PM
ColladaTool is a simple utility for working with the CHR0
animation files that BrawlBox exports.

>>CURRENT IS v1.2
      Added formatting to DAE output converted from CHR0 to make them "proper" Collada files.


...and now there's a TUTORIAL (http://clydeshaffer.com/CTTut.pdf)!

ColladaTool does exactly three things:

   >> Batch-convert CHR0 animations to DAE format

   >> Concatenate animations in a batch of DAE files

   >> Insert/replace animations into DAE model files


Download ColladaTool and/or the source (https://www.dropbox.com/sh/ocoeb4em4dqw3oe/4DQ_e6PgDa)

(http://i.imgur.com/JCk83P7.png) (http://i.imgur.com/NMzFNTs.png)

Let me know of any super awful bugs you encounter, or what edits I could do to make it more useful!

-Clyde


Title: Re: ColladaTool animation converter
Post by: DoctorFlux(Mariodk) on June 11, 2013, 02:02:15 PM
so finnaly a Brawlbox chr0 to "insert file that can open in 3ds max" animetion converter?
i get error then i try to open the convertered chr0: "animetion name".dae  in 3ds max
the error in 3ds max say:
While reading or writing a file the following notifications have been raised.
    -ERROR: Unable to parse xml/dae file


Title: Re: ColladaTool animation converter
Post by: clydeicus on June 11, 2013, 03:31:58 PM
so finnaly a Brawlbox chr0 to "insert file that can open in 3ds max" animetion converter?
i get error then i try to open the convertered chr0: "animetion name".dae  in 3ds max
the error in 3ds max say:
While reading or writing a file the following notifications have been raised.
    -ERROR: Unable to parse xml/dae file

Could you post the converted file you're trying to open? I'll take a look at it side-by-side with with my output code.


Title: Re: ColladaTool animation converter
Post by: BlackJax96 on June 11, 2013, 04:24:45 PM
He probably didn't inject the animation DAEs into a model DAE.

I highly suggest you write a mini tutorial.
Took me a few minutes to figure that out when I first tried it.


Title: Re: ColladaTool animation converter
Post by: RandomTBush on June 11, 2013, 04:33:06 PM
He probably didn't inject the animation DAEs into a model DAE.

I highly suggest you write a mini tutorial.
Took me a few minutes to figure that out when I first tried it.
I figured it out right way. However, there are a few oddities I noticed where the animations make the model twist itself oddly at times. That's due to the interpolation, though.


Title: Re: ColladaTool animation converter
Post by: clydeicus on June 11, 2013, 05:52:42 PM
I highly suggest you write a mini tutorial.
Took me a few minutes to figure that out when I first tried it.

Good idea, later I'll write up a short walkthrough with screenshots.

I figured it out right way. However, there are a few oddities I noticed where the animations make the model twist itself oddly at times. That's due to the interpolation, though.

I have noticed this. It seems to make everyone move like Voldo, which is decidedly a bug and not a feature. I'll have to experiment later, with getting the interpolation to behave. Perhaps I could add an option to insert more keyframes for more better interpolation, or figure out how to animate on Location, Rotation, and Scale rather than matricies.

(I've never used COLLADA-anything before this weekend. That spec is pretty obtuse.)


Title: Re: ColladaTool animation converter
Post by: DoctorFlux(Mariodk) on June 12, 2013, 12:56:37 AM
He probably didn't inject the animation DAEs into a model DAE.

I highly suggest you write a mini tutorial.
Took me a few minutes to figure that out when I first tried it.
that most possible be what i have did wrong
so yeah do a tutorial


Title: Re: ColladaTool animation converter
Post by: clydeicus on June 13, 2013, 12:47:03 AM
Haven't gotten to the tutorial yet, but I've made an update that should make the individual animations proper Collada format if you want to use them without embedding them in a model.


Title: Re: ColladaTool animation converter
Post by: DarkPikachu on June 13, 2013, 10:49:14 AM
does it work with blender 26 (not 24)??

if so, I'll gladly test it ;D
I don't use 3DS enough to know how it works XDD
so that's why I ask :)

still though... cool tool!
always glad to see new software in the community :)


Title: Re: ColladaTool animation converter
Post by: Dantarion on June 13, 2013, 11:46:04 AM
You should try using FBX format.
I may use your source and try to use FBX instead, or at least, individual animation curves instead of matricies


Title: Re: ColladaTool animation converter
Post by: Don Jon Bravo on June 13, 2013, 07:57:55 PM
so we can finally perfect our rigs inside 3ds max?
Noice.


Title: Re: ColladaTool animation converter
Post by: DoctorFlux(Mariodk) on June 14, 2013, 07:13:04 AM
so we can finally perfect our rigs inside 3ds max?
Noice.
we can already that if you is a still rigger
i am more thinking on rip animetions from brawl,NSMBwii and be able to use brawlbox for animetion maker to:
for making 3d fan games or 3d animetion videos now with this tool


Title: Re: ColladaTool animation converter
Post by: namq on June 14, 2013, 12:44:30 PM
with this we can use animations from 3DS max and export those into brawlbox, or is it the other way around?


Title: Re: ColladaTool animation converter
Post by: DoctorFlux(Mariodk) on June 14, 2013, 12:48:50 PM
with this we can use animations from 3DS max and export those into brawlbox, or is it the other way around?
is it other way around
since that you just say was already possible
with that Animetion Exporter scripts that is inc. in Brawlbox


Title: Re: ColladaTool animation converter
Post by: namq on June 14, 2013, 12:54:14 PM
ok, thanks.  Was getting a tad hype thinking I could export/rip animations from a non-wii game, and use it in brawl, that would be amazing


Title: Re: ColladaTool animation converter
Post by: Don Jon Bravo on June 14, 2013, 08:32:29 PM
we can already that if you is a still rigger
i am more thinking on rip animetions from brawl,NSMBwii and be able to use brawlbox for animetion maker to:
for making 3d fan games or 3d animetion videos now with this tool
i like to "perfect" the rig with the most weird animation
because i hate having to export;
check in brawlbox the rig with animations
go back to 3ds max and edit the rig
export again
check in brawlbox the rig with animations
go back to 3ds max and edit the rig
export again
check in brwkawsfjp;aelk,tj'a


Title: Re: ColladaTool animation converter
Post by: clydeicus on June 14, 2013, 09:03:37 PM
I'm busily applying to game industry jobs lately, but I'd love to find time at some point to experiment with different file formats or wrangle Collada format into doing better interpolations.

DarkPika: I haven't tried the output models with Blender yet, though I totally should! Blender is my usual go-to tool for 3D modeling since I've not got 3ds Max or Maya either.
-----
ALSO I've made that tutorial now, and linked to it on the initial post. The risk of bodily harm via getting limbs caught in your disk drive with my software might just be at an all time low thanks to this recent development! ;D


Title: Re: ColladaTool animation converter
Post by: DoctorFlux(Mariodk) on June 15, 2013, 03:19:37 AM
yeah we needing to convert to a File format where Model file and ANimetion file is separated
that will be nice and usefull

so we dont needing to have like 1x model+1x animetion per .dae
if we needing to get it to feel like the animetion files+Model is separated
like as Brres Viewer can Export to 2 file format animetions files (MD5/PSA animetion file formats)
but the problem with Brres viewer it dont work with Exported BrawlBox models
and it messed up models if export with brres viewer


Title: Re: ColladaTool animation converter
Post by: DarkPikachu on June 15, 2013, 06:45:44 AM
I'm busily applying to game industry jobs lately, but I'd love to find time at some point to experiment with different file formats or wrangle Collada format into doing better interpolations.

DarkPika: I haven't tried the output models with Blender yet, though I totally should! Blender is my usual go-to tool for 3D modeling since I've not got 3ds Max or Maya either.
-----
ALSO I've made that tutorial now, and linked to it on the initial post. The risk of bodily harm via getting limbs caught in your disk drive with my software might just be at an all time low thanks to this recent development! ;D
I can verify this ;)
though you're wrong about the 3DS part :D

I have 3DS installed... I just don't like using it...
nor do I really know how... :P
same goes for XSI as well XD

I wanna get Maya again though ;_;
(lost it when my 160GB HDD went RAW)
 ^ I did not know about Recuva at the time, and lost practically everything except a portion of my music...

anyways... I agree with MarioDK...
we do need to find a better format >_>

perhapse we could mod the OBJ format :/
... wait... I'm thinking of for UMC and Blender...
(both can have the mod easily implamented)


Title: Re: ColladaTool animation converter
Post by: ForOhFor Error on June 15, 2013, 11:16:44 AM
Can you not get the student version of Maya?


Title: Re: ColladaTool animation converter
Post by: clydeicus on June 15, 2013, 11:51:42 AM
Downloaded the trial of 3ds Max to test with. So far Captain Falcon, Donkey Kong, and Snake import successfully with their animations. Importing Link causes 3ds Max to crash even without ColladaTool's influence.


Title: Re: ColladaTool animation converter
Post by: DarkPikachu on June 15, 2013, 01:52:07 PM
Can you not get the student version of Maya?
I had the pro version... (cracked)

Maya was actually the first 3D program I started using...


Title: Re: ColladaTool animation converter
Post by: thegameexplorer on July 01, 2013, 08:52:18 AM
I keep getting this error:
Reading or Writing File
While reading or writing a file the following notifications have been raised.
    -ERROR: extra structure at the end of the main structure: <library_animations>
    -ERROR: Unable to parse xml/dae file
I'm using Max 2010 btw


Title: Re: ColladaTool animation converter
Post by: Don Jon Bravo on July 04, 2013, 06:15:00 PM
hei
I made very good use of your awesome tool
In this video i show you guys how to edit and renew your skin modifier using a built dae by the collada tool so your rig looks at its best when at weird brawl animations

http://youtu.be/11_pGNktVcQ (http://youtu.be/11_pGNktVcQ)


Title: Re: ColladaTool animation converter
Post by: clydeicus on July 10, 2013, 08:00:07 PM
I'm glad you got some use out of it! I haven't done anything with it in a few weeks because I've been travelling and then I started another project, a MOBA template for Unity3D.

Once that's finished though, I'll likely start doing more edits to the tool in case I want to use some Brawl characters to, er... test with.


Title: Re: ColladaTool animation converter
Post by: clydeicus on July 13, 2013, 09:07:58 PM
Good news everyone!

Version 1.3 is up. Now when you use ColladaTool to concatenate and insert animations into a DAE model, the tool will also generate a text file in the target directory listing the frame ranges of each animation in the sequence.


Title: Re: ColladaTool animation converter
Post by: TravixMan Productions on July 17, 2013, 06:46:59 PM
I keep getting this error:
Reading or Writing File
While reading or writing a file the following notifications have been raised.
    -ERROR: extra structure at the end of the main structure: <library_animations>
    -ERROR: Unable to parse xml/dae file
I'm using Max 2010 btw
I keep getting this error too.  I put the animations in a DAE file, but it won't load in 3DS Max. 


Title: Re: ColladaTool animation converter
Post by: KendallJT on September 08, 2013, 03:08:00 PM
How do I Export the animations back to .chr0? or something like that. The animation export that comes with Brawl Box isn't doing wonders for me. Or I just can't find any tutorials to go with it. Maybe you could add that in the program. Convert Animation files like .xaf into .chr0 would be a helpful feature. I'm a 3Ds Max user, but maybe make for the other programs that support BrawlBox or or or OR, maybe see if you can ask the 2 developers of BrawlBox if they could apply your program into Brawl box! I'm just throwing some Ideas out there for yuh. But if you could tell me how to do the whole animation back into brawlbox that would be helpful!


Title: Re: ColladaTool animation converter
Post by: pikazz on September 10, 2013, 05:54:33 PM
it seems the download files is problem, I cant get them :c

the link works but as soon its download is done, it a other file and saying its "broken" :c


Title: Re: ColladaTool animation converter
Post by: Sm4sh56 on December 17, 2015, 12:01:51 PM
Whenever I try to import this into Blender, I get an error. Any idea why that is? I followed the tutorial exactly!


Title: Re: ColladaTool animation converter
Post by: Colossalcake on February 20, 2016, 07:59:19 PM
Whenever I try to import this into Blender, I get an error. Any idea why that is? I followed the tutorial exactly!

Same here, actually it's not that I'm getting any errors, but no animations are linked to the .dae when it's opened. Not in Blender or 3DS Max or Unity. Make sure you're opening the FitCharacter00.dae and not the animation.dae that the tool is making though.

EDIT: I should also add I'm using Project M fighter files and BrawlBox 0.71