mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-09-25 08:08:05 +03:00
System3 for Switch
Build
Prerequisites:
- CMake >=3.20
- devkitPro environment (how to install)
- Nintendo Switch development tools package (switch-dev)
- SDL2, SDL2_Mixer and SDL2_ttf Switch ports (switch-sdl2, switch-sdl2_ttf, switch-sdl2_mixer)
git submodule update --init
sudo (dkp-)pacman -S switch-dev switch-sdl2 switch-sdl2_ttf switch-sdl2_mixer
mkdir -p out/debug
cd out/debug
/opt/devkitpro/portlibs/switch/bin/aarch64-none-elf-cmake -DCMAKE_BUILD_TYPE=Debug ../../src/
make
Use
- Copy the resulting
system3.nrofile to a folder inside your Nintendo Switch's SD card (eg./switch/[game name]/) - Copy all the game files, BGM files and configuration.
- Open system3 through the Homebrew Launcher
Notes
- The Switch needs its own MIDI Sound Library (eg. freepats, configurable through
timiditycfgon thesystem3.iniconfig) due to the lack of built-in MIDI files.