https://bugs.winehq.org/show_bug.cgi?id=42257
Bug ID: 42257 Summary: Warpath 21st Century does not have sound Product: Wine Version: 2.0-rc5 Hardware: x86-64 URL: http://www.synthetic-reality.com/warpath21.htm OS: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: 00cpxxx@gmail.com Distribution: Debian
Created attachment 56946 --> https://bugs.winehq.org/attachment.cgi?id=56946 wiki sound channels debug
To reproduce:
1) winetricks -q mfc42 2) install the game 3) run the game and wait for the intro screen to turn into a menu screen 4) hover the mouse over the menu options
Each time mouse hovers a menu item a sound should have played. Works in XP.
According to the wiki defined channels for sound debug this is the output when hovering:
16637.820:0049:trace:driver:CloseDriver (0x32f5d8, 00000000, 00020003); 16637.820:0049:trace:driver:DRIVER_FindFromHDrvr 0x32f5d8 -> NULL 16637.820:0049:warn:driver:CloseDriver Failed to close driver
There are no calls to OpenDriver, the game starts by calling CloseDriver and faking sucess does not fake it play the sound.
The first time the value 32f5d8 is seen is in the CloseDriver call according to relay (+ sound channels).
+file shows no wav files being loaded too.
Enabling FM Sound in the options does not change anything. Disabling Digital Sound in game options will make the sound stop in Windows (default is ON).
Last but not least, it does not seen to be a regression as Wine 1.4.1 behaves the same.
https://bugs.winehq.org/show_bug.cgi?id=42257
--- Comment #1 from Bruno Jesus 00cpxxx@gmail.com --- Created attachment 56947 --> https://bugs.winehq.org/attachment.cgi?id=56947 patch
The attached patch fixes the issue...
Why? Maybe the game expects the spec to be in a correct order. Can anyone explain?
https://bugs.winehq.org/show_bug.cgi?id=42257
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #56947|0 |1 is obsolete| |
--- Comment #2 from Bruno Jesus 00cpxxx@gmail.com --- Created attachment 56948 --> https://bugs.winehq.org/attachment.cgi?id=56948 final patch
As discussed at #winehackers this is the final version I'll submit after code freeze.
https://bugs.winehq.org/show_bug.cgi?id=42257
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch Assignee|wine-bugs@winehq.org |00cpxxx@gmail.com Component|-unknown |winmm&mci
https://bugs.winehq.org/show_bug.cgi?id=42257
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/winmm-PlaySoun | |dA CC| |dmitry@baikal.ru, | |erich.e.hoover@wine-staging | |.com, michael@fds-team.de, | |sebastian@fds-team.de
https://bugs.winehq.org/show_bug.cgi?id=42257
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |00046b816ca0cacbbebe1957326 | |ed45abe24c097 Status|STAGED |RESOLVED
--- Comment #3 from Bruno Jesus 00cpxxx@gmail.com --- Fixed by http://source.winehq.org/git/wine.git/?a=commit;h=00046b816ca0cacbbebe195732...
https://bugs.winehq.org/show_bug.cgi?id=42257
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 2.1.
https://bugs.winehq.org/show_bug.cgi?id=42257
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.0.x
https://bugs.winehq.org/show_bug.cgi?id=42257
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.0.x |---
--- Comment #5 from Michael Stefaniuc mstefani@winehq.org --- Removing the 2.0.x milestone from bugs included in 2.0.1.