Star on GitHubStar2.4k stars

Case study

Prince of Persia 2: statically recompiling the DOS game for Windows

This statically recompiles the DOS executable PRINCE.EXE from Prince of Persia 2 into C and links it with a Windows runtime. Game logic, rendering, the intro, and the music driver stay the original code. VGA, the timer, the keyboard, and Sound Blaster or AdLib are replaced. The launcher is PoP2 Launcher.exe.

Targets
Game
Category
Independent reconstruction cases
Relationship
Independent reconstruction project
Sources reviewed
Evidence class
C1 partial scope or analysis entry
Stars
34
Last commit
2026-09-23
Language
C

GitHub data as of 2026-11-10

Copy as MarkdownView JSONCite

Evidence

Demo screenshot from the project's public documentation
Observed
Download and demo observed; the case covers part of the target software.
Scope
Partial
Checked
2026-11-09

How evidence classes are assigned

Requirements & limits

  • Clang, llvm-rc, and Python 3. Set POP2_GAMEDIR to the folder that contains PRINCE.EXE, run python recomp/recomp.py recomp/extra_entries.txt, then ./build.sh.
  • The README does not name a license.

Cite

BibTeX

@misc{pop2-windows,
  title = {{Prince of Persia 2: statically recompiling the DOS game for Windows}},
  howpublished = {\url{https://github.com/Supermedo/prince-of-persia-2-windows}},
  url = {https://github.com/Supermedo/prince-of-persia-2-windows},
  urldate = {2026-11-07},
  note = {Awesome REA entry: \url{https://awesomerea.org/resources/pop2-windows/}}
}

Plain text

Prince of Persia 2: statically recompiling the DOS game for Windows. https://github.com/Supermedo/prince-of-persia-2-windows (accessed 2026-11-07). Awesome REA entry: https://awesomerea.org/resources/pop2-windows/

Useful? Star Awesome REA on GitHub2.4k

About this entry

The description was reviewed against primary sources.

Report an outdated entry Suggest a translation fix

Primary sources

  1. README.md GitHub · Supermedo/prince-of-persia-2-windows · Revision e2c407f

More in Games

All 2976 entries in GamesGames case studies (2832)

↑↓ move↵ open⌘↵ new tab