Kitty Corp Meow Mix Forums

Help & Tutorials => A/A Tutorials => Topic started by: KingJigglypuff on December 16, 2015, 05:21:34 PM



Title: [Expert] How to Port Smash 3DS/Wii U Animations for use with Brawl Skeletons
Post by: KingJigglypuff on December 16, 2015, 05:21:34 PM
[MAJOR UPDATE]: The OP has been updated to include both Sm4sh 3DS to Brawl and Sm4sh Wii U to Brawl animation tutorials.

Sm4sh 3DS -> Brawl
You heard this right. It's now possible to port a Smash 3DS animation for a Brawl skeleton to use.

This tutorial is not recommended for those who don't know their way around Autodesk 3DS Max and Autodesk Maya.

Requirements:
-Ohana 3DS Rebirth. (https://gbatemp.net/threads/wip-ohana3ds-tool.392576/)
-Smash 3DS Model (Ryu Patch). (https://dl.dropboxusercontent.com/u/19597993/dataMerged.7z)
-Brawl model.
-Autodesk 3DS Max (Recommended 2012 and up).
-WallWorm plugin for 3DS Max. (https://wallworm.com/store/index.php?route=product/product&product_id=55&tracking=55f9dd9ab3483) This tutorial will not show you how to install WallWorm.
-Autodesk Maya (Recommend at least 2012 and up).
-BrawlBox (Recommended at least v0.71 and up).
-Script for this tutorial. (https://www.dropbox.com/s/fudc8i2qa8bmsiy/HierarchyConstrain_Good.py?dl=0)

Restrictions:
-Bone scaling in the animation must be unified (X, Y, and Z scaling must all be the same).
-Bones must match up to each other before running the script.
-Bones must have the same rotation orders and axes.

Credits:
TheShyGuy (http://forums.kc-mm.com/index.php?action=profile;u=3201): For creating the script to make this all possible.
DSX8 (http://forums.kc-mm.com/index.php?action=profile;u=1022) + Heavy D (http://forums.kc-mm.com/index.php?action=profile;u=16302): Showing and teaching me about Ohana 3DS.

This tutorial will be split up into 5 parts. Getting the models, obtaining the animation parts, piecing the animation parts together, Maya usage, and BrawlBox usage.

For example sake, I will be using Charizard for this tutorial.

Now let's get this train rolling.

Part 1: Getting the models.
1a.) Brawl.
Open your extracted Brawl model in BrawlBox (mdl0 located in the FitFighter0X.pac/.pcs). Export the textures as png and the model as dae. You can close out of BrawlBox in the meantime.

1b.) Ohana 3DS Rebirth.
Start by opening up Ohana 3DS Rebirth and clicking on the Ohana3DS icon on the top left of the window. Click Open and search for your extracted Smash 3DS model (mbn format). It doesn't matter which folder you get the model from, but I usually pick the h00 model (high quality model when the game is paused). After a second or so, the model will load.

-Ohana 3DS camera controls-
Rotate: Left Mouse.
Move: Right Mouse.
Zoom: Mouse Wheel.

Once the model loads, 4 panels will appear at the bottom. Click on "Models" and export the as dae. After that, go to "Textures" and export as png (make sure "Export all Textures" is selected). Do not close out of Ohana, as you will need it for Part 2.

1c.) 3DS Max.
Open 3DS Max, but before you import, make sure your 3DS Max scene is set to 60 FPS. You can do this by clicking on the Time Configuration button that's on the bottom right corner of the window, setting the Frame Rate to Custom, and setting the FPS to 60.

Once you have your 3DS Max scene configured, import the Smash 3DS model you exported from Ohana. Make sure your dae import settings import the model's rig, alongside having the scale set to 1.0. After you have verified your settings, go ahead and click "Import" and wait a few seconds (time varies, based on your computer).

If the model appears warped in some ways and un-textured, don't panic, as this is normal (most of the time).
Example:
(http://i.imgur.com/wyXS1gA.png)

Fixing the texture-less part is easy. Find the textures you exported, then drag and drop the said textures over the appropriate objects. To make things easier, you can delete the multiple VIS0 models (extra hands, extra faces, etc), as you don't need those, and it would end up causing a bit of clutter (and more lag on lower end computers).

Fixing the deformation is simple as well, click on an object, make sure the Skin Modifier is selected, then scroll down to Advanced Parameters, open it up, then disable Always Deform before enabling it again.

Fixing the Normals can be done by using the Edit Normals Modifier, but it's not needed, as you're only using the model for animation purposes. If you do want to fix the Normals, make sure you move the modifier, so it's under the Skin Modifier.

Once you're done, save your 3DS Max scene and export the model as either dae or FBX (make sure the settings are set to keep the rig and the Scale Factor is 1. Also make sure the Up Axis is set to "Y-Up"). Do not close 3DS Max, as you will need it for Part 3.

If exporting as dae gives you trouble in the later Parts, then export as FBX.

Part 2: Obtaining the animation parts.
Bring Ohana 3DS Rebirth back up, go to the Animations tab, and open the Skeletal animations section. The next step can be a bit confusing, so bear with me.

Smash 3DS animations are split into multiple parts, based on the character. In Charizard's case, there are four separate animation files (Body + Limbs, Wings + Jaw, Tail, and Neck). To make things more tedious, there are multiple folders for certain parts of the game (Fighting, Entry, Result, Classic Mode

Once you're ready, import one of the animation part files (bch format), and find the animation you want to port. Once you find the animation you want to port, export it (it will be exported in smd format). I would recommend naming it to match the part the file is associated with, as you'll be repeating this step with all of the animation file parts.

Note: Smash Attack and Heavy Item Walk animations are set up differently than they were in Brawl.

Once you have the first animation part exported, click "Clear", and repeat the step with the other animation parts.

When you're done, you can close Ohana 3DS Rebirth.

Part 3: Piecing the Animation Parts Together.
3a.) 3DS Max (Wall Worm)
Bring 3DS Max back up and run the Wall Worm SMD and QC Importer (Wall Worm > SMD and QC Importer). Make sure Y-Up and Animated Model are enabled. Now import one of the exported smd animation parts from Part 2. Once the animation part is imported, move the Frame Slider to see the imported animation part in action. To make things easier, see how many Frames your imported animation has, click on the Time Configuration icon again, and set the End Time parameter to the amount of Frames the animation has.

Note: Do not import the next animation part until the next step in this part is completed.

Open the Select from Scene window (hotkey is usually "h"), and select only the associated bones with the animation part (if the bone doesn't move during the animation, then don't select it). Once you have the bones selected, Export the selected bones (click the arrow next to Export and click on "Export Selected") as FBX.

Repeat this process with the other animation parts you exported. Once you have all the parts exported, you can close out of the Wall Worm SMD and QC Importer, but keep 3DS Max open.

3b.) 3DS Max (Again)
Now that you have all the animation parts exported as FBX, import those exported animations one at a time. Make sure you import the Body part of the animation last, as importing a part after it will nullify the HipN movement. Play though the animation to make sure all the parts are animating correctly.

Now select all the bones and export selected as FBX. You can delete the original FBX parts if you wish, alongside the smd parts, as you won't be needing those anymore. You can also close 3DS Max now.

Part 4: Autodesk Maya.
4a) Importing models and bone names.
Open Autodesk Maya. Like with 3DS Max, make sure you set the scene so it runs at 60 FPS before importing your models. You can follow Eternal Yoshi's Maya animation tutorial to help you further configure your Maya scene. http://forums.kc-mm.com/index.php?topic=64144.0 (http://forums.kc-mm.com/index.php?topic=64144.0)

Once you have your scene configured, import only the Brawl model for now (make sure the scale is set to 1.0). Once the Brawl Model is imported, bring up the Outliner window (Window > Outliner) and rename the XRotN bone to RotN. After that, select the TopN bone. While the TopN bone is selected, go to Modify > Prefix Hierarchy Names, and make sure you have "Brawl_" (without quotations) as the prefix name. It's important that you have the prefix as "Brawl_", as the script requires the Brawl bone names to have the "Brawl_" prefix in order to work (you can change the required prefix name to something else if you know your way around scripts). It's also done to prevent done names conflicting when the Smash 3DS model is imported.

Once the Brawl model is imported and its bones are renamed, import the Smash 3DS model (like the Brawl model import, make sure the scale is 1.0). You do not need to rename the bones for the Smash 3DS import.

After the Smash 3DS model is imported, make sure the TopN bone of the Brawl model and the TransN bone of the Smash 3DS model have a universal scale of 1.

Now click on the Script Editor icon (located on the bottom right of the Maya window) and open the script. Select both the TransN and Brawl_TopN bones, select all the text in the bottom part of the Script Editor window, and click Execute (the singular, blue arrow icon).

Note: Make sure you set the bottom tab of the Script Editor window to Python, or else the script won't work.

Save your Maya scene for future use, assuming you're going to port more than one animation.

4b.) Importing the animation, baking the animation, and exporting the animation.
Now that you have everything set up, you can now import the completed FBX animation you exported from Part 3.

