Kitty Corp Meow Mix Forums

Super Smash Bros. 4 Hacking => Discussion => Topic started by: kalomaze on September 30, 2016, 10:38:40 PM



Title: [Tutorial] Making rigged character imports in smash 4
Post by: kalomaze on September 30, 2016, 10:38:40 PM
Finally, it's here.  ;D
Before starting this tut, please follow these guides in this order

1. http://forums.kc-mm.com/index.php?topic=77595.0 (http://forums.kc-mm.com/index.php?topic=77595.0)
2. http://forums.kc-mm.com/index.php?topic=77597.0 (http://forums.kc-mm.com/index.php?topic=77597.0)

If you already have, continue reading

How to make rigged imports with 3DS max for smash 4 wii u

------
Requirements
1. 3DS Max 2010 - 2017 (no 2014 tho, dunno why  :oshi:)
2. Knowing how to rig (there are many tutorials on this here)
3. Python 2.7

First off, download the fighterCreator script here:
https://gbatemp.net/attachments/fightercreator-zip.60049/ (https://gbatemp.net/attachments/fightercreator-zip.60049/)

Extract it wherever you like in a folder.

Now its time to find our model. To find other models from other games, go ahead and search on http://www.models-resource.com/ (http://www.models-resource.com/) for video game models, or search on the internet elsewhere for a model, or even make your own

After you find a model, download it and extract it somewhere. Now, open up 3DS max. Drag the fbx/dae/obj/whatever it is over the current 3DS Max scene.

For example purposes, I will be using spongebob as a rig test. Drag it into max, now your object/s will be in the scene.

