SR
The original game's compiled code translated into a native program for a new platform, usually a PC port.
Based on Albion
compare all 2 clonesBased on Battle Isle 2220
Based on Septerra Core: Legacy of the Creator
Based on X-COM: Terror from the Deep
Based on X-COM: UFO Defense
Original game imageAbout
SR is a static binary recompiler that converts DOS and Windows game executables into Windows, Linux, or macOS native builds (x86, x64, ARM, or RISC-V, depending on target). It currently supports Albion, X-COM: UFO Defense, X-COM: Terror from the Deep, and Warcraft: Orcs & Humans from DOS, plus Septerra Core: Legacy of the Creator and Battle Isle 3: Shadow of the Emperor from Windows. The source code is released under MIT, with GPLv2-or-later and LGPLv2.1-or-later options for use in GPL projects.
Getting started
Using it requires providing an original executable of one of the supported games as input to the recompiler, which then produces an assembler version that can be built into a native binary for the target platform.
Known issues & limitations
- Generated game versions are little-endian, not big-endian.
What you need to run it
Features
- The project supports creating 32-bit or 64-bit game versions for Windows, Linux, or MacOS.
- DOS games can use plugins for music playback and image enhancement.
- A configuration utility can change settings in configuration files on Linux without editing the files.
Summarised from the project's README.
Additional notes
- Platform support
- Generated builds are little-endian only, and the ARM output supports both softfp and hardfp calling conventions.
FAQ
- What is SR?
- SR is an open-source recompilation of Albion, Battle Isle 2220, Septerra Core: Legacy of the Creator, Warcraft: Orcs & Humans, X-COM: Terror from the Deep and X-COM: UFO Defense. The original game's compiled code translated into a native program for a new platform, usually a PC port. The original game ran on DOS and Windows.
- Do I need the original game files to run SR?
- Yes. The project does not include the original game's assets, so you need your own copy. Requires original DOS or Windows game executables as input to the static recompiler.
- How is SR licensed?
- project: MIT (source code); project: GPLv2 or later (source code for use in GPL projects); project: LGPLv2.1 or later (source code for use in GPL projects); other people: their own license (libraries, etc.). The repository itself is the authoritative source.

