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.
https://bugs.winehq.org/show_bug.cgi?id=50101
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |fa6d22b976214ff4dfb32b43150 | |0b4cd1f7610a0 CC| |leslie_alistair@hotmail.com
--- Comment #1 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Fixed by https://source.winehq.org/git/wine.git/?a=commit;h=fa6d22b976214ff4dfb32b431...
https://bugs.winehq.org/show_bug.cgi?id=50101
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.22.
https://bugs.winehq.org/show_bug.cgi?id=50101
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |5.0.x
https://bugs.winehq.org/show_bug.cgi?id=50101
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mstefani@winehq.org Target Milestone|5.0.x |---
--- Comment #3 from Michael Stefaniuc mstefani@winehq.org --- Not for 5.0.x Stable as it depends on db87636c91e5dca657150361fa9aabfe62ddf38c which isn't small and has some other dependencies too.