A native homebrew port of ZUN's legendary 2002 bullet hell danmaku masterpiece Touhou 6: Embodiment of Scarlet Devil for the Nintendo Switch (Horizon OS).
Built upon the cross-platform decompilation engine GensokyoClub/th06, this port features custom hardware-accelerated OpenGL ES 3.2 rendering over Nouveau/Mesa, seamless Nintendo Switch Joy-Con and Pro Controller support, native 1280x720 window resolution scaling with pure OLED black letterbox borders, and an intelligent filename alias resolver designed for FAT32 SD cards.
https://github.com/Swiizyu/th06-switch
Built upon the cross-platform decompilation engine GensokyoClub/th06, this port features custom hardware-accelerated OpenGL ES 3.2 rendering over Nouveau/Mesa, seamless Nintendo Switch Joy-Con and Pro Controller support, native 1280x720 window resolution scaling with pure OLED black letterbox borders, and an intelligent filename alias resolver designed for FAT32 SD cards.
https://github.com/Swiizyu/th06-switch
Installation Guide
Disclaimer: In compliance with ZUN's guidelines and copyright law, this repository contains ONLY the homebrew engine code. Game asset archives (*.DAT) are not distributed. You must legally own a copy of Touhou 6: Embodiment of Scarlet Devil v1.02h.
1. SD Card File Structure
- Ensure your Nintendo Switch is running custom firmware (Atmosphère CFW).
- Download the latest touhou6.nro from the Releases tab (or build from source).
- Create a folder named sd:/switch/touhou6/ on your SD card and copy touhou6.nro into it.
- Copy the data archives from your legitimate Touhou 6 PC folder directly into the same directory:
sd:/switch/touhou6/
├── touhou6.nro # Nintendo Switch homebrew executable
├── CM.DAT # Game data (or 紅魔郷CM.DAT)
├── ED.DAT # Endings data (or 紅魔郷ED.DAT)
├── IN.DAT # Stage intro data (or 紅魔郷IN.DAT)
├── MD.DAT # MIDI/Music data (or 紅魔郷MD.DAT)
├── ST.DAT # Stage data (or 紅魔郷ST.DAT)
├── TL.DAT # Title screen data (or 紅魔郷TL.DAT)
└── msgothic.ttc # Japanese font (optional)
(Note: Whether your files are named with full Japanese characters 紅魔郷CM.DAT or stripped ASCII CM.DAT, the engine will locate and load them automatically).
2. Enabling Background Music (BGM)
Because Horizon OS lacks a system MIDI synthesizer, Touhou 6 plays background music on the Switch via ZUN's official WAV music mode:- Locate or download the standard Touhou 6 EoSD WAV BGM
- Create a folder named bgm inside your game directory (sd:/switch/touhou6/bgm/).
- Place all soundtrack WAV files inside bgm/.
- Launch the game. The engine will automatically detect bgm, configure musicMode to WAV, and play full soundtrack audio. (If needed, navigate to Options -> BGM inside the game menu and set it to WAV).

Disclaimer: In compliance with ZUN's guidelines and copyright law, this repository contains ONLY the homebrew engine code. Game asset archives (*.DAT) are not distributed. You must legally own a copy of Touhou 6: Embodiment of Scarlet Devil v1.02h.






