Port

Prince of Persia 2: The Shadow and the Flame Linux/macOS port

by dmucli

This page was last updated Oct 18, 2026.

About this port

dmucli's native source port of the original Macintosh edition of Prince of Persia 2: The Shadow and the Flame. Translates the 68k game to C with a reimplemented Mac Toolbox and SDL platform layer, adding save states, rewind, controller support and Linux/handheld packages. Requires the player's own Macintosh game disk image.

Platform support & installation

macOS

Native decompilation-based source port with minimal 68k dispatch glue

Requirements

Own original Macintosh Prince of Persia 2 disk image containing the game application and Data folder on HFS; no game data included. macOS 12+; unzip the application, move to Applications and select the disk image. SDL is bundled.

Sources

No independent gameplay or full-device validation performed. Source-build reproducibility is incomplete: generated glue.c/proto.h are absent from the public tree, and regeneration needs external Ghidra/traps.json inputs. Maintainer says the app is Developer-ID signed but not notarized. Intel Mac support is not documented.

Maintainer documentation · Reported Oct 17, 2026 · Checked Oct 18, 2026 · v0.2 (2026-10-18 asset rebuild)

Source ↗

Linux

Native decompilation-based source port with minimal 68k dispatch glue

Requirements

Own original Macintosh Prince of Persia 2 disk image containing the game application and Data folder on HFS; no game data included. x86_64 Linux, SDL2 and zlib runtime libraries. Extract package, put the disk image beside pop2 or pass its path. Release build uses Debian 11/glibc 2.31 baseline.

Sources

No independent gameplay or full-device validation performed. Source-build reproducibility is incomplete: generated glue.c/proto.h are absent from the public tree, and regeneration needs external Ghidra/traps.json inputs. Scripted cross-platform memory comparisons are maintainer verification, not broad hardware or complete-playthrough evidence.

Maintainer documentation · Reported Oct 17, 2026 · Checked Oct 18, 2026 · v0.2 (2026-10-18 asset rebuild)

Source ↗

Linux

Native decompilation-based source port with minimal 68k dispatch glue

Requirements

Own original Macintosh Prince of Persia 2 disk image containing the game application and Data folder on HFS; no game data included. arm64 Linux, SDL2 and zlib runtime libraries. Extract package, put the disk image beside pop2 or pass its path. Release build uses Debian 11/glibc 2.31 baseline.

Sources

No independent gameplay or full-device validation performed. Source-build reproducibility is incomplete: generated glue.c/proto.h are absent from the public tree, and regeneration needs external Ghidra/traps.json inputs. Scripted cross-platform memory comparisons are maintainer verification, not broad hardware or complete-playthrough evidence.

Maintainer documentation · Reported Oct 17, 2026 · Checked Oct 18, 2026 · v0.2 (2026-10-18 asset rebuild)

Source ↗

Linux

Native decompilation-based source port with minimal 68k dispatch glue

Requirements

Own original Macintosh Prince of Persia 2 disk image containing the game application and Data folder on HFS; no game data included. Copy package into the Recalbox share, place the image in roms/ports/Prince of Persia 2 and restart EmulationStation. Uses Recalbox SDL2 and configured controllers.

Sources

No independent gameplay or full-device validation performed. Source-build reproducibility is incomplete: generated glue.c/proto.h are absent from the public tree, and regeneration needs external Ghidra/traps.json inputs. If a custom systemlist.xml already exists, merge the new system entry rather than overwrite it. Scripted equivalence does not verify every Recalbox device.

Maintainer documentation · Reported Oct 17, 2026 · Checked Oct 18, 2026 · v0.2 (2026-10-18 asset rebuild)

Source ↗

Linux

Native decompilation-based source port with minimal 68k dispatch glue

Requirements

Own original Macintosh Prince of Persia 2 disk image containing the game application and Data folder on HFS; no game data included. Copy package into the Recalbox share, place the image in roms/ports/Prince of Persia 2 and restart EmulationStation. Uses Recalbox SDL2 and configured controllers.

Sources

No independent gameplay or full-device validation performed. Source-build reproducibility is incomplete: generated glue.c/proto.h are absent from the public tree, and regeneration needs external Ghidra/traps.json inputs. If a custom systemlist.xml already exists, merge the new system entry rather than overwrite it. Scripted equivalence does not verify every Recalbox device.

Maintainer documentation · Reported Oct 17, 2026 · Checked Oct 18, 2026 · v0.2 (2026-10-18 asset rebuild)

Source ↗

Linux

Native decompilation-based source port with minimal 68k dispatch glue

Requirements

Own original Macintosh Prince of Persia 2 disk image containing the game application and Data folder on HFS; no game data included. Unzip package into ports/ and put the disk image in ports/pop2/. Package includes aarch64 and x86_64 executables; compatible Linux SDL2/zlib runtime required.

Sources

No independent gameplay or full-device validation performed. Source-build reproducibility is incomplete: generated glue.c/proto.h are absent from the public tree, and regeneration needs external Ghidra/traps.json inputs. Named firmware families are maintainer targets; support for every individual handheld is not independently established.

Maintainer documentation · Reported Oct 17, 2026 · Checked Oct 18, 2026 · v0.2 (2026-10-18 asset rebuild)

Source ↗