Once the animation is imported, play through it to make sure everything is working. If everything is working, then follow Eternal Yoshi's Maya animation tutorial once more to learn how to bake the animation. Make sure you only select the Brawl bones when baking the animation.

After you're done baking the animation, make sure those Brawl bones are still selected, and export as anim. You would again, follow Eternal Yoshi's tutorial for proper export settings.

You may now close Autodesk Maya.

Part 5: Finishing up with BrawlBox.
Open BrawlBox and either make a new brres or open your character's FitFigherMotionEtc.pac (AnimationData[0]). Now import the exported anim animation from Step 4.

Once the animation is imported into BrawlBox, rename each Bone Entry to remove the "Brawl_" part of the bone name (Make sure RotN is renamed to XRotN). Save afterward. To make sure everything went correctly, open your Brawl character model in BrawlBox, preview the model, and open the file you have your newly imported animation.

Note: The lower the Sample rate parameter during the baking step of Part 4, the more precise the animation is, but at the cost of higher file size. To help lower file size, delete bone entries that have no animation to them, delete the Translation and Scale keyframes of each associated bone for every Frame (except Frame 1).

Sm4sh Wii U -> Brawl
Hey, it's that time again. Animation editing is now possible in Sm4sh Wii U, and by extension, that means we can rip animations from the Wii U version as well, so that means another lengthy tutorial from me on how to rip these animations, and import them into Brawl for proper use.

