# TH08: exact-source reconstruction and separately tested ports

> Reconstructs the original Japanese Touhou 8 version 1.00d against its binary and original compiler, then adapts the recovered code for other platforms. Source presence, strict function matching, whole-executable identity and playable-port checks are recorded as different milestones.

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

## Requirements & limits

- **Prerequisites:** Exact checks require the user’s original Japanese TH08 1.00d executable and Visual C++ .NET 2002 toolchain. Ledgers and analysis helpers need Python 3.11+; Linux/macOS toolchain setup also needs Wine and msiextract. Playable products still need original game data.
- **Scope:** The pinned main README reports source for 1,107 authored functions and strict acceptance of 1,106, with whole-executable identity still in progress.
- **Scope:** The VC7 i386 runtime checkpoint is distinct from a redistributable modern Windows release; macOS remains in progress. Exact normal-build checks and bugfix playtests have different purposes.
- **Testing evidence:** A historical oracle accepted instruction bytes while missing wrong floating-literal data. The linked issue/PR records later data-reference checks.
- **License:** MIT covers repository code/docs, not the original game. Historical source lineage and agent contributions retain their attribution.

## Primary sources

1. <https://github.com/N0zoM1z0/th08/blob/08c7f00f81e35db8206d917b14f47883930beef6/README.md>
2. <https://github.com/N0zoM1z0/th08/blob/08c7f00f81e35db8206d917b14f47883930beef6/docs/BUILD_MATCHING.md>
3. <https://github.com/N0zoM1z0/th08/blob/08c7f00f81e35db8206d917b14f47883930beef6/docs/REPLAY_RESULTS.md>
4. <https://github.com/N0zoM1z0/th08/blob/08c7f00f81e35db8206d917b14f47883930beef6/LICENSE>
5. <https://github.com/N0zoM1z0/th08/issues/10>
6. <https://github.com/N0zoM1z0/th08/pull/13>

## More in Games

- [TH095: function-level reconstruction of Shoot the Bullet 1.02a](https://awesomerea.org/resources/th095-reconstruction-case/index.md) · Case study
- [The Minish Cap: a GBA decompilation targeting five ROMs](https://awesomerea.org/resources/zelda-tmc-decomp-case/index.md) · Case study
- [The Sims: Bustin' Out: an AI-driven partial GBA matching decompilation](https://awesomerea.org/resources/sims-bustin-out-gba-decomp-case/index.md) · Case study
- [The Wind Waker: a GameCube decompilation with hash-checked relinking](https://awesomerea.org/resources/wind-waker-decomp-case/index.md) · Case study
- [Touhou 6: reconstructing Embodiment of Scarlet Devil 1.02h source](https://awesomerea.org/resources/th06-decomp-case/index.md) · Case study
- [Touhou 7: reconstructing Perfect Cherry Blossom 1.00b source](https://awesomerea.org/resources/th07-decomp-case/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.
