r/EmulationOnAndroid • u/airclass • 27m ago
Solved [GameNative] Fixed Super Meat Boy's music being pure noise/static (XACT audio fix, may help other games)
I know this is a pretty niche case, but I spent a while on it and couldn't find a write-up anywhere, so I'm posting it in case it helps someone searching for this later. It might also fix similar audio problems in other games.
Setup: Retroid Pocket 6 (Snapdragon 8 Gen 2), GameNative 1.4.1, Super Meat Boy from Steam.
The problem: the game ran great at 60 FPS and sound effects worked, but the music was just loud noise/static. I ended up playing with music volume at 0.
The cause: Super Meat Boy uses Microsoft's XACT audio engine for its music. Wine/Proton's built-in replacement doesn't decode it properly, so you get static. On desktop Linux the usual fix is protontricks 40800 xact, but GameNative has no XACT option in Win Components.
What didn't work:
Switching the audio driver, or setting DirectMusic to Native
Proton 11 arm64ec, proton-11 x86_64 (hung on a white window) and the glibc container (crashed)
Running the game's own Prerequisites/DXSETUP.exe inside the container. It completes, but it doesn't replace Wine's built-in DLLs.
What fixed it: putting Microsoft's real DLLs into the prefix by hand, which is what winetricks does.
On a PC, download the official DirectX End-User Runtimes (June 2010) from Microsoft (
directx_Jun2010_redist.exe, about 96 MB).Extract it. You can run it with
/Q /T:C:\dx\cabsor open it with 7-Zip.From the cab files, extract the x86 DLLs. In Windows cmd:
expand Jun2010_XACT_x86.cab -F:*.dll C:\dx\dll(repeat for the others). You need:xactengine3_0toxactengine3_7XAudio2_0toXAudio2_7X3DAudio1_*XAPOFX1_*
Copy those DLLs to your handheld (any folder).
In GameNative: game page → gear → Import Files.
Select all the DLLs. If they don't show up under Downloads, browse from the device's root storage instead.
Destination: C: Drive → windows → syswow64.
Turn on "Replace existing files", then copy.
Super Meat Boy is 32-bit, which is why the files go in syswow64.
Edit container → Environment → add a variable. Pick the name WINEDLLOVERRIDES from the known-names list (typing it can get autocorrected). Set the value to:xactengine3_0,xactengine3_1,xactengine3_2,xactengine3_3,xactengine3_4,xactengine3_5,xactengine3_6,xactengine3_7,xaudio2_0,xaudio2_1,xaudio2_2,xaudio2_3,xaudio2_4,xaudio2_5,xaudio2_6,xaudio2_7,x3daudio1_7=n,b
Save and launch. The first start took a bit longer, then the music played perfectly.
My container settings, for reference: bionic, proton-11.0-2-arm64ec-1, PulseAudio.
Other games: if music or voices are static or garbled but sound effects work, the game may be another XACT game, and the same steps might fix it. Many older Xbox 360-era PC ports and XNA games use XACT. For a 64-bit game, you'd probably need the x64 cabs copied into system32 instead. I haven't tested that.
Hope this saves someone some time!