# Perfect Cherry Blossom (TH07) source reconstruction reaches exact byte matches

> A new GitHub project rebuilds the source of Touhou's Perfect Cherry Blossom 1.00b. It needs your own original exe and is not a playable port yet.

- Published: 2026-11-08T05:29:39Z
- Score: 7/10
- Tags: pc, decomp
- Port / platforms: PC (Windows) -> PC (Windows), Linux / Steam Deck (Decompilation)
- Web page: https://emu-radar.customfw.xyz/news/th07-perfect-cherry-blossom-source-reconstruction/
- Sources: https://github.com/N0zoM1z0/th07

A new GitHub project, N0zoM1z0/th07, reconstructs the source code of Perfect Cherry Blossom (TH07), the seventh main Touhou game, in its original Japanese 1.00b version. It builds on the earlier work by [some100](https://github.com/some100/th07) and adds exact matching corrections for eight named functions.

The README reports 686 of 686 authored functions and 380,493 of 380,493 authored bytes matching the original binary. Those numbers cover the project's own code only. SDK and compiler routines sit outside the count. Whole-executable identity and runtime playability remain unverified, so this is not a playable port yet.

The repo doesn't ship the game. You need your own original th07.exe, 650,752 bytes, with the SHA-256 listed in the README. The build targets Linux and needs Python 3.11+, Git, 32-bit Wine and a few command-line tools. Ghidra runs headless on one CPU with a 2 GiB heap cap.

How to try it:
1. Put your original exe at resources/th07.exe and run python3 scripts/verify-target.py.
2. Install the requirements, bootstrap the tools and initialize Ghidra with the commands in the README.
3. Run scripts/build-whole.py, then scripts/replay-exact-units.py.

The repo carries the agentic-workflow topic, but the README doesn't say how much of the matching work was automated.
