Must be on Linux. If you are running Windows, then install Windows Subsystem for Linux (WSL) and run all of these steps through there.
- Install devkitpro-pacman from here.
- Install Git through your preferred package manager if you don't already have Git.
- Run
sudo dkp-pacman -S switch-dev switch-sdl2 switch-libogg switch-libtheora switch-glad switch-glfwto install all of the dependencies needed for Switch building. - Run these commands:
export DEVKITPRO=/opt/devkitproexport DEVKITARM=/opt/devkitpro/devkitARMexport DEVKITPPC=/opt/devkitpro/devkitPPC - Clone the Sonic Mania repo with dependencies by running
git clone https://github.com/Rubberduckycooly/Sonic-Mania-Decompilation --recursive. cd Sonic-Mania-Decompilation/dependencies/RSDKv5make PLATFORM=Switch- Done. Your compiled NRO executable is located in
Sonic-Mania-Decompilation/dependencies/RSDKv5/bin/Switch/GL3.
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