Scarlet Weather Rhapsody gets a byte-exact source reconstruction project
A GitHub project is rebuilding Scarlet Weather Rhapsody's 1.06a source from the original executable. It's early and needs your own copy of the game.

A new GitHub project is rebuilding the source code of Scarlet Weather Rhapsody, a Touhou game, from its 1.06a executable. The target is a byte-exact match: compile the rebuilt code and get back the same file as the original. The README says the work will take considerable time.
Scarlet Weather Rhapsody (also labelled TH10.5) is the game the repo is named after. The repo is N0zoM1z0/th105 and has 58 stars.
The repo doesn’t ship the game. You supply your own th105.exe, and the scripts check it against a fixed size of 3,129,344 bytes and known SHA-256 and MD5 hashes. Only the original Japanese 1.06a is accepted. The older 1.06 build gets rejected on purpose. According to the README, the 1.06a file is inside the official 1.06a updater.
The code is MIT-licensed. The MIT license does not cover the game or its assets. The work started from an earlier 1.06 effort, and many functions have since been checked against 1.06a. Unselected files from that old tree count as hypotheses, not 1.06a progress. The sources don’t give a completion percentage.
The README points to tooling built around IDA, with Ghidra listed among the topics. To start:
- Clone the repo.
- Run
scripts/import-target.sh /path/to/th105.exewith your own 1.06a file. - Run
python3 scripts/verify-target.pyto confirm the hashes match.
It’s slow, careful work on one binary. The README is upfront that the finish line is far off.
