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