[NOTICE] This tutorial will be a complicated one if you don't know what you're doing, so unless you have a general knowledge and/or are willing to learn how to use and navigate 3DS Max, Autodesk Maya, BrawlBox, and Sm4sh Forge, then I cannot recommend this tutorial to you, as I will not be teaching how to use these programs.

Requirements:
-Sm4sh Forge. https://github.com/jam1garner/Smash-Forge/releases (https://github.com/jam1garner/Smash-Forge/releases)
-Autodesk 3DS Max (Recommened 2012 and up).
-Autodesk Maya (Recommended 2012 and up).
-BrawlBox (Recommened at least v0.71 and up).
-Brawl model.
-Sm4sh Wii U model files. https://www.mediafire.com/?e7tacds6nrot6 (https://www.mediafire.com/?e7tacds6nrot6)
-Sm4sh Wii U animation files. https://www.dropbox.com/s/02ccxq1y7ud6pl6/Sm4sh%20Fighter%20Scripts%20and%20Motion%20Files%20%28v1.1.6%29.zip?dl=0 (https://www.dropbox.com/s/02ccxq1y7ud6pl6/Sm4sh%20Fighter%20Scripts%20and%20Motion%20Files%20%28v1.1.6%29.zip?dl=0)
-Sm4sh Wii U model importing script for 3DS Max. https://www.dropbox.com/s/1p1vw5hgn49h40k/SSB4U_NDP3_Debug_Mod.ms?dl=0 (https://www.dropbox.com/s/1p1vw5hgn49h40k/SSB4U_NDP3_Debug_Mod.ms?dl=0)
-Script for this tutorial. https://www.dropbox.com/s/fudc8i2qa8bmsiy/HierarchyConstrain_Good.py?dl=0 (https://www.dropbox.com/s/fudc8i2qa8bmsiy/HierarchyConstrain_Good.py?dl=0)

Restrictions:
-Bone scaling in the animation must be unified (X, Y, and Z scaling must all be the same).
-Bones must match up to each other before running the script.
-Bones must have the same rotation orders and axes.

Credits:
-TheShyGuy (http://forums.kc-mm.com/index.php?action=profile;u=3201 (http://forums.kc-mm.com/index.php?action=profile;u=3201)): For creating the script to make this all possible.
-RandomTalkingBush (http://forums.kc-mm.com/index.php?action=profile;u=3041 (http://forums.kc-mm.com/index.php?action=profile;u=3041)): For creating the 3DS Max script.
-Ploaj, jam1garner, Sammi_Husky (http://forums.kc-mm.com/index.php?action=profile;u=24730 (http://forums.kc-mm.com/index.php?action=profile;u=24730)), and Y2K. For creating Smash Forge.

Now that you have everything you need, let's get started. This tutorial will be split up into 3 parts: Obtaining the models, ripping the animations, and Maya usage.

1.) Obtaining the models.
1a.) Brawl model.
This part should be the easiest part. Just open your character's model file (FitFighter0X.pac) in BrawlBox, right click the MDL0, and export as DAE. You can close out of BrawlBox afterward for now.

1b.) Sm4sh model.
After opening 3DS Max, go to MaxScript > Run Script, and locate the Sm4sh Wii U model importing script. You'll see several options, which you can ignore, as the only thing you need is the model (I will not go over how to rip and apply textures, as all you're doing is getting the model for animation purposes). Once the script is open, click "Open NUD", and search for your Sm4sh character's nud.
[NOTICE] You must have both the NUD (model.nud) and VBN (model.vbn) files in the same folder when browsing for your Sm4sh model, or else the model will import without a skeleton and rig. After your model imports, you'll now have to rename certain bones to their Brawl counterparts.

