An open-source engine for Star Trek: The Next Generation - A Final Unity (Spectrum HoloByte, 1995), built on SDL3.
Status: early development. Nothing runs yet.
OpenAFU contains no game data. You need your own copy of the game; point the engine at its folder.
- Exact recreation of the original game's behaviour, checked against the original (savegame and frame comparison).
- Easy to build on: the file loaders, game logic and platform code are separate libraries, enhancements are options, and original behaviour is the default.
- Runs windowed or borderless; no installer needed.
| folder | purpose |
|---|---|
src/formats |
afu-formats: loaders for the game's files. No SDL, usable by tools. |
src/game |
afu-game: deterministic game logic and script interpreter. |
src/platform |
afu-platform: SDL3 video, audio, input. |
tests |
Unit tests, plus golden tests that compare with the original files (skipped without them). |
docs |
File format and engine notes. |
Requires CMake 3.24+ and a C++20 compiler. SDL3 is fetched automatically.
cmake -S . -B build
cmake --build build
GPL-3.0-or-later. See LICENSE. This project is not affiliated with or endorsed by the rights holders of Star Trek or A Final Unity.