Kitty Corp Meow Mix Forums

Super Smash Bros. Brawl Hacking => Programming => Topic started by: Dantarion on February 11, 2014, 02:17:24 AM



Title: BrawlBox, To Maya, and BACK!
Post by: Dantarion on February 11, 2014, 02:17:24 AM
MayaImporting (http://www.youtube.com/watch?v=BNCH5bjS5i8#ws)

What can we do with this?


Title: Re: BrawlBox, To Maya, and BACK!
Post by: Sammi Husky on February 11, 2014, 02:27:20 AM
Been waiting to see this! also, congrats on making mega kitten dant  :af2:


Title: Re: BrawlBox, To Maya, and BACK!
Post by: pikazz on February 11, 2014, 05:18:23 AM
what is this for madness? that a reason to get Maya!


Title: Re: BrawlBox, To Maya, and BACK!
Post by: PhantomWings on February 11, 2014, 03:36:35 PM
Dat Falcon. Look at him strut his stuff.

Nicely done Dant. Good to see you're as badass as ever.


Title: Re: BrawlBox, To Maya, and BACK!
Post by: KingJigglypuff on February 11, 2014, 03:38:39 PM
So how did you accomplish this, Dant? \o0o/


Title: Re: BrawlBox, To Maya, and BACK!
Post by: Sammi Husky on February 11, 2014, 03:39:59 PM
i got maya just for this :P lol


Title: Re: BrawlBox, To Maya, and BACK!
Post by: Albafika on February 11, 2014, 03:57:05 PM
Awesome indeed, Dant.


Title: Re: BrawlBox, To Maya, and BACK!
Post by: Spex130 on February 11, 2014, 05:18:07 PM
Cool as it is, what exactly IS this?


Title: Re: BrawlBox, To Maya, and BACK!
Post by: Sammi Husky on February 11, 2014, 05:19:25 PM
importing brawlbox's .anim files into maya, then  back lol


Title: Re: BrawlBox, To Maya, and BACK!
Post by: Dantarion on February 11, 2014, 07:29:24 PM
I fixed BrawlBox's animation exporter to actually work, then I wrote a tool called BrawlBox2Maya.

It takes 2 paramters on the command like, a filename for a model pac, and a filename for an animation .pac.

It outputs all animations in the animation .pac as .anim's, and extracts the model as DAE and the textures as PNG. It also writes a mel script that can be used to create a maya scene for playback of the animations :D.

Soon it will create a FBX file for each animation, allowing someone to use brawl assets as placeholders for a game engine they might be working on.


Title: Re: BrawlBox, To Maya, and BACK!
Post by: Spex130 on February 11, 2014, 07:32:54 PM
Oh holy crap.

That's really nice! Nice work!


Title: Re: BrawlBox, To Maya, and BACK!
Post by: Sammi Husky on February 11, 2014, 07:39:13 PM
That's amazing!

actually, this woulda been immensely useful when i was making my game. This will also make animating for brawl alot easier.

so, it takes a filename for an input model .pac and input animation .pac? then exports them to a specified location, with textures? if so that's really awesome :D


Title: Re: BrawlBox, To Maya, and BACK!
Post by: Ultraxwing on February 11, 2014, 07:44:06 PM
I fixed BrawlBox's animation exporter to actually work, then I wrote a tool called BrawlBox2Maya.

It takes 2 paramters on the command like, a filename for a model pac, and a filename for an animation .pac.

It outputs all animations in the animation .pac as .anim's, and extracts the model as DAE and the textures as PNG. It also writes a mel script that can be used to create a maya scene for playback of the animations :D.

Soon it will create a FBX file for each animation, allowing someone to use brawl assets as placeholders for a game engine they might be working on.
Oh sweet, it works in the reverse correct? it could export the animation one could've made to brawl? and Maya has a ton of standard animations for download from the large community it has, so importing those animation could save plenty of animators time. and Stage makers.
Totally not helping Blackjax at all


Title: Re: BrawlBox, To Maya, and BACK!
Post by: reilavac on February 11, 2014, 07:56:56 PM
Really useful, cool. I'll be able to use Maya for something now.


Title: Re: BrawlBox, To Maya, and BACK!
Post by: Sammi Husky on February 12, 2014, 11:37:30 AM
Keep us posted on development dant :) can't wait to see this thing in action


Title: Re: BrawlBox, To Maya, and BACK!
Post by: shadowXtreme on February 12, 2014, 12:23:09 PM
Kinect and Maya motion capture systeeeeeem!


Title: Re: BrawlBox, To Maya, and BACK!
Post by: SonicBrawler on February 12, 2014, 02:21:53 PM
oh ok. at first i thought it was just exporting models itself to maya and back cuz i was like "uh, cant we already do this" then I actually looked at the thread. nice job.


