# Test Drive II: The Duel: an SDL3 reconstruction of the DOS EGA game

> Test Drive II: The Duel is reimplemented in C for SDL3 from analysis of the DOS EGA game. The port loads the user's original executable and data, while accompanying tools unpack EXEPACK files, disassemble x86 code and decode resource archives. Function indexes, porting specifications and file-format notes document the reconstruction.

- 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/kylofon/test-drive-2-sdl3>
- Primary source: <https://github.com/kylofon/test-drive-2-sdl3/blob/352b56824d8c91e938b8f0794a71afca9a276193/README.md>
- Catalog page: <https://awesomerea.org/resources/test-drive-2-sdl3-case/>
- Record JSON: <https://awesomerea.org/resources/test-drive-2-sdl3-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/test-drive-2-sdl3-case/index.md)

## Requirements & limits

- **Prerequisites:** The user's own writable Test Drive II game-file directory, including TD2EGA.EXE and the listed data archives, is required.
- **Prerequisites:** Building requires CMake 3.24+, a C11 compiler and SDL3.
- **Limits:** Only the EGA version is ported; CGA, Hercules and Tandy versions remain unported.
- **License:** MIT License.

## Primary sources

1. <https://github.com/kylofon/test-drive-2-sdl3/blob/352b56824d8c91e938b8f0794a71afca9a276193/README.md>
2. <https://github.com/kylofon/test-drive-2-sdl3/blob/352b56824d8c91e938b8f0794a71afca9a276193/FORMATS.md>

## More in Games

- [th10: reconstructing Mountain of Faith 1.00a for the browser](https://awesomerea.org/resources/th10-mountain-of-faith-case/index.md) · Case study
- [The Crystal Scrolls: a Crystal Space engine for The Elder Scrolls III: Morrowind](https://awesomerea.org/resources/crystal-scrolls-case/index.md) · Case study
- [The Force Engine: rebuilding the Jedi Engine for Dark Forces](https://awesomerea.org/resources/the-force-engine-case/index.md) · Case study
- [The Hobbit: reconstructing its graphics engine](https://awesomerea.org/resources/hobbitgfx-case/index.md) · Case study
- [Thirdeye: reimplementing the AESOP engine for Eye of the Beholder 3 and Dungeon Hack](https://awesomerea.org/resources/thirdeye-aesop-engine-case/index.md) · Case study
- [Thyme: Command & Conquer Generals: Zero Hour reimplementation](https://awesomerea.org/resources/thyme/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.
