Additionally, TH01 includes the Pi loader library by 電脳科学研究所/BERO,.as well as the Borland C/C++ runtime library, version 4.0.master.lib, a 16-bit x86 assembly library providing an abstraction layer for all components of a PC-98 DOS system.During the development of the static English patches for these games, we identified two main libraries used across all 5 games, and even found their source code. In short, these games are as abandoned as they can possibly be, and are unlikely to ever turn a profit again.ĭefinitely. These games stopped being sold in 2002, ZUN has confirmed on multiple occasions to have lost all the data of the "earlier games", and PC-98 hardware is long obsolete.Or, even better, the prospect to do this entirely on a more modern system.
#Borland c 5.5 1 code#
That by itself requires a lot of reverse-engineering and, preferably, compilable source code to avoid the limits of hex-editing.
The obvious method of modifying the font ROM specifically for each language is ugly and won't work on real hardware, so a custom renderer would be needed.
#Borland c 5.5 1 full#
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!