Table of contents :
- What we need
- Creating the model (.obj)
- Converting the model (.obj to .cmdl then to .bcmdl)
- Importing the model into the game
In this tutorial we'll see how to create/import custom kart in Mario Kart 7.
What program to use, how to create the model, how to convert it and import it into the game.
What we need
- A 3D modeling software (Im' using Google Sketchup 2019)
- Autodesk Maya 2016 (You can get it for free with a student account here)
- NW4C plugins and tools (Download & Installing tutorial)
- Base Kart Size (Download available here, Format .obj)
Creating the model
For creating the model, download the base kat size.obj above and import it with your favorite 3D modeling software. I'm using Google Sketchup 2019. Just create the model using the template i give you.
If you are using Sketchup like me, click on ALL BLUE FACES and click "Reverse Faces", to make the faces, WHITE, the blues faces won't appears in game.
When you have finished, just export your model into a .obj format with all images in PNG format.
For sketchup users get a free obj exporter plugin here and put it here "C:\Users\YOUR_USER\AppData\Roaming\SketchUp\SketchUp YOUR_VERSION\SketchUp\Plugins"
Converting the model
Open Autodesk Maya 2016 by run the batch file to load the NW4C plugins located in "C:\NW4C\h3d\tool\DccPlugin\Maya"
Verify that you have the tab "NW4C" (If yes, you have the plugins installed)
Click on "File" and "Import..."
Choose your obj file and load it into Maya
Click on "NW4C" and "NW4C Set Material Attribute..."
Click on "Back face Culling", "Search", "Fragment Lightning" and "Back face Culling"
I don't know if this is usefull but i do it all the times
Next, click on "NW4C" and "NW4C Export with Settings..."
Name the output file (i use the romfs's name of a real MK7 kart), select a folder to export your file and select to export it in .cmdl format
After exportation, open "NW4C_CreativeStudio" located in "C:\NW4C\h3d\tool\bin\CreativeStudio"
After, go to "File", "Open" and "Intermediate file..."
Import your .cmdl file exported before
Verify that your model is okay (Model & textures)
And finally go to "File" and "Save binary..." and save it into a .bcmdl format
And name it into the romfs's name of a kart. You can get the romfs's name of the all the kart by checking this MK7 romfs tree available here
Importing the model into the game
Now you have two choice, test your model with a real game on a real 3DS or test it on the Citra Emulator
For the console users : If you are using the "Luma" folder (Don't use the CTGP-7 technical), in your SD card, go into the "luma" folder and the "title" folder, if you not have the title folder, just create it. Create now a folder with the ID of the game by your region
EUR : 0004000000030700
USA : 0004000000030800
JPN : 0004000000030600
Go into it and create a "Romfs" folder then a "Kart" folder then a "Body" folder, finally create a folder with the name of your kart (A real kart in the original romfs) and pur your bcmdl model into it
Put back the SD card into your console and press SELECT to enter to the luma menu, check "Enable Game Patching", save, reboot the console and launck the game, you'll see your model :) If the game crash, just rework on the model and see if you have errors on the models or other things
If you are using the romehack "CTGP-7" (Don't use the luma technical), in your SD card go into the folder "CTGP-7" then "GameFS" then "Kart" then "Body" then the fodler by the name of your model (if he doesn't exist, create it) and put your file model into it
Put back the SD card into your console and just launch CTGP-7 and you'll see your model in the game :) If the game crash, just rework on the model and see if you have errors on the models or other things
For the computer users : Get the game on internet .3ds or .cia it doesn't matter (I won't post any link). Download this software and put the game into the root of the folder of teh software. Run the batch file of the software
With the arrow keys and the Enter key, select "Extract a title"
And select your game
After the extraction finished, go into the extracted folder of the game
Go to "Partition 0" then "RomfsDir" then "Kart" and "Body" then select the folder of your model and replace the original model with your own one
On the menu of the 3DS Title Manager software, go to "Rebuild a title"
And then select the game
After that you'll get a new game with the text "edit" on his name, just launch this rom with Citra and you'll see your custom model :) If the game crash, just rework on the model and see if you have errors on the models or other things