Title: Re: BrawlBox, To Maya, and BACK!
Post by: Bakuryu on February 28, 2014, 08:39:24 PM
Any update on this? Very interested myself to try this.


Title: Re: BrawlBox, To Maya, and BACK!
Post by: reilavac on March 02, 2014, 09:59:40 PM
oh ok. at first i thought it was just exporting models itself to maya and back cuz i was like "uh, cant we already do this" then I actually looked at the thread. nice job.
Yep, looking can lead to great things :)


Title: Re: BrawlBox, To Maya, and BACK!
Post by: Dantarion on March 04, 2014, 12:12:04 PM
I need to figure out the best way to package this up! I think its just going to be an EXE and two batch files. Sorry to anyone that is expecting a fancy GUI.

version v1 will just extract into Maya, version v2 will batch convert back. Honestly, theres no real point to batch convert back I think....


Title: Re: BrawlBox, To Maya, and BACK!
Post by: Bakuryu on March 04, 2014, 06:11:01 PM
I'm super looking forward to this. Has it been tested in game? Like I can make Rob actually do the robot as a taunt?


Title: Re: BrawlBox, To Maya, and BACK!
Post by: Sammi Husky on March 05, 2014, 12:09:37 AM
I need to figure out the best way to package this up! I think its just going to be an EXE and two batch files. Sorry to anyone that is expecting a fancy GUI.

version v1 will just extract into Maya, version v2 will batch convert back. Honestly, theres no real point to batch convert back I think....

That's sounds Great! Will v1 be able to convert from maya back to Bbox? Or is that in store for v2? I asume by 'batch convert', you meant conversion of multiple anims at a time?


Title: Re: BrawlBox, To Maya, and BACK!
Post by: exasm on March 09, 2014, 07:57:42 PM
Any news on this :O? I have actually been trying to do the exact same thing for the last couple of days.


Title: Re: BrawlBox, To Maya, and BACK!
Post by: Dantarion on March 10, 2014, 12:57:49 PM
That's sounds Great! Will v1 be able to convert from maya back to Bbox? Or is that in store for v2? I asume by 'batch convert', you meant conversion of multiple anims at a time?

BrawlBox already has a .anim importer, its the exporter that was broken.
Anyways.


Title: Re: BrawlBox, To Maya, and BACK!
Post by: Sammi Husky on March 10, 2014, 11:10:12 PM
ahh okay cool. Well, this is definitely gonna make a huge impact, at least for me. Can't wait to see it man


Title: Re: BrawlBox, To Maya, and BACK!
Post by: exasm on March 11, 2014, 02:35:14 PM
BrawlBox already has a .anim importer, its the exporter that was broken.
Anyways.
Could you upload your fixed BrawlBox somewhere:)?


Title: Re: BrawlBox, To Maya, and BACK!
Post by: Sammi Husky on March 11, 2014, 03:06:42 PM
Yea that'd be awesome. Though anything you come out with will be awesome


Title: Re: BrawlBox, To Maya, and BACK!
Post by: Bakuryu on March 24, 2014, 11:42:56 AM
Still waiting on this XD


Title: Re: BrawlBox, To Maya, and BACK!
Post by: exasm on April 08, 2014, 05:59:05 AM
Bump.


Title: Re: BrawlBox, To Maya, and BACK!
Post by: Dantarion on April 08, 2014, 10:26:32 AM
I fell off the earth. Really sorry guise :(


Title: Re: BrawlBox, To Maya, and BACK!
Post by: Sammi Husky on April 08, 2014, 11:46:45 AM
dang, i assume that means its gonna be a while? Hopefully this will eventually get finished, im really looking forward too it :)


