# TurokEX: rebuilding PC Turok on the Kex engine

> TurokEX reimplements the PC version of Turok on the Kex engine, with the game's actors, enemy AI, weapons, pickups, areas and HUD written as AngelScript classes. Its KPFGen converter reads the original CARTFILE.DAT and Turok.exe and packs their textures, fonts, sounds, models, levels and particle effects into a game.kpf archive. The engine side covers OpenGL rendering, collision and physics, OpenAL sound, a console, ENet networking and an SDL2 platform layer.

- Type: Case study
- Targets: Game
- Category: Independent reconstruction cases
- Relationship: Independent reconstruction project
- Sources reviewed: 2026-11-09
- Added to the catalog: 2026-11-10
- Original resource: <https://github.com/svkaiser/TurokEX>
- Primary source: <https://github.com/svkaiser/TurokEX/blob/90589b4bd3c35e79ea42572e4c89dc335c5cfbfe/tools/KPFGen/src/main.c>
- Catalog page: <https://awesomerea.org/resources/turokex-case/>
- Record JSON: <https://awesomerea.org/resources/turokex-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/turokex-case/index.md)

## Requirements & limits

- **Prerequisites:** The original PC Turok CARTFILE.DAT and Turok.exe are required for KPFGen to build game.kpf.
- **Prerequisites:** Microsoft Visual Studio solutions are provided for the engine and KPFGen, plus an Xcode project for the engine; SDL2, AngelScript and ENet sources and OpenAL headers and prebuilt libraries are bundled.
- **Limits:** KPFGen runs on Windows only; its non-Windows entry point is an #error TODO stub.
- **License:** Source files carry GNU General Public License version 2 or later headers; there is no licence file at the repository root.

## Primary sources

1. <https://github.com/svkaiser/TurokEX/blob/90589b4bd3c35e79ea42572e4c89dc335c5cfbfe/tools/KPFGen/src/main.c>
2. <https://github.com/svkaiser/TurokEX/blob/90589b4bd3c35e79ea42572e4c89dc335c5cfbfe/tools/KPFGen/src/textures.c>
3. <https://github.com/svkaiser/TurokEX/blob/90589b4bd3c35e79ea42572e4c89dc335c5cfbfe/kex2/turok/scripts/turokgame/components/weapons/turokWeaponChronoScepter.txt>
4. <https://github.com/svkaiser/TurokEX/blob/90589b4bd3c35e79ea42572e4c89dc335c5cfbfe/kex2/turok/framework/system.cpp>

## More in Games

- [TwinEngine: a Little Big Adventure 1 engine rewrite](https://awesomerea.org/resources/twinengine-lba1-case/index.md) · Case study
- [Twisted Metal: Rust reimplementation of the 2012 PS3 game](https://awesomerea.org/resources/twisted-metal-native-engine-case/index.md) · Case study
- [UA_source: a reimplementation of the Urban Assault engine](https://awesomerea.org/resources/ua-source-case/index.md) · Case study
- [UAlbion: a remake of the 1995 RPG Albion](https://awesomerea.org/resources/ualbion-case/index.md) · Case study
- [Ultima V Redux: recreating Ultima V from original game data](https://awesomerea.org/resources/ultima-v-redux-case/index.md) · Case study
- [Un-Banished: reconstructing the Banished engine in Rust](https://awesomerea.org/resources/un-banished-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.
