In the annals of video game folklore, few titles carry the mythical weight of StarCraft: Ghost. First unveiled by Blizzard Entertainment in 2002, the third-person tactical stealth shooter starring psychic operative Nova Terra endured four years of public anticipation, studio transitions, and development agony before being unceremoniously cancelled in 2006. When a playable 2005 Xbox development build leaked to the public in early 2020, fans were finally able to glimpse what could have been—though running it required wrestling with temperamental Xbox emulators. Now, reverse engineer aknavj has kicked off a monumental new preservation chapter: StarCraft: Ghost has been statically recompiled for native PC execution.
The project, hosted on GitHub as aknavj/scghost-recomp, leverages a dedicated branch of XboxRecomp to translate the leaked Ghost.xbe executable directly into portable, native C code that compiles into a 64-bit Windows binary.
The Vaporware Holy Grail Rescued from Emulation
Originally conceived by Nihilistic Software and later transferred to Swingin' Ape Studios, StarCraft: Ghost promised to pull players out of the top-down RTS skybox and immerse them directly on the battlefield. Equipped with cloaking devices, thermal vision, agile traversal, and a C-10 Canister rifle, Nova represented Blizzard's ambitious bid to conquer the console action market alongside Halo and Splinter Cell.
When the 2005 build surfaced online in February 2020 from a modified Xbox 360 development kit, enthusiasts were forced to run the title through software emulators like Xemu or Cxbx-Reloaded. Emulating the original Xbox's idiosyncratic hardware at runtime brought steep overhead: frequent memory crashes, broken vertex lighting, shader compilation stutters, and unstable frame pacing.
Static recompilation turns that entire paradigm on its head. Rather than interpreting or translating machine code inside an emulated virtual machine, scghost-recomp converts the game's compiled x86 machine instructions ahead of time into readable, auditable C chunks.
Under the Hood: The XboxRecomp Pipeline
To achieve clean native execution, the project couples the game's disassembled instructions with an enhanced implementation of the XboxRecomp runtime (specifically maintained on the impl-scghost branch):
- Instruction-to-C Lifting: The Xbox executable is processed through an automated disassembly and ABI analysis pipeline that splits the binary into structured C source files (
--split 250chunks). - NV2A to Direct3D 11 Translation: The original Xbox utilized a custom NVIDIA NV2A GPU featuring unique fixed-function register states and proprietary vertex programs. XboxRecomp translates these NV2A draw calls and command buffers directly into modern Direct3D 11, implementing native GPU synchronization fences and hardware vertical blanking.
- Audio & APU Processing: Re-implements the Xbox MCPX audio processing unit, streaming mission dialogue, sound effects, and ambient tracks into modern PC audio devices.
- Clean-Room Distribution: Strictly adhering to legal preservation guidelines, the repository distributes zero copyrighted Blizzard assets, textures, or code. Users supply their own lawfully obtained
Ghost.xbeand extracted game data directories.
Current Milestone & Port Progress
While the port is an active work-in-progress, the foundational systems are already booting and rendering in native 64-bit Windows:
| System / Feature | Current Status | Technical Notes |
|---|---|---|
| 3D Menu Scene | Verified | Full 3D rendering of Nova's character model, room geometry, and dynamic logo effects display accurately. |
| Controller Input | Verified | Native XInput / DirectInput support; physical gamepads can navigate menus and trigger actions. |
| Cinematics & Video | Partial | Mission briefings and cutscenes play using profiled multi-threaded movie decoder optimizations. |
| Gameplay Rendering | Partial | In-game traversal boots and renders; work is actively ongoing to resolve renderer exceptions and missing shader fallbacks. |
| Audio Pipeline | Partial | Intro music and sound effects playback functional with ongoing tuning on DSP environmental filters. |
| Performance | In Development | Currently sits at ~10–15 FPS in early debug baselines; hardware-accelerated optimizations will follow shader stabilization. |
Preserving Gaming's Lost Chapters
The static recompilation revolution—which has already revitalized classics like The Legend of Zelda: Majora's Mask, Banjo-Tooie, and Crash Team Racing—is no longer limited to commercial releases. By applying static recompilation to unreleased developmental builds like StarCraft: Ghost, independent preservationists are ensuring that video game history's most celebrated "what-ifs" are rescued from hardware obsolescence and preserved as living, playable software.
For developers, reverse engineers, and Blizzard historians, the project represents an extraordinary open-source testbed for 6th-generation console preservation.
Resources & Build Documentation
- Source Code Repository: aknavj/scghost-recomp on GitHub
- Toolkit Fork: XboxRecomp (branch: impl-scghost)
- Build Requirements: Visual Studio 2022 (C++ Desktop), CMake 3.20+, Python 3.10+ with Capstone disassembler.