Case study
th06: an independently matching Touhou 6 decompilation
th06 reconstructs C++ source for Touhou 6: Embodiment of Scarlet Devil retail version 1.02h from the original executable. The workflow uses headless Ghidra analysis, the original MSVC and DirectX toolchain under Wine, and byte comparisons of functions and the whole executable. The author reports that all 511 game functions and the rebuilt executable match the original, with replay traces compared separately.
- Targets
- Game
- Category
- Independent reconstruction cases
- Relationship
- Independent reconstruction project
- Sources reviewed
- Evidence class
- C2 code & docs, no demo or download
- Stars
- 0
- Last commit
- 2026-11-06
- Language
- C++
- License (GitHub)
- GPL-3.0
GitHub data as of 2026-11-10
Evidence
- Observed
- Code and documentation observed; no download method or demo found.
- Checked
- 2026-11-08
Requirements & limits
- Prerequisites: Requires the user's own retail Touhou 6 files updated to version 1.02h.
- Prerequisites: Building requires Wine, Python 3, just, binutils, 7-Zip, Visual C++ .NET 2002, Windows XP SP2 Platform SDK, and DirectX 8.0 SDK.
- Prerequisites: Replay checks additionally require Xvfb, xdotool, ImageMagick, 32-bit Mesa, and the ja_JP.UTF-8 locale.
- License: GPL-3.0-only licence for the project source.
Cite
BibTeX
@misc{cirno-labs-th06-case,
title = {{th06: an independently matching Touhou 6 decompilation}},
howpublished = {\url{https://github.com/Cirno-Labs/th06}},
url = {https://github.com/Cirno-Labs/th06},
urldate = {2026-11-06},
note = {Awesome REA entry: \url{https://awesomerea.org/resources/cirno-labs-th06-case/}}
}Plain text
th06: an independently matching Touhou 6 decompilation. https://github.com/Cirno-Labs/th06 (accessed 2026-11-06). Awesome REA entry: https://awesomerea.org/resources/cirno-labs-th06-case/
Useful? Star Awesome REA on GitHub2.4k
About this entry
The description was reviewed against primary sources.
Primary sources
- README.md GitHub · Cirno-Labs/th06 · Revision c7bcab1
- orig/README.md GitHub · Cirno-Labs/th06 · Revision c7bcab1
- docs/exe-parity.md GitHub · Cirno-Labs/th06 · Revision c7bcab1
More in Games
- TH06: reconstructing Japanese 1.02h authored functions · Case study
- th07: reconstructing Touhou 7 retail 1.00b · Case study
- TH08: exact-source reconstruction and separately tested ports · Case study
- TH095: function-level reconstruction of Shoot the Bullet 1.02a · Case study
- TH10: reconstructing Mountain of Faith 1.00a · Case study
- TH11: byte-exact source reconstruction of Subterranean Animism · Case study