Title: Re: BrawlBox, To Maya, and BACK!
Post by: exasm on April 12, 2014, 09:15:03 AM
I fell off the earth. Really sorry guise :(
So, could you share your fix? I'll be happy to compile it myself and share it here if you don't have the time or something.


Title: Re: BrawlBox, To Maya, and BACK!
Post by: Bakuryu on April 17, 2014, 11:10:54 AM
Don't disappear we need you! (or atleast your code)  :P


Title: Re: BrawlBox, To Maya, and BACK!
Post by: exasm on April 23, 2014, 10:26:28 AM
Bump.


Title: Re: BrawlBox, To Maya, and BACK!
Post by: KingJigglypuff on April 23, 2014, 10:38:37 AM
Bump.
You're still hyping over this?

You should honestly give up. He did the same thing for Brawl Masquerade. Showing previews, but never releasing anything and hyping people up, but never delivering.

You're better off making a request thread for someone to make their own script.

But who knows? By some random "miracle",  he could come back with a release. Though right now, you're wasting your breath.

I would really like to be proved wrong, but I have lost hope. Maybe he'll reveal more when the next version of P:M is out.


Title: Re: BrawlBox, To Maya, and BACK!
Post by: Sammi Husky on April 23, 2014, 11:40:10 AM
in all honesty he's probably just caught up with P:M stuff. Don't count him out just yet, im hopeful he'll pull through for us


Title: Re: BrawlBox, To Maya, and BACK!
Post by: exasm on April 23, 2014, 03:24:14 PM
You're still hyping over this?

You should honestly give up. He did the same thing for Brawl Masquerade. Showing previews, but never releasing anything and hyping people up, but never delivering.

You're better off making a request thread for someone to make their own script.

But who knows? By some random "miracle",  he could come back with a release. Though right now, you're wasting your breath.

I would really like to be proved wrong, but I have lost hope. Maybe he'll reveal more when the next version of P:M is out.
All he has to do is upload his fix of BrawlBox somewhere. Which should be 5 minutes of work.


Title: Re: BrawlBox, To Maya, and BACK!
Post by: pikazz on April 25, 2014, 04:10:37 AM
I love that this wasnt posted here:
BrawlBox2Maya - Fox Wait2, Thanks Eternal_Yoshi for finding a bug! (http://www.youtube.com/watch?v=KnXjYBCB8Rs#ws)


Title: Re: BrawlBox, To Maya, and BACK!
Post by: Eternal Yoshi on April 25, 2014, 03:49:23 PM
That's because it's still not done yet. There's still more to do and flaws to address.
In the meantime, this.

http://www.youtube.com/watch?v=4LpGJx-Ny6o


Title: Re: BrawlBox, To Maya, and BACK!
Post by: KingJigglypuff on April 25, 2014, 03:54:10 PM
Well count my point proved wrong (at least for now). \o0o/

So for now, I'll take back my statement.


Title: Re: BrawlBox, To Maya, and BACK!
Post by: pikazz on April 26, 2014, 04:19:06 PM
That's because it's still not done yet. There's still more to do and flaws to address.
In the meantime, this.

http://www.youtube.com/watch?v=4LpGJx-Ny6o
one thing for sure, when that is released, I will do the animations I always wanted in no time!


Title: Re: BrawlBox, To Maya, and BACK!
Post by: Dantarion on April 27, 2014, 05:36:02 PM
EY is testing it more than i have ever used it!

Post Merge: April 28, 2014, 11:26:19 PM
Worked on this more a bit. May have to have EY help me with the animation playback speed and to check some stuff.

https://www.youtube.com/watch?v=mmGq68kdqSQ&feature=youtu.be (https://www.youtube.com/watch?v=mmGq68kdqSQ&feature=youtu.be)


Title: Re: BrawlBox, To Maya, and BACK!
Post by: Sammi Husky on April 29, 2014, 12:00:16 AM
Oh man that is sweet! The anticipation is killing me lol :P Can't wait to see this thing in action.


Title: Re: BrawlBox, To Maya, and BACK!
Post by: Dantarion on April 29, 2014, 10:55:30 AM
There is some kind of bug where some of the animations end up sideways. After I fix that up, and make the program create folders to put the models/animations/melscript into instead of one big folder, this should be ready to go!

I fixed a bug in the video where animations were resampled and frames were lost.


Title: Re: BrawlBox, To Maya, and BACK!
Post by: pikazz on April 29, 2014, 11:20:29 AM
There is some kind of bug where some of the animations end up sideways. After I fix that up, and make the program create folders to put the models/animations/melscript into instead of one big folder, this should be ready to go!

I fixed a bug in the video where animations were resampled and frames were lost.
thats fantastic! its result atleast x3

but what could be the problem of some is walking on the side? maybe if one of the "Main" bones (TopN, TransN ect) isn't in the animation and making the model Z- Up instead of Y-Up
(just throwing ideas)

or it could be too fast by converting and miss the Y-Up flag or some other frames!


Title: Re: BrawlBox, To Maya, and BACK!
Post by: Dantarion on April 29, 2014, 11:43:12 AM
I think certain animations are applied differently than others. There are animations that are actually poses, and animations that aren't nessearily PLAYED, like the ones for aiming items. (The upperbody and lowerbody animations are seperate)


Title: Re: BrawlBox, To Maya, and BACK!
Post by: pikazz on April 29, 2014, 12:05:56 PM
I think certain animations are applied differently than others. There are animations that are actually poses, and animations that aren't nessearily PLAYED, like the ones for aiming items. (The upperbody and lowerbody animations are seperate)
that might be the case, those special animations thats are poses and often "merged" with other animations ingame.

can it be possible flags that does it? CHR0 appears have some kind of flags


Title: Re: BrawlBox, To Maya, and BACK!
Post by: Dantarion on April 29, 2014, 12:20:10 PM
You may be onto something. Right now my code just ignores the flags, but there may be bones I want to omit from exporting in certain animations. I'm going to examine which ones are like that today when I get home from work. Its a little complicated because I have to check everything I do 3 times.

1. I check the model and animation in BrawlBox
2. I check the model and animation in Maya
3. I check the model and animation in UE4

The nice thing is that everything is MOSTLY automated, but theres still a bit of drag and drop that has to be done. Having a brand new computer is helping so much with this, I run BrawlBox, Visual Studio, Maya, and UE4Editor all at the same time, spread out across the monitors.

I really want to focus on game development again, which does mean spending less time on the Brawl modding community, but getting Brawl assets <--> Maya and into FBX format (for UE4 and anything else that uses FBX) should help out a lot of people still doing work.


Title: Re: BrawlBox, To Maya, and BACK!
Post by: pikazz on April 29, 2014, 12:37:36 PM
You may be onto something. Right now my code just ignores the flags, but there may be bones I want to omit from exporting in certain animations. I'm going to examine which ones are like that today when I get home from work. Its a little complicated because I have to check everything I do 3 times.

1. I check the model and animation in BrawlBox
2. I check the model and animation in Maya
3. I check the model and animation in UE4

The nice thing is that everything is MOSTLY automated, but theres still a bit of drag and drop that has to be done. Having a brand new computer is helping so much with this, I run BrawlBox, Visual Studio, Maya, and UE4Editor all at the same time, spread out across the monitors.

I really want to focus on game development again, which does mean spending less time on the Brawl modding community, but getting Brawl assets <--> Maya and into FBX format (for UE4 and anything else that uses FBX) should help out a lot of people still doing work.
I hope tossing Ideas will help you find the problem x3 cant wait until its released! try to enable the flags if possible!

and thats good new about Mostly Automated! it would make stuff much easier xD (jealous of your computer >:C)

and thats good having a goal and good luck with yours! my goal is actually getting into Media like being a Cameraman  or editior in movies, so I am using Brawl as a Engie for my videos (even in 3D aspect)! cant wait for the BrawltoMaya so I can easier make stuff for my movies ;w;


Title: Re: BrawlBox, To Maya, and BACK!
Post by: Dantarion on April 29, 2014, 01:31:17 PM
It would be really interesting to see machinima done using Brawl animations and models!


Title: Re: BrawlBox, To Maya, and BACK!
Post by: Bakuryu on May 13, 2014, 12:28:27 PM
Still waiting ><. Anyone know of, or know some who can make fox have a fedora and or a suit? Yeah you know where I'm going with this.


Title: Re: BrawlBox, To Maya, and BACK!
Post by: TheShyGuy on May 17, 2014, 12:50:51 AM
I think certain animations are applied differently than others. There are animations that are actually poses, and animations that aren't nessearily PLAYED, like the ones for aiming items. (The upperbody and lowerbody animations are seperate)
that might be the case, those special animations thats are poses and often "merged" with other animations ingame.

can it be possible flags that does it? CHR0 appears have some kind of flags

These sound like they're used along side animation blend trees to me.

And nice lookout for those who use FBX files. It'd be nice to mess around with brawl stuff in Unity. 


Title: Re: BrawlBox, To Maya, and BACK!
Post by: Dantarion on May 20, 2014, 12:22:40 PM
Psssh, Unity, more like, UE4 amirite?

Anyways, all bugs in this are fixed, just need to merge it into current BrawlBox


Title: Re: BrawlBox, To Maya, and BACK!
Post by: Sammi Husky on June 03, 2014, 10:55:57 PM
Real off topic, but dant i was wondering if you happened to still have the source for PSA mod? I've found that (in my experience) files that have been PSA'd by BrawlBox can be opened again in PSA mod and i kinda wanted to start modifying PSA if only for personal use.

And just to keep this on topic, do you have an approximate for when you'll be able to merge this into the current BBox? :)


Title: Re: BrawlBox, To Maya, and BACK!
Post by: KingJigglypuff on June 09, 2014, 08:17:46 AM
bump
Stop it. You don't need to bump every week. It's not going to do anything.

Dantarion will update when/if he has something to show. If he needs to bump his thread, then that's fine.

Don't be annoying by doing it for him. I honestly feel really bad for you. You're still hyped for this? You poor noob.


Title: Re: BrawlBox, To Maya, and BACK!
Post by: MegaGEN50 on July 13, 2014, 11:54:14 AM
uhhh.....bump?


Title: Re: BrawlBox, To Maya, and BACK!
Post by: exasm on November 12, 2014, 06:20:46 AM
Any news on this?


Title: Re: BrawlBox, To Maya, and BACK!
Post by: Ӄit ßallarɖ on December 22, 2014, 10:44:08 AM
*grabs a spade and digs* being one who actualy is learning how to animate in Maya now, this would be a rather intersting tool for me. Unless I missed som'in, as i rarely (if ever) poke my nose in this side of the forum.