# Tomb Raider: Legend: a cdcEngine decompilation

> cdcEngine reconstructs C++ source for the engine used by Tomb Raider: Legend. The code includes game loop, archive filesystem, rendering, sound, and scene components, with a Premake configuration for an x86 windowed application.

- 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/TheIndra55/cdcEngine>
- Primary source: <https://github.com/TheIndra55/cdcEngine/blob/405efd9ddaa9cc4ff86787d4fb5b0c744cbf1c97/README.md>
- Catalog page: <https://awesomerea.org/resources/tomb-raider-legend-cdc-engine-case/>
- Record JSON: <https://awesomerea.org/resources/tomb-raider-legend-cdc-engine-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/tomb-raider-legend-cdc-engine-case/index.md)

## Requirements & limits

- **Prerequisites:** Premake and an x86 Windows C++ build environment are indicated by the build configuration.
- **Limits:** Some game initialization and rendering paths are stubbed or disabled.
- **License:** GPL-3.0 license.

## Primary sources

1. <https://github.com/TheIndra55/cdcEngine/blob/405efd9ddaa9cc4ff86787d4fb5b0c744cbf1c97/README.md>
2. <https://github.com/TheIndra55/cdcEngine/blob/405efd9ddaa9cc4ff86787d4fb5b0c744cbf1c97/premake5.lua>
3. <https://github.com/TheIndra55/cdcEngine/blob/405efd9ddaa9cc4ff86787d4fb5b0c744cbf1c97/tr7/game/Main.cpp>

## More in Games

- [tomb3: decompiling PC Tomb Raider 3](https://awesomerea.org/resources/tomb3-tomb-raider-3-case/index.md) · Case study
- [TOMB4: decompiling the PC version of Tomb Raider 4](https://awesomerea.org/resources/tomb4-case/index.md) · Case study
- [Tomodachi Life: an early 3DS decompilation](https://awesomerea.org/resources/tomodachi-life-3ds-decomp-case/index.md) · Case study
- [TomodachiLifeDecomp: early 3DS decompilation](https://awesomerea.org/resources/tomodachi-life-decomp-case/index.md) · Case study
- [Tony Hawk's Underground 2: a behavioral C++ reconstruction](https://awesomerea.org/resources/thug2-decomp-case/index.md) · Case study
- [Travel With Trashman: a ZX Spectrum disassembly](https://awesomerea.org/resources/travel-with-trashman-spectrum-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.
