Short answer
th06 by GensokyoClub reconstructs the source code of Touhou 6: the Embodiment of Scarlet Devil (version 1.02h). Its portable branch builds a working port for Linux and modern Windows. You build it yourself, using files from your own copy of the game.
This site is not affiliated with GensokyoClub, ZUN or Team Shanghai Alice. We do not host any files and only link the project’s official repository.
What it is
Touhou Koumakyou ~ the Embodiment of Scarlet Devil (2002) was the first Windows game in ZUN’s Touhou Project series. It is a 32-bit Direct3D 8 program.
th06 “aims to perfectly reconstruct the source code of Touhou Koumakyou ~ the Embodiment of Scarlet Devil 1.02h” (th06 README). The README adds: “For a functioning port of the game to other platforms (Linux, modern Windows, etc), see the portable branch.”
Current status
- Decompilation: very active (last update 2 November 2026).
- Portable port: working, on its own branch; no ready-made releases.
What you need
- Your own copy of the Embodiment of Scarlet Devil, version 1.02h. The README asks you to copy the original
東方紅魔郷.exe(checked by SHA256) intoresources/th06.exe. - Build tools: Python 3, and on Linux or macOS
msiextractand Wine for the original toolchain, as the README lists. The portable branch has its own build steps.
We do not link any copies of the game.
Related
For the five earlier PC-98 Touhou games, see ReC98, which is reconstructing their source code.
FAQ
Can I play Touhou 6 natively on Linux?
Yes, with some effort. The th06 decompilation project has a portable branch that builds a functioning port of the Embodiment of Scarlet Devil for Linux and modern Windows. You build it from source and use files from your own copy of the game.
What version of Touhou 6 does th06 need?
Version 1.02h. The README lists the SHA256 hash of the original executable you need to copy into the project's resources folder.
What is the main th06 branch for?
Perfectly reconstructing the source code of Touhou 6 v1.02h, so that it compiles back into a binary identical to ZUN's. The portable branch builds on that work.
Is there something similar for the PC-98 Touhou games?
Yes. ReC98 reconstructs the source code of Touhou 1 to 5, which were released on the NEC PC-98.
Unofficial. This page is written by an independent directory. It is not made by, endorsed by or affiliated with Team Shanghai Alice (ZUN) or GensokyoClub (Touhou 6: the Embodiment of Scarlet Devil decompilation and portable port's author). We do not host any files, and we never link to game files, ROMs or ISOs.
Sources
This page was last updated on Nov 3, 2026. A date after a source is the day we read it. Versions and steps follow the official project; if they differ, the official source wins.
- GensokyoClub/th06 README (perfect reconstruction of Touhou 6 v1.02h source, portable branch for Linux and modern Windows, required original executable and its SHA256, build dependencies; checked 2026-11-03)
- GitHub API: th06 repository (created 20 August 2023, about 630 stars, CC0-1.0, last push 2 November 2026; checked 2026-11-03)
- th06 portable branch
More ports
See every native PC version of a console game in our recompiled games list, browse all PC ports of console games, or go back to the full list of ported games.