Drag the textures over each model and make sure they are applied right and show up properly.
(http://i.imgur.com/3q8lYkp.png)
If you see bones that the model already has, (for example, attempting to port a brawl mod) you want to remove those bones so you can re-rig onto the smash 4 skeleton.

Now, in the sm4shexplorer tool, goto data > fighter > fighter you are importing over > model > body > c00
(or any costume, doesnt matter unless the other costumes have different bonesets.)
Then right click on the costume folder (c00) and hit Extract.

Now, in the fighterCreator folder you downloaded, this should show up in the folder
(http://i.imgur.com/2AbiEy1.png)

Drag this also over the 3DS max scene.

(http://i.imgur.com/km2TA4y.png)

Hit the import model button and locate to your sm4shexplorer folder > extract > data > fighter > fighter you want to import over > c00 >
Open the model.nud file (this is the object.)

Delete all the models that were just imported into the scene except for your model that you will be rigging over the skeleton of the fighter.

(http://i.imgur.com/SdrLYGY.png)
Eventually it should end up with your custom models with textures applied and the bones in the scene. You cannot touch or modify these bonesets (yet.)

Now, move your custom model around and rotate it and scale and move it up to match with the skeleton of your fighter.

Rig it as you would rig for brawl or any other game, add a skin modifier, mess with weights, etc, etc. If you don't know how, as I stated above, many tutorials for skinning and weighting exists.

Make sure your models all have a skin modifier applied and are rigged properly before exporting and testing. Errors you may get may happen due to improper weighting, dead vertices, too high quality of a model, etc.

Onwards to the next step. In the fighterCreator folder, drag this script file over the 3DS max interface.

(http://i.imgur.com/yQsxS9b.png)

It will ask you to save as dope.csv. Save in the fighterCreator folder.

After that, go to your smash explorer folder, then extract, then data, then fighter, then the name of the fighter you want to import over, then model, body, c00. Copy the model.vbn inside of the folder over there into the fighterCreator folder.

Now, open up the textures for your import in paint.net or your preferred photo editing program, and save them as DTX5 and DDS with generated mipmaps. Make sure to rescale all of your textures to be at least 128 x 128 if they aren't already. If for example, one of them is 128 x 64, you want to rescale it by the power of two to make it 256 x 128.

Place them all in the fighterCreator folder.

Now, hold shift in the fighterCreator folder and hit open command window here.

(http://i.imgur.com/7znSab0.png)

Now type
NUD_CreateBone.py dope.csv
and hit enter.

If there seems to be nothing unusual, you did it! Grab the model.nud and the model.nut and test it by installing it in sm4shexplorer.

-----

FAQ

"It won't create my model.nut! I have several textures, what is the problem?"

Edit the dope.csv with a program such as Notepad, and near the texture list, remove spaces between the texture names. If it says
mytexturename, myothertexture, texture3
You have to remove spaces after the comma to be like this:
mytexturename,myothertexture,texture3
Save and try again, it should create your model.nut just fine.

"My textures don't show up in the right places in the game, its all weird and screwy!"

If ingame the textures seem to bug, you have to export the model to a .DAE in 3DS max (there are many guides on this) and put it in this program here.

http://www.richwhitehouse.com/filemirror/noesisv417.zip (http://www.richwhitehouse.com/filemirror/noesisv417.zip)

Open it with it and select the directory where your .DAE is. Open the model in the viewer, and then tick the "Flip UVs" option and set export to the FBX format. A new file should be created (you have to re-rig with this model, sorry. I havent gotten bones noesis exports to not break, but if you find a way, please tell me.)

Have fun, and please comment if you need further help.

If you are planning on releasing a rigged import use this tool to fix texture id's.
http://files.gamebanana.com/gamefiles/mass_texidfix_9-1-2016.rar (http://files.gamebanana.com/gamefiles/mass_texidfix_9-1-2016.rar)
(Place it in the sm4shexplorer folder and run it from there, when its done fixing check the workspace folder for the fixed model.nud and model.nut)

Thank you!

A tutorial for making texture hacks and CSPs and UI will come very soon, I promise.

Post Merge: September 30, 2016, 10:49:33 PM
Material editing? I'll link the tool and a page of what what materials do.
As for now, have fun making the main rig.


Title: Re: [Tutorial] Making rigged character imports in smash 4
Post by: Don Jon Bravo on October 01, 2016, 07:35:12 PM
subs
is 2014 the latest 3ds max and is that why its not compatible?
also do we need normal maps?


Title: Re: [Tutorial] Making rigged character imports in smash 4
Post by: StupidMarioFan1 on October 01, 2016, 07:48:59 PM
Hmmm.....................................I still don't know if I want to get into Smash 4 or not, might be able to replace that ugly looking SM64 Mario model, but then again, still haven't released the update for the Brawl version.........................I think I'll wait some more, besides I haven't bothered to look into how to get hacks for Wii U yet. :-\

subs
is 2014 the latest 3ds max and is that why its not compatible?
also do we need normal maps?
2017 is the latest version, but I too would like to know why 2014 isn't compatible and whether or not 2015 and later are compatible.


Title: Re: [Tutorial] Making rigged character imports in smash 4
Post by: kalomaze on October 02, 2016, 05:38:58 PM
Hmmm.....................................I still don't know if I want to get into Smash 4 or not, might be able to replace that ugly looking SM64 Mario model, but then again, still haven't released the update for the Brawl version.........................I think I'll wait some more, besides I haven't bothered to look into how to get hacks for Wii U yet. :-
2017 is the latest version, but I too would like to know why 2014 isn't compatible and whether or not 2015 and later are compatible.
I told you to read the first two tutorials for a reason :)
They teach you how to hack smash 4 so you can do this ^^
I really liked your rigs back in brawl, so I hope you can join in here too


Post Merge: October 02, 2016, 05:40:54 PM
subs
is 2014 the latest 3ds max and is that why its not compatible?
also do we need normal maps?
I'm not sure how to get normal maps working but they aint required
2014 doesnt work but the latest version is 2017, and it works on that
2010 - 2017 all work except for 2014
I dunno why


Title: Re: [Tutorial] Making rigged character imports in smash 4
Post by: Don Jon Bravo on October 03, 2016, 06:06:09 PM
Quote
I'm not sure how to get normal maps working but they aint required
2014 doesnt work but the latest version is 2017, and it works on that
2010 - 2017 all work except for 2014
I dunno why

good to know thanks
it would be nice for a video tutorial as well
hope that is not asking for much


Title: Re: [Tutorial] Making rigged character imports in smash 4
Post by: kalomaze on October 04, 2016, 04:54:36 PM
There is a video tutorial but it isn't exactly very good, but you can try it out. (Not mine btw.)
https://www.youtube.com/watch?v=TgaZ7pjjlr8&feature=youtu.be (https://www.youtube.com/watch?v=TgaZ7pjjlr8&feature=youtu.be)


Title: Re: [Tutorial] Making rigged character imports in smash 4
Post by: Don Jon Bravo on October 04, 2016, 10:22:27 PM
thanks bro
is there like a public file source for all the original smash characters
or do i have to dump my game?


Title: Re: [Tutorial] Making rigged character imports in smash 4
Post by: GentlemanPotato on October 06, 2016, 04:29:36 AM
thanks bro
is there like a public file source for all the original smash characters
or do i have to dump my game?

There is (https://www.mediafire.com/?e7tacds6nrot6)


Title: Re: [Tutorial] Making rigged character imports in smash 4
Post by: Don Jon Bravo on October 06, 2016, 04:05:41 PM
There is (https://www.mediafire.com/?e7tacds6nrot6)
holy [censored]
even the mii fighters are there
thanks bro
and good to see you again
i know its been a while lol


Title: Re: [Tutorial] Making rigged character imports in smash 4
Post by: GentlemanPotato on October 07, 2016, 05:14:03 AM
holy [censored]
even the mii fighters are there
thanks bro
and good to see you again
i know its been a while lol

I was waiting for SSB4 to be easily hackable. Great tutorials btw kalomaze


Title: Re: [Tutorial] Making rigged character imports in smash 4
Post by: NatalieKennedy on April 06, 2022, 02:01:58 AM
Finally, it's here.  ;D
Before starting this tut, please follow these guides in this order

1. [url]http://forums.kc-mm.com/index.php?topic=77595.0[/url] ([url]http://forums.kc-mm.com/index.php?topic=77595.0[/url])
2. [url]http://forums.kc-mm.com/index.php?topic=77597.0[/url] ([url]http://forums.kc-mm.com/index.php?topic=77597.0[/url])

If you already have, continue reading

How to make rigged imports with 3DS max for smash 4 wii u

------
Requirements
1. 3DS Max 2010 - 2017 (no 2014 tho, dunno why  :oshi:)
2. Knowing how to rig (there are many tutorials on this here)
3. Python 2.7

First off, download the fighterCreator script here:
[url]https://gbatemp.net/attachments/fightercreator-zip.60049/[/url] ([url]https://gbatemp.net/attachments/fightercreator-zip.60049/[/url])

Extract it wherever you like in a folder.

Now its time to find our model. To find other models from other games, go ahead and search on [url]http://www.models-resource.com/[/url] ([url]http://www.models-resource.com/[/url]) for video game models, or search on the internet elsewhere for a model, or even make your own

After you find a model, download it and extract it somewhere. Now, open up 3DS max. Drag the fbx/dae/obj/whatever it is over the current 3DS Max scene.

For example purposes, I will be using spongebob as a rig test. Drag it into max, now your object/s will be in the scene.

Drag the textures over each model and make sure they are applied right and show up properly.
([url]http://i.imgur.com/3q8lYkp.png[/url])
If you see bones that the model already has, (for example, attempting to port a brawl mod) you want to remove those bones so you can re-rig onto the smash 4 skeleton.

Now, in the sm4shexplorer tool, goto data > fighter > fighter you are importing over > model > body > c00
(or any costume, doesnt matter unless the other costumes have different bonesets.)
Then right click on the costume folder (c00) and hit Extract.

Now, in the fighterCreator folder you downloaded, this should show up in the folder
([url]http://i.imgur.com/2AbiEy1.png[/url])

Drag this also over the 3DS max scene.

([url]http://i.imgur.com/km2TA4y.png[/url])

Hit the import model button and locate to your sm4shexplorer folder > extract > data > fighter > fighter you want to import over > c00 >
Open the model.nud file (this is the object.)

Delete all the models that were just imported into the scene except for your model that you will be rigging over the skeleton of the fighter.

([url]http://i.imgur.com/SdrLYGY.png[/url])
Eventually it should end up with your custom models with textures applied and the bones in the scene. You cannot touch or modify these bonesets (yet.)

Now, move your custom model around and rotate it and scale and move it up to match with the skeleton of your fighter.

Rig it as you would rig for brawl or any other game, add a skin modifier, mess with weights, etc, etc. If you don't know how, as I stated above, many tutorials for skinning and weighting exists.

Make sure your models all have a skin modifier applied and are rigged properly before exporting and testing. Errors you may get may happen due to improper weighting, dead vertices, too high quality of a model, etc.

Onwards to the next step. In the fighterCreator folder, drag this script file over the 3DS max interface.

([url]http://i.imgur.com/yQsxS9b.png[/url])

It will ask you to save as dope.csv. Save in the fighterCreator folder.

After that, go to your smash explorer folder, then extract, then data, then fighter, then the name of the fighter you want to import over, then model, body, c00. Copy the model.vbn inside of the folder over there into the fighterCreator folder.

Now, open up the textures for your import in paint.net or your preferred photo editing program, and save them as DTX5 and DDS with generated mipmaps. Make sure to rescale all of your textures to be at least 128 x 128 if they aren't already. If for example, one of them is 128 x 64, you want to rescale it by the power of two to make it 256 x 128.

Place them all in the fighterCreator folder.

Now, hold shift in the fighterCreator folder and hit open command window here.

([url]http://i.imgur.com/7znSab0.png[/url])

Now type
NUD_CreateBone.py dope.csv
and hit enter.

If there seems to be nothing unusual, you did it! Grab the model.nud and the model.nut and test it by installing it in sm4shexplorer.

-----

FAQ

"It won't create my model.nut! I have several textures, what is the problem?"

Edit the dope.csv with a program such as Notepad, and near the texture list, remove spaces between the texture names. If it says
mytexturename, myothertexture, texture3
You have to remove spaces after the comma to be like this:
mytexturename,myothertexture,texture3
Save and try again, it should create your model.nut just fine.

"My textures don't show up in the right places in the game, its all weird and screwy!"

If ingame the textures seem to bug, you have to export the model to a .DAE in 3DS max (there are many guides on this) and put it in this program here.

[url]http://www.richwhitehouse.com/filemirror/noesisv417.zip[/url] ([url]http://www.richwhitehouse.com/filemirror/noesisv417.zip[/url])

Open it with it and select the directory where your .DAE is. Open the model in the viewer, and then tick the "Flip UVs" option and set export to the FBX format. A new file should be created (you have to re-rig with this model, sorry. I havent gotten bones noesis exports to not break, but if you find a way, please tell me.)

Have fun, and please comment if you need further help.

If you are planning on releasing a rigged import use this tool to fix texture id's.
[url]http://files.gamebanana.com/gamefiles/mass_texidfix_9-1-2016.rar[/url] ([url]http://files.gamebanana.com/gamefiles/mass_texidfix_9-1-2016.rar[/url])
(Place it in the sm4shexplorer folder and run it from there, when its done fixing check the workspace folder for the fixed model.nud and model.nut)

Thank you!

A tutorial for making texture hacks and CSPs and UI will come very soon, I promise.

Post Merge: September 30, 2016, 10:49:33 PM
Material editing? I'll link the tool and a page of what what materials do.
As for now, have fun making the main rig.
Thanks for the information