Here's a list of the initial bones you'll need to rename and what to rename them to. (Some characters have character-specific bones that aren't listed here, so in that case, you'll need to find the Brawl equivilant to your Sm4sh bone, and rename it as such.
Ex: Cape bones, Clothing bones, etc)
RotN -> XRotN
LIndex1N -> L1stNa
LIndex2N -> L1stNb
LMiddle1N -> L2ndNa
LMiddle2N -> L2ndNb
LRing1N -> L3rdNa
LRing2N -> L3rdNb
LPinky1N -> L4thNa
LPinky2N -> L4thNb
LThumb1N -> LThumbNa
LThumb2N -> LThumbNb
RIndex1N -> R1stNa
RIndex2N -> R1stNb
RMiddle1N -> R2ndNa
RMiddle2N -> R2ndNb
RRing1N -> R3rdNa
RRing2N -> R3rdNb
RPinky1N -> R4thNa
RPinky2N -> R4thNb
RThumb1N -> RThumbNa
RThumb2N -> RThumbNb

After the model is imported, and you've renamed the respective bones, you can export as DAE, and close 3DS Max.

2.) Ripping the Animations.
After you've obtained your models, you can open Sm4sh Forge, and open your Sm4sh model (the original NUD, not the DAE you exported. And just like with step 1b, make sure the VBN is in the same place as well. This is very important. If you want to view textures as well, then make sure the NUT file is also in there.) by going to File > Open, and searching for your NUD.

Once your model is open, go to Animation > Import, and browser for your character's respective motion.pac files.
[NOTICE] Every character has at least 3 motion.pac files. One for their body, one for their left fingers, and one for their right fingers. Most characters will have more than these three for specific parts (Ex: Charizard has an additional 3 motion.pac files for its wings + jaw, tail, and neck). You can also only open one motion.pac at a time, so you'll have to repeat this part of the step multiple times.

After you have your motion.pac open, search for the animation you want to port, select it, and go to Animation > Export, and set the File to Type to ANIM, and save to a place you'll remember.

To export an animation from another motion.pac file, you'll need to go to Animation > Clear, and repeat the second section of this step.

Repeat this step until you have all the animations (and their respective parts) you want to port.

Edit: [NOTICE]: Certain exported ANIM files from Sm4sh Forge may cause Maya to hang indefinitely. There is no known cause as of what causes these specific animations to have this issue, so if you encounter this issue, then I'm afraid there's nothing you can do until it's looked into. If you need to still port the animation, then I'd recommend you to follow the 3DS version of the tutorial.

3.) Maya usage
This is the final part of the tutorial, and most often is the most polarizing, but if you've come this far, don't back down now, as once you get the hang of this tutorial, it'll be relatively easy from this point onward.

3a.) Setting up your Maya Scene
Once Maya is open, you'll need to properly configure the Maya scene before you can import the models (you can still import them, but it's important to have the scene configured for Brawl's framerate of 60 FPS).

To start things off, make sure the .anim plugin is loaded. You can do this by going to Settings/Preferences > Plug-in Manager, and making sure the animImportExport.mll plug-in is set to both load and auto-load. Refresh the scene afterward.

After you've verified that the plug-in is loaded, make sure your Maya scene is configured to run at 60 FPS. You can do this by going to Window > Settings/Preferences > Preferences > Settings, and changing Time to NTSC Field (60 FPS). Save the options.

Once saved, you'll see the Frame number set to 2.50 on the bottom left, change this to 1.

3b.) Model Importing
Now that you have your scene configured, import the Brawl model first, then open the Outlier (Window > Outlier), select the TopN bone, go to Modify > Prefix Hierarchy Names, and make sure you have "Brawl_" (without quotations) as the prefix name. It's important that you have the prefix as "Brawl_", as the script requires the Brawl bone names to have the "Brawl_" prefix in order to work (you can change the required prefix name to something else if you know your way around scripts). It's also done to prevent done names conflicting when the Smash 3DS model is imported.

Once the Brawl model is imported and prefixed, go ahead and import the Sm4sh model. You don't need to prefix the Sm4sh skeleton. If the Sm4sh model is laying on its back, select the Sm4sh model's TransN bone, and rotate it either 90 or -90 degrees on the X Rotation.

[NOTICE] It's very important that both the Brawl and Sm4sh models are standing up, and their scales are 1. If neither models have a scale of 1, you can usually fix this by selecting the root bone, and manually scaling it to 1 (TopN for Brawl, and TransN for Sm4sh).

3c.) Constraining the Skeletons
Now that you have both models imported, open the Script Editor (Window > General Editors > Script Editor), and make sure the tab in the bottom part of the new window is set to Python.

Once the Script Editor is open, go to File > Load Script, and browse for the Maya script (The PY file you downloaded from this tutorial's opening). Once the script is open, select both TransN (Sm4sh) and Brawl_TopN (Brawl), and click the Execute icon (the singular, blue arrow icon). After the script runs, your two skeletons should now be constrained (I.E. When the Sm4sh skeleton moves, the Brawl skeleton will move with it). Save your scene afterward if you plan on porting multiple animations.

3d.) Importing the Animations
Now that your skeletons are constrained, select every single bone in the Sm4sh skeleon (you can easily do this by selecting the TransN bone, and going to Modify > Select Hierarchy), and import each part to your animation that you want to port. If the skeleton deselects after importing, just re-select it again, and import the next part.

