The 2000 Dreamcast game, running natively on Windows and Linux. The game's own program is translated to C and runs on a rebuilt Dreamcast: graphics, sound, controllers and memory card.
No game data is included. You build it from your own disc image.
You need your own copy of the game as a Redump-style .cue + .bin set (USA release), Windows 10 or 11, and about 1.5 GB of space.
build.bat and pick your disc's .cue if it asks.pc-build folder and start launcher.bat.On Linux:
./build.sh "/path/to/Evil Dead - Hail to the King (USA).cue"
A recompiler finds the roughly 6,000 functions in the game's SH-4 program and translates every instruction to C. The runtime stands in for the Dreamcast hardware: the PowerVR2 graphics chip (drawn with OpenGL), the AICA sound chip and its ARM7 CPU, the controller bus and memory card, the GD-ROM drive reading your disc image, and the BIOS. The technical notes cover the details and what was learned about the game along the way, including its model and texture formats.
Still to do: the HD font and logo, sound reverb, save slots 3–8, the AVI movies, model animations, Android.