Star Wars: Galactic Battlegrounds gets an early Win32 static recompilation
Developer sp00nznet released swgb-recomp v0.1.0, lifting the 2001 Genie engine RTS from its shipping Win32 binary into native C for modern Windows.

Developer sp00nznet released swgb-recomp v0.1.0 on November 21, 2026, bringing static recompilation to the 2001 LucasArts and Ensemble Studios real-time strategy game Star Wars: Galactic Battlegrounds. Built for modern Windows on the pcrecomp toolchain (a static recompilation toolkit for Win32 binaries), the project lifts the shipping Battlegrounds.exe v1.1 into 4.0 million lines of native C without using an emulator.
Most static recompilation projects target console architectures like N64 or Xbox 360, while lifting a 2001 MSVC6 Win32 executable involves handling Windows-specific structures. The project disassembles and lifts 14,313 functions with zero errors, handling 702 C++ exception frames and 14 structured exception handling (__try) blocks. Out of 258 Windows API imports, 228 route directly to real system DLLs while 30 are shimmed, including a software DirectDraw layer (softdd) so the game runs without changing desktop display modes.
At v0.1.0-dev alpha, the main menu renders and standard random-map skirmishes start and play with units, buildings, and the minimap working. Campaigns have not been tested yet, and no skirmish has been played to completion.
To build and run it, you need your own US two-disc retail copy (with disc 2 in the drive or mounted for the CD check) and LucasArts’ BGUpdate1_1.exe v1.1 patch, plus Python 3.10+, capstone, and Visual Studio 2022 C++ tools. Other builds are refused by run_lift.py, and Linux and macOS are not supported yet.
- Install the game from disc 1 and download the
swgb-recomprepository to a drive with at least 8 GB of free space. - Run
Setup.cmdon Windows, which locates yourGamefolder, disc 2 (or mounted.iso/.cue), and patch executable, then lifts and compiles the source. - Wait 30 minutes or more for the 4 million lines of C to build, then launch
Galactic Battlegroundsfrom the same folder.
Win32 static recompilation remains rare compared to console recomp projects, and booting an Age of Empires II Genie engine game into gameplay with custom C++ exception lifting shows that pcrecomp handles early-2000s PC binaries. How campaign mode and DirectPlay multiplayer hold up in future builds remains to be seen.