# AI-Written Turok Engine Unifies N64 Recomps

> A new shared engine for Nintendo 64 Turok static recompilations was written almost entirely by Claude under human direction.

- Published: 2026-11-11T18:28:06Z
- Score: 8/10
- Tags: n64, recomp, ai, tool
- Port / platforms: N64 -> PC (Windows) (Recompilation)
- Web page: https://emu-radar.customfw.xyz/news/ai-written-turok-engine-n64-recomp/
- Sources: https://github.com/n64hub/turok-engine

A shared codebase for Nintendo 64 static recompilations is available on GitHub as [turok-engine](https://github.com/n64hub/turok-engine). Built for Acclaim's Turok engine family, which includes [Turok 2: Seeds of Evil](https://github.com/n64hub/turok-2-recomp), the library handles TLB-mapped code, audio timing, DMA threads, and Controller Pak saves.

Almost all code, tests, and documentation in the repository were written by Claude under human direction and play-testing. Upstream projects that do not accept AI-generated code will not receive these contributions.

The repository provides tools like `gen_syms.py` to generate symbols for [N64Recomp](https://github.com/N64Recomp/N64Recomp) without manual decompilation, alongside runtime patches needed for tools like [RT64](https://github.com/rt64/rt64).

## How to try it

1. Add `lib/turok-engine` as a submodule to your N64 recompilation project pinned at a target commit.
2. Include `lib/turok-engine/src/*.cpp` in your `CMakeLists.txt` build configuration.
3. Run `python3 lib/turok-engine/tools/gen_syms.py` from the game root using your `syms/layout.toml` and `syms/names.toml` files to output game symbols.
