http://bugs.winehq.org/show_bug.cgi?id=36951
Bug ID: 36951 Summary: no sound effects in BridgeMaster 2000 Product: Wine Version: 1.7.16 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winmm&mci Assignee: wine-bugs@winehq.org Reporter: joe@nahmias.net
Hello,
When playing BridgeMaster 2000, I do not hear any of the sound effects. It looks like this is because winmm:proc_PlaySound() is called without a filename extension (.wav) so it doesn't find the file to play. Here's a listing of the sound effect files that are supposed to be part of the game:
$ ls /home/joe/.wine/dosdevices/c:/Program\ Files/Bridge\ Master\ 2000/sounds/ lose0.wav lose3.wav lose6.wav lose9.wav win2.wav win5.wav win8.wav lose1.wav lose4.wav lose7.wav win0.wav win3.wav win6.wav win9.wav lose2.wav lose5.wav lose8.wav win1.wav win4.wav win7.wav
And here's the debug log I captured running with WINEDEBUG=+winmm,+file
trace:winmm:MULTIMEDIA_PlaySound pszSound='0x32f640' hmod=(nil) fdwSound=00020001 trace:winmm:proc_PlaySound SoundName=L"sounds\lose3" ! trace:file:OpenFile sounds\lose3 OF_READ OF_SHARE_DENY_WRITE trace:file:OpenFile sounds\lose3 0020 trace:file:RtlGetFullPathName_U (L"sounds\lose3" 520 0x16fe368 (nil)) trace:file:RtlDosPathNameToNtPathName_U (L"C:\Program Files\Bridge Master 2000\sounds\lose3",0x16fe158,(nil),(nil)) trace:file:RtlGetFullPathName_U (L"C:\Program Files\Bridge Master 2000\sounds\lose3" 520 0x16fdf08 (nil)) trace:file:wine_nt_to_unix_file_name L"\Program Files\Bridge Master 2000\sounds\lose3" not found in /home/joe/.wine/dosdevices/c:/Program Files/Bridge Master 2000/sounds trace:file:RtlDosPathNameToNtPathName_U (L".\sounds\lose3",0x16fe158,(nil),(nil)) trace:file:RtlGetFullPathName_U (L".\sounds\lose3" 520 0x16fdf08 (nil)) trace:file:wine_nt_to_unix_file_name L"\Program Files\Bridge Master 2000\sounds\lose3" not found in /home/joe/.wine/dosdevices/c:/Program Files/Bridge Master 2000/sounds trace:file:RtlDosPathNameToNtPathName_U (L"C:\windows\system32\sounds\lose3",0x16fe158,(nil),(nil)) trace:file:RtlGetFullPathName_U (L"C:\windows\system32\sounds\lose3" 520 0x16fdf08 (nil)) trace:file:wine_nt_to_unix_file_name L"\windows\system32\sounds\lose3" not found in /home/joe/.wine/dosdevices/c:/windows/system32 trace:file:RtlDosPathNameToNtPathName_U (L"C:\windows\system\sounds\lose3",0x16fe158,(nil),(nil)) trace:file:RtlGetFullPathName_U (L"C:\windows\system\sounds\lose3" 520 0x16fdf08 (nil)) trace:file:wine_nt_to_unix_file_name L"\windows\system\sounds\lose3" not found in /home/joe/.wine/dosdevices/c:/windows/system trace:file:RtlDosPathNameToNtPathName_U (L"C:\windows\sounds\lose3",0x16fe158,(nil),(nil)) trace:file:RtlGetFullPathName_U (L"C:\windows\sounds\lose3" 520 0x16fdf08 (nil)) trace:file:wine_nt_to_unix_file_name L"\windows\sounds\lose3" not found in /home/joe/.wine/dosdevices/c:/windows trace:file:RtlDosPathNameToNtPathName_U (L"C:\windows\system32\sounds\lose3",0x16fe158,(nil),(nil)) trace:file:RtlGetFullPathName_U (L"C:\windows\system32\sounds\lose3" 520 0x16fdf08 (nil)) trace:file:wine_nt_to_unix_file_name L"\windows\system32\sounds\lose3" not found in /home/joe/.wine/dosdevices/c:/windows/system32 trace:file:RtlDosPathNameToNtPathName_U (L"C:\windows\sounds\lose3",0x16fe158,(nil),(nil)) trace:file:RtlGetFullPathName_U (L"C:\windows\sounds\lose3" 520 0x16fdf08 (nil)) trace:file:wine_nt_to_unix_file_name L"\windows\sounds\lose3" not found in /home/joe/.wine/dosdevices/c:/windows warn:file:OpenFile (sounds\lose3): return = HFILE_ERROR error= 2 trace:file:RtlDosPathNameToNtPathName_U (L"C:\Program Files\Bridge Master 2000\sounds\lose3",0x16fe538,(nil),(nil)) trace:file:RtlGetFullPathName_U (L"C:\Program Files\Bridge Master 2000\sounds\lose3" 520 0x16fe2e8 (nil)) trace:file:wine_nt_to_unix_file_name L"\Program Files\Bridge Master 2000\sounds\lose3" not found in /home/joe/.wine/dosdevices/c:/Program Files/Bridge Master 2000/sounds trace:file:RtlDosPathNameToNtPathName_U (L".\sounds\lose3",0x16fe538,(nil),(nil)) trace:file:RtlGetFullPathName_U (L".\sounds\lose3" 520 0x16fe2e8 (nil)) trace:file:wine_nt_to_unix_file_name L"\Program Files\Bridge Master 2000\sounds\lose3" not found in /home/joe/.wine/dosdevices/c:/Program Files/Bridge Master 2000/sounds trace:file:RtlDosPathNameToNtPathName_U (L"C:\windows\system32\sounds\lose3",0x16fe538,(nil),(nil)) trace:file:RtlGetFullPathName_U (L"C:\windows\system32\sounds\lose3" 520 0x16fe2e8 (nil)) trace:file:wine_nt_to_unix_file_name L"\windows\system32\sounds\lose3" not found in /home/joe/.wine/dosdevices/c:/windows/system32 trace:file:RtlDosPathNameToNtPathName_U (L"C:\windows\system\sounds\lose3",0x16fe538,(nil),(nil)) trace:file:RtlGetFullPathName_U (L"C:\windows\system\sounds\lose3" 520 0x16fe2e8 (nil)) trace:file:wine_nt_to_unix_file_name L"\windows\system\sounds\lose3" not found in /home/joe/.wine/dosdevices/c:/windows/system trace:file:RtlDosPathNameToNtPathName_U (L"C:\windows\sounds\lose3",0x16fe538,(nil),(nil)) trace:file:RtlGetFullPathName_U (L"C:\windows\sounds\lose3" 520 0x16fe2e8 (nil)) trace:file:wine_nt_to_unix_file_name L"\windows\sounds\lose3" not found in /home/joe/.wine/dosdevices/c:/windows trace:file:RtlDosPathNameToNtPathName_U (L"C:\windows\system32\sounds\lose3",0x16fe538,(nil),(nil)) trace:file:RtlGetFullPathName_U (L"C:\windows\system32\sounds\lose3" 520 0x16fe2e8 (nil)) trace:file:wine_nt_to_unix_file_name L"\windows\system32\sounds\lose3" not found in /home/joe/.wine/dosdevices/c:/windows/system32 trace:file:RtlDosPathNameToNtPathName_U (L"C:\windows\sounds\lose3",0x16fe538,(nil),(nil)) trace:file:RtlGetFullPathName_U (L"C:\windows\sounds\lose3" 520 0x16fe2e8 (nil)) trace:file:wine_nt_to_unix_file_name L"\windows\sounds\lose3" not found in /home/joe/.wine/dosdevices/c:/windows trace:winmm:proc_PlaySound Done playing=L"sounds\lose3" => ko!
I'm happy to help test patches to address this.
Thanks, --Joe
https://bugs.winehq.org/show_bug.cgi?id=36951
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sagawa.aki+winebugs@gmail.c | |om
--- Comment #1 from Sagawa sagawa.aki+winebugs@gmail.com --- Created attachment 50588 --> https://bugs.winehq.org/attachment.cgi?id=50588 proposed patch
Hello Joe, Could you try this patch? I don't have Bridge Master, but my test case works fine. Thanks in advance.
https://bugs.winehq.org/show_bug.cgi?id=36951
--- Comment #2 from Sagawa sagawa.aki+winebugs@gmail.com --- My patch was committed: http://source.winehq.org/git/wine.git/commit/563a4ff08ba9137dda4803a83d8937b...
Could you retest with latest git or next stable release (probably 1.7.38)?
https://bugs.winehq.org/show_bug.cgi?id=36951
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://bbi.bridgebase.com/s | |oftware/bm2kdemo_setup.exe
--- Comment #3 from Bruno Jesus 00cpxxx@gmail.com --- I'm not able to test it now but I found the official download link.
https://bugs.winehq.org/show_bug.cgi?id=36951
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |563a4ff08ba9137dda4803a83d8 | |937b3037fa25e Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #4 from Bruno Jesus 00cpxxx@gmail.com --- Confirming fixed by 563a4ff08ba9137dda4803a83d8937b3037fa25e.
https://bugs.winehq.org/show_bug.cgi?id=36951
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.39.