Files
kichikuou_system3-sdl2/switch/README.md
T
kichikuou 6f5933adaf Replace SDL_mixer with dr_mp3/stb_vorbis + SDL audio
- MP3/OGG files are now decoded with dr_mp3 and stb_vorbis via the new
  MakoMusic backend.
- Merge src/win/mako.cpp into src/generic/mako.cpp: Windows now uses the
  same SDL audio path.
- A single SDL2 audio device mixes FM, BGM and PCM in its callback with
  SDL_MixAudioFormat.
- PCM plays through SDL_AudioStream.
- dr_mp3 and stb_vorbis are vendored under deps/ and included from
  mako_music.cpp. Warnings for that translation unit are silenced.
2026-08-03 17:09:59 +09:00

23 lines
727 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 ../../
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