Once every part of the animation is imported, adjust your time slider to however many Frames your animation has. If the animation is shorter/longer than 60 Frames, you'll need to decrease/increase the Frame count of the timeline to allow the full playthrough of the animation. You can do this by decreasing/increasing the first 60 value on the bottom right to the amount of Frames your animation has.

Play the animation to make sure everything imported properly.

3e.) Baking the animation.
Next, you'll be selecting every relevant Brawl bone for the animation (i.e. any Brawl bone that moves during the animation).

Before you start to bake the animation, make sure your bake settings are set as such (Edit > Keys > Bake Simulation, but don't click on it. Instead, click on the box next to it.): http://i.imgur.com/Ej0TP1i.png (http://i.imgur.com/Ej0TP1i.png)

Note: If your models have different translations (i.e. needing to manually fix different translations), then set your bake settings to use the Channel Box, rather than All Keyable, but when baking from the Channel Box, you'll need to select both the bones, and the respective channel parts (mainly X/Y/Z Translations, X/Y/Z Rotation, or both, depending on the bone. Though you'll always want to bake both Translation and Rotation for the HipN bone. If you're baking bones that only rotate, then deselect X/Y/Z Translation.)

After everything is set up, click Bake. Once everything is done baking, select every Brawl bone, select X/Y/Z Translation, and X/Y/Z Rotation, go to Frame 1 of your animation, right click, and click Key Selected.

Though don't think you're done yet, as you still need to modify the Animation Curves to prevent the animation from jittering all over the place when the game is slowed (i.e. Timer and 1/4 Training Mode speed). To do this, select every Brawl bone that you baked, open the Graph Editor (Window + Animation Editors > Graph Editor), select every Curve that appears (they should appear as a bundle of colored lines in the Graph Editor), and apply the Euler Filter (Graph Editor > Curves > Euler Filter).

3d.) Exporting the Baked Animation
Now that everything is all set to go, you now just need to do two more things before you export the animation.

Select the Sm4sh TransN bone, and add a prefix to it, just like you did with the Brawl skeleton, but this time, it doesn't need to be anything specific.

Next, go to Modify > Search and Replace Names, insert "Brawl_" (without quotations) into the Search for box, and a space in the Replace with box, then click Replace.

You can now export the animation by selecting every Brawl bone, and going to File > Export Selected, and change the File of Type to ANIM. Make sure your settings are as such: http://i.imgur.com/vdX9EJp.png (http://i.imgur.com/vdX9EJp.png)

If you have more animations to port, re-open your saved scene, and repeat step 3d and onward until you've ported all your animations. Do not save after all of this. Your saved scene should only be from step 3c. If you don't have anymore animations to port, you can simply close Maya.

After you've finished exporting your animations, you can now import your exported ANIM files into BrawlBox.

