hn.today

Reverse engineer of PC-98 Touhou games retires

rec98.nmlgc.net70 points46 comments
Screenshot of Reverse engineer of PC-98 Touhou games retires

The update describes a final, technically demanding effort to prepare Shuusou Gyoku for replay support and announces the reverse engineer’s retirement. It begins with an accidental discovery: point items can award negative values when VIVIT collects them while respawning below the playfield. The game’s score formula permits this, but its popup font had no minus sign, so the original display concealed the negative amount; changing the number format to unsigned exposed the problem. The developer decides to correct the popup rendering without changing how score is calculated or committed, since altering when negative score deltas reach the official total could make recorded runs differ from the original game.

The larger project is to isolate the minimum necessary gameplay code in a separate library, leaving presentation and other freely changeable elements in the frontend. This separation is intended to support fast, parallel replay validation, multiple independent game instances, and eventually efficient backward seeking through replay keyframes. Keeping the logic layer small also reduces dependencies and limits how often changes affect replay compatibility; a source-code hash could identify the precise gameplay implementation used for a run. The update covers related work on portability, cleanup, Windows and Linux builds, and a command-line replay validator. It presents this architectural feature as the effort that ultimately broke the developer and the project.

Read on rec98.nmlgc.net46 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Other

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.