Recompilation · a console game on other systems
hotd2-recompiled
by yunophilia · github.com/yunophilia/hotd2-recompiled
What it is
The House of the Dead 2 (Sega NAOMI) statically recompiled to C/WebAssembly and played in the browser. Bring your own ROM; no game data included.
From its README: A browser (WebAssembly) port of The House of the Dead 2 (Sega NAOMI, 1998), built by statically recompiling the original SH-4 program to C and replacing the NAOMI hardware with high-level emulation. Bring your own dump: this repository contains no game code or data, only tools and our own runtime.
- Program analysis: cart layout, program image (ic22[0:0x125E10] at
- Recompiler (tools/recomp.py): every function becomes C; delay slots,
- SH-4 interpreter fallback (runtime/interp.c) for code the static
- Hardware HLE (runtime/hle.c and friends): BIOS interrupt dispatch,
- Graphics: PVR2 display-list and texture decoder (runtime/pvr.c) with
- Sound: ARM7 interpreter + AICA model run the game's own sound driver;
- Browser build: 60 fps through all chapters tested so far (automated
- Saves: EEPROM and SRAM persist in the browser (localStorage).
- Recompiler cross-check: per-function comparison against the interpreter
- Coverage of the last chapters and the ending (in progress).
Games
Get it
No release published yet.
Port Tracker never links downloads. Get it only from the project’s own repository and its Releases page; files offered in comments or on file hosts are a common scam.