# Magic Carpet: a DOS game reconstruction and Windows port

> Magic Carpet reconstructs Bullfrog's 1994 DOS game as a Windows x64 C++17 and SDL2 port from analysis of carpet.exe. The repository includes Ghidra naming data, format documentation and a DOSBox reference harness; the author reports matching simulation ticks and rendered frames in recorded comparisons.

- Type: Case study
- Targets: Binary · 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/jessperler88/Magic-Carpet-port>
- Primary source: <https://github.com/jessperler88/Magic-Carpet-port/blob/18cbfd5da0b3d7fc5481595b0b6c9b32abd58036/README.md>
- Catalog page: <https://awesomerea.org/resources/magic-carpet-native-port-case/>
- Record JSON: <https://awesomerea.org/resources/magic-carpet-native-port-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/magic-carpet-native-port-case/index.md)

## Requirements & limits

- **Prerequisites:** The player's own DOS retail Magic Carpet files, including carpet.exe and data directories, are required.
- **Prerequisites:** Windows x64, Visual Studio 2022+, CMake 3.25+, Python 3.10+ and SDL2 through vcpkg are required.
- **Prerequisites:** The Hidden Worlds expansion requires its own HIDDEN.EXE and expansion data.
- **License:** GPL-3.0-or-later License.

## Primary sources

1. <https://github.com/jessperler88/Magic-Carpet-port/blob/18cbfd5da0b3d7fc5481595b0b6c9b32abd58036/README.md>
2. <https://github.com/jessperler88/Magic-Carpet-port/blob/18cbfd5da0b3d7fc5481595b0b6c9b32abd58036/docs/analysis/README.md>

## More in Games

- [Marble Love: a differential TypeScript port of Marble Madness](https://awesomerea.org/resources/marble-love-case/index.md) · Case study
- [Mario 64 for PlayStation 5: a Ghostship port](https://awesomerea.org/resources/ps5-ghostship-case/index.md) · Case study
- [Mario Kart 64 3DS: porting Mario Kart 64 to Nintendo 3DS](https://awesomerea.org/resources/mario-kart-64-3ds-case/index.md) · Case study
- [Mario Kart 64 for Dreamcast: porting the Nintendo 64 game to Dreamcast](https://awesomerea.org/resources/mk64-dc-case/index.md) · Case study
- [Mario Kart Wii 3DS: a native port built from the player's disc](https://awesomerea.org/resources/mkw-3ds-case/index.md) · Case study
- [MaskPad: an iPhone and iPad port of Majora's Mask](https://awesomerea.org/resources/maskpad-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.
