# th06-headless: deterministic Touhou 6 logic runtime

> th06-headless adapts reconstructed Touhou 6 game logic into a deterministic Linux runtime for replay and learning research. It removes window, audio and frame-pacing requirements, accepts seeded per-tick actions, exports JSONL state, and offers a lockstep observation/action interface. The fork builds on GensokyoClub/th06 and uses the user's original Japanese game data.

- Type: Case study
- Targets: Game
- Category: Independent reconstruction cases
- Relationship: Independent reconstruction project
- Sources reviewed: 2026-11-06
- Added to the catalog: 2026-11-08
- Original resource: <https://github.com/N0zoM1z0/th06-headless>
- Primary source: <https://github.com/N0zoM1z0/th06-headless/blob/008cda4f4a2a93202e8f115f4bf10e3f8cb8dd10/README.md>
- Catalog page: <https://awesomerea.org/resources/th06-headless-case/>
- Record JSON: <https://awesomerea.org/resources/th06-headless-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/th06-headless-case/index.md)

## Requirements & limits

- **Prerequisites:** A user-supplied original Japanese Touhou 6 data installation and compatible Japanese font.
- **Prerequisites:** Linux build requires a C++20 compiler, Premake 5, SDL2, SDL2_image and SDL2_ttf.
- **Limits:** The author reports repeatable Linux execution.
- **License:** GPL-3.0 license.

## Primary sources

1. <https://github.com/N0zoM1z0/th06-headless/blob/008cda4f4a2a93202e8f115f4bf10e3f8cb8dd10/README.md>
2. <https://github.com/N0zoM1z0/th06-headless/blob/008cda4f4a2a93202e8f115f4bf10e3f8cb8dd10/HEADLESS.md>

## More in Games

- [th06-sdl2: porting Touhou Koumakyou to SDL2](https://awesomerea.org/resources/th06-sdl2/index.md) · Case study
- [TH08 Web: a WebAssembly port built from reconstructed source](https://awesomerea.org/resources/th08-web-wasm-port-case/index.md) · Case study
- [The Hobbit, native: a routine-by-routine C port of the ZX Spectrum game](https://awesomerea.org/resources/hobbit-1982-native-case/index.md) · Case study
- [The Last Guardian: a native PC port of the PS4 executable](https://awesomerea.org/resources/the-last-guardian-pc-port-case/index.md) · Case study
- [The Last Guardian: a Windows port through PS4 compatibility layers](https://awesomerea.org/resources/tlg-port-case/index.md) · Case study
- [The Legend of Zelda: The Minish Cap — a native PC port](https://awesomerea.org/resources/tmc-pc/index.md) · Case study

## About this entry

The description was reviewed against primary sources.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
