Repository navigation
Releases
TH08 ARM64 for Raspberry Pi 5
TH08 ARM64 for Raspberry Pi 5
Native Linux ARM64 build of 東方永夜抄 ~ Imperishable Night 1.00d, tested on a Raspberry Pi 5 running Debian 13 with labwc/Xwayland.
Download
Download th08-portable-linux-aarch64.tar.gz, extract it, and run:
./run-th08.sh "/path/to/original/TH08 directory"Your original game directory must contain th08.dat and thbgm.dat and be writable. No original game data or executable is included.
What works
- Native AArch64 ELF64 PIE; no Wine or x86 emulation.
- SDL2/OpenGL rendering, keyboard input, and original Japanese data formats.
- Pi 5 title and attract-mode gameplay tested at approximately 60 FPS.
- Owner-tested gameplay with no bugs reported.
- Japanese dialogue uses CP932-to-UTF-8 conversion with FreeType/SDL_ttf and Fontconfig.
ARM64 fix
The original i8 typedef used plain char, which is unsigned by default on ARM64. This converted an enemy drop sentinel from -2 to 254, causing a crash in the Stage 5 attract replay. ARM64 now explicitly uses signed char; other architectures are unchanged.
Runtime requirements
A Linux ARM64 desktop with working OpenGL and audio, plus SDL2, SDL2_image, SDL2_ttf, Fontconfig, and FreeType. A Japanese font is selected through Fontconfig; TH08_FONT can specify a font file explicitly.
Source and technical details are on the port/arm64-pi5 branch. This is not the complete 108-recording regression corpus or a MIDI/audio certification; upstream rendering limitations are tracked separately.