from Hacker News

Decompilation of the first Touhou game completed

by sanqui on 8/16/22, 8:47 AM with 8 comments

  • by TeaDude on 8/16/22, 1:50 PM

    Huh. I didn't know that the old PC-98 Touhou games used C++.

    I always assumed that Zun used C - possibly including some custom ASM - due to the relative low power of the PC-98. (It's a custom 68000 machine in the vein of the Amiga for those unaware)

    Still, I should have guessed. Plenty of DOS games used C++.

    One thing I'm interested to see right off the bat is if Zun bothered with collision partitioning or not.

  • by userbinator on 8/16/22, 1:34 PM

    I wonder if this was mostly a manual effort, or used one of the various automatic decompilers which have become available in the past few years? I can already decompile manually into C/C++ about as quickly as I can read the Asm, but IDA/Hexrays can do it several orders of magnitude faster.
  • by bick_nyers on 8/16/22, 1:43 PM

    Awesome. A decompilation of Embodiment of Scarlet Devil would be incredible.