


STD files that could just be interpreted by an alternate VM, midboss and boss battles are entirely hardcoded into the executables. While stage enemies and their bullet patterns are controlled by bytecode in TH04's and TH05's.There are a number reasons why achieving moddability via full decompilation seems to be more worthwhile for the PC-98 games, in contrast to a PyTouhou-style black-box reimplementation: This is also why ReC98 values readable and understandable code over a pure decompilation. This property is maintained for every Git commit along the way.Īside from the preservation angle and the resulting deep insight into the games' mechanics, the code can then serve as the foundation for any type of mod, or any port to non-PC-98 platforms, developed by the community. Perfect therefore means that the binaries compiled from the code in the ReC98 repository are indistinguishable from ZUN's original builds, making it impossible to disprove that the original code couldn't have looked like this.

Since we only have the binaries, we obviously can't know how ZUN named any variables and functions, and which comments the original code was surrounded with. TH02: 東方封魔録 ~ the Story of Eastern Wonderland (1997).TH01: 東方靈異伝 ~ The Highly Responsive to Prayers (1997).This project aims to perfectly reconstruct the source code of the first five Touhou Project games by ZUN Soft (now Team Shanghai Alice), which were originally released exclusively for the NEC PC-9801 system. The Touhou PC-98 Restoration Project ( "ReC98")Ĭheck the homepage for more detailed progress numbers and information about the crowdfunding!
