Files
kichikuou_system3-sdl2/switch/README.md
T
kichikuou d18abe1125 Add SDL3 support alongside SDL2
Centralize the differences between SDL2 and SDL3 behind compatibility
interfaces and select the appropriate implementations with the
SYSTEM3_SDL_VERSION CMake option. Android remains on SDL2 for now.
2026-09-15 20:37:08 +09:00

24 lines
755 B
Markdown

# System3 for Switch
## Build
Prerequisites:
- CMake >=3.20
- devkitPro environment ([how to install](https://devkitpro.org/wiki/devkitPro_pacman))
- Nintendo Switch development tools package (switch-dev)
- SDL2 and SDL2_ttf Switch ports (switch-sdl2, switch-sdl2_ttf)
```sh
git submodule update --init
sudo (dkp-)pacman -S switch-dev switch-sdl2 switch-sdl2_ttf
mkdir -p out/debug
cd out/debug
/opt/devkitpro/portlibs/switch/bin/aarch64-none-elf-cmake \
-DCMAKE_BUILD_TYPE=Debug -DSYSTEM3_SDL_VERSION=2 ../../
make
```
## Use
1. Copy the resulting `system3.nro` file to a folder inside your Nintendo Switch's SD card (eg. `/switch/[game name]/`)
2. Copy all the game files, BGM files and configuration.
3. Open system3 through the Homebrew Launcher