# Grabbed by the Ghoulies Xbox static recompilation hits v0.40.2 with audio fixes

> GBTGhoulies-QilinRecomp v0.40.2 fixes overlapping pause and menu music tracks in the C++23 and Vulkan 1.3 static recompilation of Rare's 2003 Xbox game.

- Published: 2026-11-21T16:25:08Z
- Score: 9/10
- Tags: xbox, pc, recomp
- Port / platforms: Xbox (original) -> PC (Windows), Linux / Steam Deck, Mac (Recompilation)
- Web page: https://emu-radar.customfw.xyz/news/gbtghoulies-qilinrecomp-v0-40-2-xbox-recomp/
- Sources: https://github.com/Qilin1066/GBTGhoulies-QilinRecomp

[GBTGhoulies-QilinRecomp](https://github.com/Qilin1066/GBTGhoulies-QilinRecomp), a static recompilation of Rare's 2003 original Xbox game Grabbed by the Ghoulies, has reached version v0.40.2. The project translates the game's x86 executable into portable C++23 paired with a Vulkan 1.3 renderer, targeting 64-bit Windows, Linux, and macOS across x86-64 and ARM64 hardware, including Raspberry Pi 4 boards (with Mesa 24.3+) and Macs running macOS 10.15 or later via MoltenVK.

The project is still in development (1.0.0 will be the first build that plays the full game), though all 6,214 reachable game, Rare library, C runtime, and XAPI functions are lifted to C++ and verified against the original x86 code, and Chapter 1 is playable into the mansion.

The v0.40.2 release fixes an audio bug where background tracks refused to stop. Previously, pausing or returning from a menu left the old music playing underneath the active track, stacking another copy with every pause. The project's DirectSound replacement failed to report when an Xbox Audio Creation Tool (XACT) fade completed, causing XACT to restart the stream with new data. Stopped streams now hold, report the fade completion, and stop when XACT flushes them.

The build also adds two environment variables:
- `QILIN_FIXED_STEP=seconds[,after]` fixes the game's time step from `after` seconds in so slower machines can test a high-refresh-rate step.
- `QILIN_AUDIO_STATS=1` prints active audio streams and buffers once per second.

To run it, you need your own extracted copy of the original Xbox disc containing `default.xbe`, as the repository includes no game data. Windows users can grab the prebuilt player kit zip from the release assets or GitHub workflow artifacts, extract it, and run `Play Ghoulies.bat` to point the executable at their extracted disc folder.
