Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save WSLUser/5492045caa89b997ce235f710363ca09 to your computer and use it in GitHub Desktop.
Save WSLUser/5492045caa89b997ce235f710363ca09 to your computer and use it in GitHub Desktop.
Sonic Mania Decompilation: Switch Build Guide

Sonic Mania Decompilation: Nintendo Switch Build Guide

Must be on Linux. If you are running Windows, then install Windows Subsystem for Linux (WSL) and run all of these steps through there.

Instructions (Linux/WSL)

  1. Install devkitpro-pacman from here.
  2. Install Git through your preferred package manager if you don't already have Git.
  3. Run sudo dkp-pacman -S switch-dev switch-sdl2 switch-libogg switch-libtheora switch-glad switch-glfw to install all of the dependencies needed for Switch building.
  4. Run these commands: export DEVKITPRO=/opt/devkitpro export DEVKITARM=/opt/devkitpro/devkitARM export DEVKITPPC=/opt/devkitpro/devkitPPC
  5. Clone the Sonic Mania repo with dependencies by running git clone https://github.com/Rubberduckycooly/Sonic-Mania-Decompilation --recursive.
  6. cd Sonic-Mania-Decompilation/dependencies/RSDKv5
  7. make PLATFORM=Switch
  8. Done. Your compiled NRO executable is located in Sonic-Mania-Decompilation/dependencies/RSDKv5/bin/Switch/GL3.

Support

If you need any support, please feel free to reach out to the Retro Engine Modding Server on Discord. Invite: http://dc.railgun.works/retroengine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment