OpenReliant is an open-source engine reimplementation of StarLancer. It follows the original closely. StarLancer is the space combat simulator by Warthog and Digital Anvil, published by Microsoft in 2000.
OpenReliant is written in Zig and uses SDL3. It renders with Vulkan (Metal on macOS) through the GPU API of SDL. It runs natively on Linux, macOS and Windows, with the assets from your retail copy of the game.
OpenReliant is an independent, non-commercial open-source project. It has no connection with Warthog Games, Digital Anvil or Microsoft, and they do not endorse it. StarLancer is a trademark of its owner.
This repository contains no copyrighted game assets: no textures, 3D models, sound effects, music, cinematics, mission scripts or game binaries. To run, OpenReliant needs assets from a legally owned copy of StarLancer. We do not support or accept software piracy.
OpenReliant 1.0 is released. Single player is fully playable to the standard of the original: you can play the full campaign, from the first mission to the end. Games saved in the original continue.
OpenReliant 1.1, the multiplayer milestone, is in development. Its pre-releases are on the releases page.
- Flight & Combat: All ships, with the original flight model, weapons, damage, AI and cockpit displays, and 8 camera views, which include 3D cockpits.
- Missions: Retail and custom mission files load. Their scripts run in full, with all the commands that the single-player missions use.
- Controls: Mouse and keyboard, flight sticks, HOTAS and gamepads, with force feedback played as rumble. You set the bindings on the controls screen of the game.
- Graphics: Per-pixel shading with gamma-corrected lighting, and real-time shadows. Rendering runs at native resolution in 32-bit colour, with bloom, anti-aliasing, smooth motion at high frame rates, and more detailed explosions, shields and planets.
--originalgives back the original graphics and sound. - Audio: 3D positional sound with reverb and headphone HRTF.
- Mods: Archives and folders in the
modsfolder of the game can replace or add to any file of the game: models, sounds, music, speech, movies and missions.- PNG pictures of any size can replace textures, with material maps for physically based shading (normal maps, highlights, glow and sky reflections). They can also replace the shapes and backgrounds of the interface, which includes widescreen backgrounds. WebM or Matroska files can replace the movies.
- Mods can add ship types, guns, missiles and pilots with their own faces and voices, and models built from OBJ or glTF.
- Scripts in Luau can change the records of the game and hook its functions and the commands of the missions. They can run on ships, missiles and turrets, draw on the display and the menus, play their own sounds in 3D and control the music. They can offer a page of options, add game modes and campaigns, change the campaign of the game, its missions and the KILLBOARD, change the combat maneuvers of the AI, and add shaders.
- A mods screen turns mods on and off and sets their load order. It shows which mods replace the files of other mods, and which mods a mod needs.
- The scripting API is stable from 0.8 on (What mods can do, Modding, Scripting).
- Front End: The main menu, the settings screen with its audio, controls, video and graphics, the pilot roster, the saved games, and the rooms of the Reliant and the Yamato. The rooms include the induction of a new pilot, the news reports, the in-game options, the simulator pod, the locker, the CD player, the briefings, the loadout, the ITAC and the end of the story.
- Multiplayer (in the 1.1 pre-releases): network games with the arena modes of the original and co-op campaign missions, a server browser, invites that need no port forwarding, and a headless dedicated server (Configuration and options).
- Mission editor: OpenReliant Editor is available as an early preview, with its script view, map and debugger. It has its own releases.
- Roadmap: See the milestones.
- User guide: installing, configuring and playing OpenReliant.
- Developer and technical documentation: the engine, the file formats, the reverse engineering and the toolchain.
Open an issue with the correct form:
- Bug report: something does not work, or works differently from the original game.
- Feedback: how the game plays, and all that feels wrong or unlike the original.
- Mod or scripting problem: a mod that does not load or work correctly, or a problem with the scripting API.
- Feature request: something that OpenReliant does not do yet.
A bug report asks for openreliant.log from your game folder (The log file).
OpenReliant is free. If you want to sponsor the time that I put into it, you can buy me a coffee. This is fully optional.
Download the archive for your system from the latest release and extract it. Then follow the installation guide. It installs the files of the game from your StarLancer discs or disc images, and starts the game.
To build OpenReliant, you need Zig 0.17.1: see Building from source. CONTRIBUTING gives the workflow to work on it.
The repository includes tools for reverse engineering. make help lists the workflows. CONTRIBUTING and the toolchain describe them.
The sltool utility, included with openreliant in each release, inspects, exports and packs the file formats of the game. zig build sltool builds it alone from the sources, without the game. Its exit code is 0 on success, 2 for an unknown command (after it prints its usage) and 1 on failure (with the error on stderr). Thus, the build scripts of a mod can use it:
| Command | Description | Documentation |
|---|---|---|
sltool cd |
Inspect CD images, ISO 9660 filesystems, DiscJuggler .cdi images and Xbox discs |
disc-images, xbox |
sltool hog |
Extract and pack .HOG archives (BIGF container / RefPack) |
hog, refpack |
sltool shp |
Inspect .SHP 3D models; export Wavefront OBJ or glTF; build a mod's model from OBJ or glTF |
shp |
sltool spr |
Inspect .SPR 2D interface sprites; export PNG |
spr |
sltool tcache |
Extract texture caches to PNG | tcache |
sltool fat |
Extract .fat sound banks to WAV |
fat |
sltool speech |
Decode the radio's speech files to WAV; encode WAV to a speech file for a mod | speech |
sltool fm8 |
Extract the radio's face films to PNG frames; encode PNG frames to a film for a mod | fm8 |
sltool fnt |
Render .fnt bitmap fonts into glyph atlases |
fnt |
sltool text |
Write the game's strings and the names of its speech lines as text files, for translators | textfile |
sltool dte |
List a .DTE mission's ships, triggers and script parts; disassemble its bytecode |
dte |
sltool save |
Show what saved games hold | save |
sltool stats |
Parse ship, weapon, and pilot stat tables | stats |
sltool dreamcast |
Read the Dreamcast version's text tables and texture cache; export its textures to PNG | dreamcast |
sltool trek |
Read Star Trek: Invasion's archive, missions and models; its missions share StarLancer's format | star-trek-invasion |
sltool bsg |
Read Battlestar Galactica's missions, its command catalogue, its comms films and its archives; convert its models to glTF and its textures to PNG; its missions keep StarLancer's records | battlestar-galactica |
sltool tim |
Convert PlayStation TIM pictures to PNG | playstation |
| Directory | Contents |
|---|---|
src/openreliant/ |
The main program: its entry point, the command line and the installer. |
src/engine/ |
The reimplemented engine. Its modules follow the source files of the original. |
src/platform/ |
The platform layer: SDL3, the Vulkan and Metal GPU backend, audio and input. |
src/formats/ |
Readers and decoders for the game's file formats. |
src/tools/sltool/ |
A command-line tool that inspects and extracts the game's assets. |
src/tools/tablegen/ |
Makes the engine's static lookup tables from the original executable. |
docs/ |
The documentation (see docs/README.md). |
ghidra/ |
Ghidra scripts, symbol names and type maps. |
OpenReliant uses AI coding tools to work faster on the implementation. They are a tool, not the author. The maintainer directs the work and reads and approves every change.
Strict guidelines keep the code from turning into vibecoded slop:
- Each ported function follows the original executable step by step, and cites the original's name and address.
- The disassembly decides what is correct, not what a tool suggests.
- Each change comes with tests and documentation, and passes the same checks and review as any other change.
- CONTRIBUTING.md and AGENTS.md set the rules for people and coding agents alike.
We expect the same care from every contributor. You can use AI tools, but you are responsible for every line you submit: understand it, check it against the original, and make sure it meets the project's standards.
Copyright 2026 the OpenReliant contributors.
- Source code is licensed under the Mozilla Public License 2.0.
- Documentation under
docs/is licensed under Creative Commons Attribution-ShareAlike 4.0. - Statically linked libraries:
- OpenAL Soft is licensed under the GNU LGPL 2.1.
- The part of FFmpeg that decodes the movies, the crew's lines and mods' audio is licensed under the GNU LGPL 2.1 or later.
- FreeType, which draws the outline fonts, is licensed under the FreeType License. Portions of this software are copyright © 2026 The FreeType Project (https://freetype.org). All rights reserved.
- Luau, which runs mod scripts and reads mission source, is licensed under the MIT License. Luau is copyright (c) 2019-2025 Roblox Corporation and copyright (c) 1994-2019 Lua.org, PUC-Rio, under the MIT License. See
LICENSE-luau.txt.
- The interface's text is drawn in Newtown, by Roger White, from Roger's Fonts, in the public domain (deps/newtown). Cyrillic text is drawn in Play Bold, copyright (c) 2011 Jonas Hecksher, Playtypes, e-types AS, under the SIL Open Font License 1.1 (
LICENSE-play.txt, deps/play). - The runtime shader compiler uses glslang, under its BSD and MIT notices (
LICENSE-glslang.txt), and SPIRV-Cross, under Apache 2.0 or MIT (LICENSE-spirv-cross.txt). - Mods' pictures are compressed for the GPU with Richard Geldreich's bc7enc and rgbcx from bc7enc_rdo, under the MIT licence (
LICENSE-bc7enc.txt). PNG files inflate with zlib, under the zlib licence. - The installer reads the game's cabinet with libarchive, under its BSD licence (
LICENSE-libarchive.txt). - The window, the input and the GPU go through SDL, under the zlib licence.
- The movies' upscale is ported from AMD FidelityFX Super Resolution 1.0, under the MIT licence.