Guide to Modding Super Mario Maker 2 [Ver 1.1]

A Tutorial for Super Mario Maker 2

Members see zero ads. Membership is 100% free

Updates

menu
Removed unnecessary information. 4d
  • Adjustment Removed need for Wexos Toolbox, Specified Need for PNG import
Added Informative Pictures 19d Addition

From Fresh Start to Modding Ready

Introduction

Have you considered modding Super Mario Maker 2? Don't know where to start? Here's a guide to help you get started.

Important Note: This tutorial assumes that you have a hacked Nintendo Switch, CFW for your Switch, and a copy of Super Mario Maker 2. This does not cover loading mods using emulators. If you need assistance with loading homebrew on your Nintendo Switch, follow this guide.

Things You Will Need

  • NXDumpTool - For Dumping the ROMFS Folder
  • Switch Toolbox - For Editing the Game Files
  • Texture File Editor - Program that can edit PNG files (Paint.net, Photoshop etc)
  • Model Editor - For Editing Game Models (3DSMax, Blender etc)
  • Animation Editor - For Editing Game Animations (Maya, Blender etc)
  • SD Card with at least 4 GB of space

Part 0: Dumping Your Game [Nintendo Switch Side]

Start the Homebrew Launcher, and run the NXDumpTool app. Select either "Dump gamecard content" or "Dump SD card/emmc (NANDUSER) content" depending on if you have the physical or digital version of SMM2.

Next, go to RomFS options, and select RomFS section data dump. Make sure you have at least 4GB of open space on your SD card (The RomFS is about 2.72 GB, but it's always good practice to have extra space). 

The app will output the RomFS folder as shown: [sd:/nxdumptool/RomFS/SUPER MARIO MAKER 2 v0 (TITLEID). Remove your SD card and place it into your PC. You are now ready for all types of modding.

Part 1: Texture Modding [PC Side]

Open Switch Toolbox (You'll be needing it open pretty much the entire time) and search through the RomFS folder you placed onto your PC for what you want to edit. (For this tutorial, we are going to edit the sprite for Super Mario Bros. Mario. The file we need is located in RomFS/Pack/M1_Model.pack)

Open the M1_Model.pack file in Switch Toolbox. Expand the folder, and you'll see a bunch of files with the extension .zs . We are going to need Model/M1_Player_MarioMdl.Nin_NX_nvn.zs. Right Click it and select export raw data. Save it to your PC somewhere safe. Note that you can't save it with the foward slash, this will not affect the file itself, you can name it whatever you want.

Now drag that file back into Switch Toolbox and expand it's folders. You'll see the output.bfres file. Double-click that to expand it until you see the textures folder. You can right click this folder and select export all textures and save them somewhere on your PC for modding. 

While in Switch Toolbox, select a texture and then view the Image Info window to the right, and take note of the format of the texture. Right click the texture, then export it as PNG. Now you can open the textures in your editor of choice (I recommend paint.net) and edit them. The edited texture MUST BE SAVED AS A PNG OR IT WILL NOT LOOK RIGHT! 

Key Texture Editing Points
  • Try to stay within the dimensions given.
  • If the game crashes after editing, you more than likely did not save the texture correctly. Make sure the format matches the original, and check to see if the original has mipmaps or not.
After you've finished editing your texture, right click the original texture in Switch toolbox, select replace, and then select your edited texture. Next, right click your .zs file in Switch toolbox and save it. When you are prompted to compress, select YES. If you do not compress, the game will crash every time.

Finally, open the .pack file you originally had opened in Switch Toolbox, right click the original .zs file you edited, select replace, and choose the new .zs file you saved. Now right click the .pack file and save that. THIS MUST HAVE THE SAME NAME AS THE ORIGINAL. Now you are ready to test your edit in game. 

Final Part [PC and Switch Side]

Inside your CFW folder of choice, create a folder named with the title id of your version of SMM2 (this was found earlier when you dumped the RomFS with NXDumpTool) and place it in the titles folder. Inside that folder, create a "romfs" folder. Within that folder, create the folder that your edited file goes into, and lastly put your edited file. The structure should similar to this.

                       sd:/atmosphere/titles/TITLEID/romfs/Pack/M1_Model.pack

Now if everything is done correctly, you should be able to remove the SD card from your PC and place it back into your Switch. Load up your CFW with layeredfs enabled, load your game, and view your mod in action. Example Below



Information about this tutorial.
  • Other parts, such as Model Editing, Animation Editing, Code editing etc will come as I myself make mods using those, or if others send me information to use in this tutorial. 
  • This tutorial will be updated periodically as new information and new tools are created and shared.
  • Please leave feedback about improvements for the tutorial in the comments section.

Todos

menu
check_box_outline_blank Add Part 2: Model Editing check_box_outline_blank Add More Sections
  • Anonymous
    access_time 11d
    Does anybody here know how I can convert normal wav files to bwav? Because I want to replace some music, but I can't find any way to replace the original bwav files, only to convert them to wav files.
    URL to post:
  • access_time 12d
    it says error: invalid header size when i try to dump it
    Bananite
    URL to post:
  • SuperOkazaki avatar
    SuperOkazaki Joined 8mo ago
    Offline
    206 points Ranked 55175th
    access_time 14d
    Fantastic guide!
    Just as an aside, I tried turning one of the 24x36 Mystery Mushroom costumes into a default sprite, and while it doesn't crash the game, it squishes the sprite so it is skewed into the 24x24 aspect ratio.
    Bananite
    URL to post:
  • PandaHexCode avatar
    PandaHexCode Joined 7mo ago
    Offline
    690 points Ranked 42832nd
    access_time 18d
    THE GAME CRASHING again ):
    Bananite
    URL to post:
  • EmpYoshi avatar
    12 medals 1 legendary 1 rare
    • Returned 5000 times Medal icon
    • Returned 1000 times Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • Returned 100 times Medal icon
    • 1 year a member Medal icon
    access_time 19d
    When I dump the game NXDumper crashes
    Vienna Schnitzel
    URL to post:

Embed

menu
Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Credits

Key Authors
Xuman
Created the Tutorial
Special Thanks
Switch Modding Scene
For the tools possible for making mods happen.
GRAnimated
GRAnimated Joined 2y ago
Offline
700 points Ranked 42738th
Info about proper texture format

Submitter

Xuman avatar
Xuman Joined 3y ago
SMM2 Manager
Offline
1,130 points Ranked 23316th
21 medals 2 legendary 3 rare
  • 2017 Top Contributor Medal icon
  • 30 submissions featured Medal icon
  • Returned 1000 times Medal icon
  • 10 submissions featured Medal icon
  • Achieved Game Manager clearance Medal icon
  • Returned 100 times Medal icon
Xuman
Creator
  • Paypal Donate
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

Details

Difficulty Level
Beginner

Attributes

Genre
Texturing

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Best of the Banana
    Featured on Jul 6 2019
  • Best of Yesterday
    Featured on Jul 6 2019
  • Today's Pick
    Featured on Jul 5 2019
  • favorite 6
  • remove_red_eye 5.1k
  • mode_comment 16
  • access_time 19d
  • access_time 4d
  • refresh 4d

More from Submitter

menu

WiPs by Submitter

menu

More Other/Misc Tutorials