# SDLPoP2: rebuilding the Prince of Persia 2 DOS engine

> SDLPoP2 rebuilds the engine of Prince of Persia 2: The Shadow and the Flame from its DOS program as C for Linux and Windows. It reads the user's original game data, and its findings document DOSBox-X traces, reconstructed routines and equivalence tests; a headless core supports tool-assisted runs.

- Type: Case study
- Targets: Game
- Category: Independent reconstruction cases
- Relationship: Independent reconstruction project
- Sources reviewed: 2026-11-06
- Added to the catalog: 2026-11-09
- Original resource: <https://github.com/ToolAssisted-run/SDLPoP2>
- Primary source: <https://github.com/ToolAssisted-run/SDLPoP2/blob/61fd1a28e5c10bb4a72d99ee3d0491a1c929923e/README.md>
- Catalog page: <https://awesomerea.org/resources/sdlpop2-prince-of-persia-2-case/>
- Record JSON: <https://awesomerea.org/resources/sdlpop2-prince-of-persia-2-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/sdlpop2-prince-of-persia-2-case/index.md)

## Requirements & limits

- **Prerequisites:** An original Prince of Persia 2 installation with PRINCE.EXE and PRINCE.DAT.
- **Prerequisites:** Meson is used to build the project.
- **License:** GNU GPL version 3 or later.

## Primary sources

1. <https://github.com/ToolAssisted-run/SDLPoP2/blob/61fd1a28e5c10bb4a72d99ee3d0491a1c929923e/README.md>
2. <https://github.com/ToolAssisted-run/SDLPoP2/blob/61fd1a28e5c10bb4a72d99ee3d0491a1c929923e/docs/FINDINGS.md>
3. <https://github.com/ToolAssisted-run/SDLPoP2/blob/61fd1a28e5c10bb4a72d99ee3d0491a1c929923e/tests/README.md>

## More in Games

- [Seedra: reimplementing Minecraft Legacy Console Edition world generation](https://awesomerea.org/resources/seedra-case/index.md) · Case study
- [sekiro-rs: a Rust and Bevy reconstruction of Sekiro](https://awesomerea.org/resources/sekiro-rs-case/index.md) · Case study
- [sena-rs: reimplementing SoftPAL for Koikake](https://awesomerea.org/resources/sena-rs-case/index.md) · Case study
- [Settlers.ts: decoding Settlers 4 data for a browser remake](https://awesomerea.org/resources/settlers-ts-case/index.md) · Case study
- [sh23ds: a native 3DS reconstruction of Silent Hill 2](https://awesomerea.org/resources/sh23ds-case/index.md) · Case study
- [sh3redux: a Silent Hill 3 engine remake in C++](https://awesomerea.org/resources/sh3redux-case/index.md) · Case study

## About this entry

The description was reviewed against primary sources.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
