https://bugs.winehq.org/show_bug.cgi?id=50101
Bug ID: 50101 Summary: Ghostrunner has no sound after intro movies when prefix is set to Win10 Product: Wine Version: 5.21 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: xaudio2 Assignee: wine-bugs@winehq.org Reporter: GloriousEggroll@gmail.com Distribution: ---
Created attachment 68593 --> https://bugs.winehq.org/attachment.cgi?id=68593 Add new dll xaudio2_9redist
I found this after troubleshooting an issue with proton-ge.
Description:
When running Ghostrunner, after getting through the intro videos, the demo has sound but the official game does not.
-Further looking into the issue I found the official version ships with xaudio2_9redist.dll, (Warframe does this also, and likely other games).
-This dll acts differently under Win7 than Win10. When you set the prefix to Win7, sound returns.
Solution: -The dll works the same as xaudio2_9, and just redirects to xaudio2_7, so I copied the source for xaudio2_9, duplicated it for xaudio2_9redist, added it to the configure files, and rebuilt wine with it. This allowed sound to work properly, as wine now had a builtin version of the DLL to default to which was agnostic of which windows version was running.