2stars on GitHub
November 11, 2026last update
C++language
—license
What it is
Static recompilation of Prince of Persia 2: The Shadow & the Flame (Macintosh, 1994, 68k) to native C++ and WebAssembly. Engine + tools only; no game data.
From its README: A static recompilation of the Macintosh build of Prince of Persia 2: The Shadow and the Flame (1995, 68k) into native code for modern platforms. Modeled on XenonRecomp / N64Recomp: 68k → C++ plus a Mac Toolbox runtime layer on top of SDL2.
- SIT / AppleDouble unpacking, resource dump
- CODE 0 parser (A5 world, 1018-entry jump table)
- 68k decoder (lengths / flow): 100k instructions, 0 errors
- Trap census: 272 unique, Toolbox API map
- 68k → C++ recompiler (gen/seg.cpp)
- Runtime (memory, traps, Resource Manager, files, saves)
- QuickDraw → SDL2 (palettes, GWorlds, native 512x384 — fills the
- Sound Manager → SDL2 (HALESTORM MDRV pipeline)
- Boots and is playable from level 1 through 14
- All 14 levels verified visually (load screenshots:
- Final boss (the impostor doppelganger) is defeatable; the duel, the
- Scaling / filters (POP2SCALE, POP2FILTER, F8/F9/F11) and gamepad
Get it
Latest release: Prince of Persia 2 (Macintosh) — self-hostable web engine (no game data) · July 5, 2026
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.