Completed Result Example:
(http://i.imgur.com/tpdQ7D4.gif)

This tutorial was much longer than my previous tutorials, but I hope it was worth it for those who want to back port Smash 4 movesets into Brawl. Thank you for reading this tutorial.


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: Large Leader on December 16, 2015, 07:28:09 PM
Thanks TheShyGuy.
Thanks KJP for having the patience v:


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: spiritpyros on December 16, 2015, 09:06:17 PM
My goodness this is definitely a amazing discovery for brawl modding Imo.


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: R̢i҉̴̛͜d̷̕҉̴l̨̧͠͡e͘͜͠y̴̶͡͠͞ on December 17, 2015, 01:02:40 AM
Um...Maya doesn't export .anims...or im missing something? Im using 2013, 86x.


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: KingJigglypuff on December 17, 2015, 06:33:38 AM
Did you make sure you loaded the plugin for it?

http://download.autodesk.com/global/docs/maya2013/en_us/index.html?url=files/GUID-91EE8FBF-3267-4A41-BD7B-A2EBA1478F27.htm,topicNumber=d30e246543 (http://download.autodesk.com/global/docs/maya2013/en_us/index.html?url=files/GUID-91EE8FBF-3267-4A41-BD7B-A2EBA1478F27.htm,topicNumber=d30e246543)


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: masamune on December 17, 2015, 01:24:52 PM
Thanks for the tutorial! I don't think you've mentioned it, but when using the Wall Worm smd and qd importer, you have to enable 'animated models' before importing the smd animation. Otherwise, you won't be able to preview your animation (happened to me once.)


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: KingJigglypuff on December 17, 2015, 01:31:41 PM
I was fine without enabling that option, but I should get into the habit of doing so just to be safe.

I'll update the OP with that tidbit. Thanks for letting me know.


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: Tabuu Forte Akugun on December 17, 2015, 01:39:01 PM
I wonder if the .anim format is the same that Unity uses. Would save me a ton of work for some fighters. XD


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: R̢i҉̴̛͜d̷̕҉̴l̨̧͠͡e͘͜͠y̴̶͡͠͞ on December 17, 2015, 05:38:33 PM
Did you make sure you loaded the plugin for it?

[url]http://download.autodesk.com/global/docs/maya2013/en_us/index.html?url=files/GUID-91EE8FBF-3267-4A41-BD7B-A2EBA1478F27.htm,topicNumber=d30e246543[/url] ([url]http://download.autodesk.com/global/docs/maya2013/en_us/index.html?url=files/GUID-91EE8FBF-3267-4A41-BD7B-A2EBA1478F27.htm,topicNumber=d30e246543[/url])

Weird. I set it to load before, but it isn't anymore. Oh well.


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: SmashHero on December 18, 2015, 09:39:49 AM
This is going to be ultra useful for my sm4sh movesets. Thanks a lot!!


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: KingJigglypuff on December 18, 2015, 12:35:50 PM
Another tip.

If your FBX animation import into Maya gets automatically scaled to 2.54 (TransN), then on the final exporting step of Part 3, set the Unit to Centimeters, then import as Inches in Part 4.


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: KingJigglypuff on December 20, 2015, 08:07:18 AM
I've got yet again another tip.

If your animation heavily stutters when the game is set to 1/2 or 1/4 speed, then when baking, make sure the Unroll Rotations option is enabled.

If that doesn't work, then find out which bones are freaking out when the animation is slowed, open the Graph Editor, select the affected bones from the Outliner, select all the Curves in the Graph Editor, and apply the Euler Filter to the selected Curves (Graph Editor > Curves > Euler Filter).

I was told if your animation doesn't have spinning in it, then you can just do it for the entire hierarchy.


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: SmashHero on December 20, 2015, 12:19:59 PM
Thanks for the tip! I had this problem but i didn't know how to fix it. Thanks to you, I can solve it now  :D


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: KingJigglypuff on December 20, 2015, 12:35:54 PM
You would think there would be nothing else to add on, but there's one more thing for now.

For animations that use the TransN bone for movement, you'll notice X (shows as Z in Maya) and Y movement are swapped, alongside Y being negative when it should be positive and vise verse.

TheShyGuy made another script to remedy this. https://www.dropbox.com/s/mmsqnrodqtomi4u/SwapTranslationValues2.py?dl=0 (https://www.dropbox.com/s/mmsqnrodqtomi4u/SwapTranslationValues2.py?dl=0)

Load the script like you did in Step 4 of this tutorial (make sure you clear everything first though. It can be done via Edit > Clear All in the Script Editor). Though this time, you're only selecting the TransN of the Smash 3DS model. After selecting the TransN, select all the script text in the bottom window of the Script Editor before Executing it. This should swap X (Z in Maya) and Y while also flipping Y.


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: SmashHero on December 24, 2015, 01:44:24 PM
The 1/4 speed fix thing doesn't work. The keyframes are still buggy.


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: KingJigglypuff on December 24, 2015, 02:35:35 PM
The 1/4 speed fix thing doesn't work. The keyframes are still buggy.
I can understand Unroll Rotations not working (as that didn't work for me), but even the Euler filter on the Graph Editor didn't work (assuming you even used it) for you?


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: SmashHero on December 25, 2015, 06:26:18 AM
Nope. Even the Euler Filter won't work.
Is the euler filter supposed to fix the huge difference between values in some parts of the animation?
(for example: a value of -140 turns into a value of 1050 in the next frame)


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: KingJigglypuff on December 25, 2015, 08:29:34 AM
Did you bake with Unroll Rotations then select all the baked bones before applying the Euler Filter? Mind telling me what exactly you did? So I can see if it's an issue on your end or not.


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: SmashHero on December 25, 2015, 08:36:51 AM
Alright.
I baked the animation and I made sure that Unroll Rotations is selected. Then I opened the Graph Editor while selecting all baked bones, I selected all keyframes and applied the Euler Filter. That's it.


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: KingJigglypuff on December 25, 2015, 08:49:26 AM
You select Curves, not Keyframes. Though so I can take a look myself, which character are you porting an animation for and which animation are you porting?


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: SmashHero on December 25, 2015, 09:16:23 AM
ZSS's SpecialHi animation. I'm also planning on porting Megaman's animations.


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: KingJigglypuff on December 25, 2015, 11:26:44 AM
You're either not doing it right, have incorrect settings in one or more places, or it's solely an issue on your end, as it doesn't flip out on 1/4th for me when I do it.

https://www.dropbox.com/s/hjr5ph08kqlwfo4/Animations.brres?dl=0 (https://www.dropbox.com/s/hjr5ph08kqlwfo4/Animations.brres?dl=0)


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: SmashHero on December 25, 2015, 01:12:54 PM
Alright.
Thanks for the help! I'll try to follow EternalYoshi's tutorial again. Hopefully I'll be able to fix it.


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: ThePhantomPsychic on December 28, 2015, 08:57:56 AM
I wonder if the .anim format is the same that Unity uses. Would save me a ton of work for some fighters. XD

Its not. Ive tried. :(


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: Brawltendo on December 29, 2015, 01:47:47 PM
Where do I get the animation .bch files for the characters? I can view and export the models in Ohana just fine, though.


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: KingJigglypuff on December 29, 2015, 01:53:32 PM
From the same download you got the 3DS models from that's in the OP. They should be in the motion folder.


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: Rosetta-Hime on December 29, 2015, 06:07:02 PM
Could you use a different Smash 4 character's animation and skeleton for a Brawl character? Like wanting to give Marth Shulk's down smash, would the tutorial still work fine, or would the brawl model look deformed as the smash 4 animation plays out?


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: KingJigglypuff on December 29, 2015, 06:38:53 PM
In that case, think of trying to give Marth Link's Down Smash. The animation would play out, but Marth's bones would use Link's bone translations.

Not sure what would happen with what you want though. You can try it though.


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: Rosetta-Hime on December 29, 2015, 07:11:43 PM
Alright, I'll try it and see if it works out.


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: KingJigglypuff on February 19, 2016, 04:32:56 PM
Bumping, as the OP has been updated with the Smash 3DS files for patch 1.1.4.


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: spiritpyros on February 21, 2016, 09:36:58 PM
right now I'am trying to port cloud's animations to ike but I have a problem. Whenever I import the animation in to maya only smash 4 cloud's model is animated while brawl ike's is in a T-pose is this normal


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: Nao-chan on February 21, 2016, 11:54:45 PM
Did you rename the bones appropriately?


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: spiritpyros on February 22, 2016, 04:48:10 PM
sorry i responded so late but here is the errors that popup when i import the 3ds model into 3dsmax 2014

http://imgur.com/a/QCP1q (http://imgur.com/a/QCP1q)


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: ThePhantomPsychic on February 22, 2016, 05:14:13 PM
you should get 3ds Max 2016...
That's off topic, however.

What I see is that none of Cloud's bones are rigged properly, which is wierd, since you said that the cloud model was rigged, right?


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: KingJigglypuff on February 22, 2016, 06:32:32 PM
sorry i responded so late but here is the errors that popup when i import the 3ds model into 3dsmax 2014

[url]http://imgur.com/a/QCP1q[/url] ([url]http://imgur.com/a/QCP1q[/url])
You can usually ignore that.

Check to see if the model's rigged by selecting and rotation bones after the import.


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: spiritpyros on February 24, 2016, 12:46:53 AM
Thank you all very much. I did figure out the problem which was a mix of improper maya rigging and not exporting the bones in 3dsmax correctly .Which I figured can happen since it is my first time ever using either of these two programs.


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: spiritpyros on February 29, 2016, 03:02:17 PM
well I have another problem related to clouds animations? when ever I import the animation to maya 2014 the animation looks like it goes to 30 fps even when i look one frame at a time .It looks like it cut the animations frames by half and chances are It is my maya setup if you want I can upload the files to look at


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: KingJigglypuff on February 29, 2016, 04:57:53 PM
Did you make sure both your 3DS Max and Maya scenes were set to 60 FPS?


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: spiritpyros on February 29, 2016, 05:11:08 PM
yes I did make sure of that.


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: KingJigglypuff on February 29, 2016, 06:07:18 PM
Cloud, right?

I just happen to have a Maya scene I uploaded for someone earlier.

https://www.dropbox.com/s/8pve4r2qsz9c6x5/Smash%203DS%20Cloud%20Maya%20Scenes.zip?dl=0 (https://www.dropbox.com/s/8pve4r2qsz9c6x5/Smash%203DS%20Cloud%20Maya%20Scenes.zip?dl=0)


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: spiritpyros on February 29, 2016, 10:46:41 PM
here is a link to my cloud scene with ike model imported
https://www.dropbox.com/s/m31zusik7jqns69/smash4cloud%20maya%20scene.rar?dl=0 (https://www.dropbox.com/s/m31zusik7jqns69/smash4cloud%20maya%20scene.rar?dl=0)


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: KingJigglypuff on March 01, 2016, 06:28:42 AM
By the looks of it, you never even set your scene to be 60 FPS. You can check which framerate your Maya scene is in by going to Window > Settings/Preferences > Preferences > Settings > Time. The default FPS is 24 FPS, so you would change that to 60 FPS.


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: spiritpyros on March 01, 2016, 04:01:28 PM
Thanks ,I thought I changed it was in time slider not general settings .


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: axl536 on March 19, 2016, 12:10:41 PM
where can i find a smash 3ds build with the latest dlc?


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: KingJigglypuff on March 19, 2016, 12:20:40 PM
The latest patch available that I know of is 1.1.4, which is in the original post. I'd have to ask around for patch 1.1.5 sometime.


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: spiritpyros on July 22, 2016, 01:36:42 AM
Ok I hope I am not necroposting but I have a question. if a character has only one part of their animation can I skip most of step 3B and just select the bones and export


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: KingJigglypuff on July 22, 2016, 05:30:18 AM
The Necroposting rules don't apply to Tutorial threads, so you're fine.

For your question, if a character only has one animation file, you can import the smd with WallWorm, select the associated bones, and export at FBX.


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: spiritpyros on July 22, 2016, 09:24:01 AM
Ok thank you very much


Title: Re: [Expert] How to Port Smash 3DS Animations for use with Brawl Skeletons
Post by: KingJigglypuff on November 01, 2016, 07:06:39 PM
With the events of Sm4sh Wii U modding allowing animation edits, this tutorial will soon™ be updated to use Wii U animations, rather than 3DS animations.


Title: Re: [Expert] How to Port Smash 3DS/Wii U Animations for use with Brawl Skeletons
Post by: KingJigglypuff on November 28, 2016, 07:11:25 PM
Major update bump! The OP has been updated to include Sm4sh Wii U to Brawl animations.

It's been a while, but hopefully, it was worth the wait.


Title: Re: [Expert] How to Port Smash 3DS/Wii U Animations for use with Brawl Skeletons
Post by: HyperHandCRazy on February 06, 2017, 12:45:51 PM
what inches do I need export in from 3dsmax since everytime I port it to 3ds max its like a giant version of the model and I would get an error on the script


Title: Re: [Expert] How to Port Smash 3DS/Wii U Animations for use with Brawl Skeletons
Post by: KingJigglypuff on February 06, 2017, 01:26:11 PM
Show me a screencap of what you mean.


Title: Re: [Expert] How to Port Smash 3DS/Wii U Animations for use with Brawl Skeletons
Post by: HyperHandCRazy on February 06, 2017, 03:24:31 PM
http://imgur.com/a/9A39C (http://imgur.com/a/9A39C)


Title: Re: [Expert] How to Port Smash 3DS/Wii U Animations for use with Brawl Skeletons
Post by: KingJigglypuff on February 06, 2017, 03:40:12 PM
First of all, did you make sure the root bone's scale is 1 (TransN for Sm4sh, TopN for Brawl)?

There's one of two things you can do to make sure of that.
1.) Manually scale the root bone down to 1.
2.) Fiddle with the measurement setting when importing until the root bone has a scale of 1. If Inches doesn't work, then try Centimeters.

For the error, try constraining again after getting the scale to 1.


Title: Re: [Expert] How to Port Smash 3DS/Wii U Animations for use with Brawl Skeletons
Post by: HyperHandCRazy on February 06, 2017, 04:11:54 PM
I tried putting the scale to 1 but it still gives me the same error when trying constrain again


Title: Re: [Expert] How to Port Smash 3DS/Wii U Animations for use with Brawl Skeletons
Post by: KingJigglypuff on February 06, 2017, 05:22:03 PM
Are the model formats of both your Brawl and Sm4sh model DAE? I'd recommend you repeat the steps, and follow the directions carefully, and see if it's just an issue on your end.


Title: Re: [Expert] How to Port Smash 3DS/Wii U Animations for use with Brawl Skeletons
Post by: jordyAD on February 13, 2017, 06:17:54 AM
Has anyone managed to reup the 1.1.4 3ds data files? If anyone does it i'd greatly appreciate it.


Title: Re: [Expert] How to Port Smash 3DS/Wii U Animations for use with Brawl Skeletons
Post by: teh-myuutsu on June 25, 2017, 07:18:43 AM
Can somebody supply with free permanent copies of Autodesk 3DS Max and Autodesk Maya?


Title: Re: [Expert] How to Port Smash 3DS/Wii U Animations for use with Brawl Skeletons
Post by: KingJigglypuff on June 25, 2017, 08:19:53 AM
Just get yourself the Student Version of either program.


Title: Re: [Expert] How to Port Smash 3DS/Wii U Animations for use with Brawl Skeletons
Post by: E-scope12 on July 26, 2018, 06:24:00 PM
Would I have to resize the animation I imported into Brawl from Smash Wii U?


Title: Re: [Expert] How to Port Smash 3DS/Wii U Animations for use with Brawl Skeletons
Post by: KingJigglypuff on July 26, 2018, 06:28:27 PM
Would I have to resize the animation I imported into Brawl from Smash Wii U?
Define "resize". Since that could be taken two different ways. Either scaling down the animation's "physical" size or file size.