http://bugs.winehq.org/show_bug.cgi?id=23728
Summary: MCI CD audio fails to play in CueClub/Trickshot Product: Wine Version: 1.2 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: markk@clara.co.uk
CueClub is a snooker/pool game developed by Bulldog Interactive. It was published as Trickshot by Phoenix Games Ltd.
The game CD has several audio tracks. The game is unable to play these under Wine, and exits at startup with a "sound error" dialog box.
The CD audio handling in the original CD version of Trickshot differs from that in the v1.64 patch available from http://www.bulldoginteractive.com/cc_support.htm
In both cases the game exits with a "sound error" dialog. With the later executable, on my machine the CD spins up then stops. There is no CD activity with the earlier executable.
I used WINEDEBUG=+mcicda... Running trickshot.exe as installed from original CD: trace:mcicda:MCICDA_Open (0001, 00002002, 0x13b803c); trace:mcicda:MCICDA_Set (0001, 00000400, 0x32fd84); trace:mcicda:MCICDA_Set MCI_FORMAT_TMSF ! trace:mcicda:MCICDA_Status (0001, 00000100, 0x32fd90); trace:mcicda:MCICDA_Status dwItem = 3 trace:mcicda:MCICDA_Status MCI_STATUS_NUMBER_OF_TRACKS = 11 trace:mcicda:MCICDA_Stop (0001, 00000000, (nil)); trace:mcicda:MCICDA_Close (0001, 00000000, (nil)); trace:mcicda:MCICDA_Stop (0001, 00000002, (nil));
After patching the installation with the v1.64 patch the new cueclub.exe gives: trace:mcicda:MCICDA_Open (0001, 00002002, 0x126803c); trace:mcicda:MCICDA_Set (0001, 00000400, 0x32fd70); trace:mcicda:MCICDA_Set MCI_FORMAT_TMSF ! trace:mcicda:MCICDA_Status (0001, 00000100, 0x32fd7c); trace:mcicda:MCICDA_Status dwItem = 3 trace:mcicda:MCICDA_Status MCI_STATUS_NUMBER_OF_TRACKS = 11 trace:mcicda:MCICDA_Status (0001, 00000112, 0x51dc10); trace:mcicda:MCICDA_Status dwItem = 1 trace:mcicda:MCICDA_Status MCI_TRACK #2 LENGTH=??? ! trace:mcicda:MCICDA_CalcTime (0x12680e0, 00000002, 722); trace:mcicda:MCICDA_CalcTime MSF 00:09:47 -> dwTime=3082496 trace:mcicda:MCICDA_Status LENGTH=3082496 trace:mcicda:MCICDA_Play (0001, 0000000D, 0x51dc00); trace:mcicda:MCICDA_CalcFrame (0x12680e0, 0000000A, 2); trace:mcicda:MCICDA_CalcFrame MSF 02-00:00:00 trace:mcicda:MCICDA_CalcFrame TMSF trackpos[2]=20:26:67 trace:mcicda:MCICDA_Play MCI_FROM=00000002 -> 92017 trace:mcicda:MCICDA_CalcFrame (0x12680e0, 0000000A, 789118978); trace:mcicda:MCICDA_CalcFrame MSF 02-00:09:47 trace:mcicda:MCICDA_CalcFrame TMSF trackpos[2]=20:26:67 trace:mcicda:MCICDA_Play MCI_TO=2F090002 -> 92739 trace:mcicda:MCICDA_Play Playing from 92017 to 92739 trace:mcicda:MCICDA_Stop (0001, 00000000, (nil)); trace:mcicda:MCICDA_Close (0001, 00000000, (nil)); trace:mcicda:MCICDA_Stop (0001, 00000002, (nil)); trace:mcicda:MCICDA_Open (0001, 00002002, 0x12e9b4); trace:mcicda:MCICDA_Set (0001, 00000400, 0x32f2f0); trace:mcicda:MCICDA_Set MCI_FORMAT_TMSF ! trace:mcicda:MCICDA_Status (0001, 00000100, 0x32f2fc); trace:mcicda:MCICDA_Status dwItem = 3 trace:mcicda:MCICDA_Status MCI_STATUS_NUMBER_OF_TRACKS = 11 trace:mcicda:MCICDA_Close (0001, 00000002, (nil)); trace:mcicda:MCICDA_Stop (0001, 00000002, (nil));
http://bugs.winehq.org/show_bug.cgi?id=23728
Jörg Höhle hoehle@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hoehle@users.sourceforge.ne | |t
--- Comment #1 from Jörg Höhle hoehle@users.sourceforge.net 2010-07-30 10:57:54 --- Do you have any other SW that manages to play CD audio from within Wine?
You can use the MCI shell mentioned in http://wiki.winehq.org/MIDI and issue the same sequence of MCI commands that your app uses, something like wine wintest.exe mcishell open d: type cdaudio alias c set c time format tmsf status c number of tracks status c length track 2 play from 2:00:00:00 to 2:00:09:47 notify stop c close c
Your log looks quite normal, but you need to find out why the MCI receives the stop command after starting to play. Please isolate the cause of that "sound error" dialog box. Use WINEDEBUG http://wiki.winehq.org/DebugChannels to narrow down the cause. Useful channels are +mci,+mcicda,+winmm,+cdrom,+driver and also +tid,+relay then narrow down the list to attach a log as small as possible here. You might use +all and look at the calls that precede user32:MessageBox to display the error -- just don't attach the huge +all log here.
http://bugs.winehq.org/show_bug.cgi?id=23728
markk@clara.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |markk@clara.co.uk
--- Comment #2 from markk@clara.co.uk 2010-07-30 13:22:14 --- I used wintest.exe as you suggested: mci.c:178: Type your commands to the MCI, end with Ctrl-Z/^D open f: type cdaudio alias c mci.c:188: command: open f: type cdaudio alias c mci.c:193: Response: 1 set c time format msf mci.c:188: command: set c time format msf status c number of tracks mci.c:188: command: status c number of tracks mci.c:193: Response: 11 status c length track 2 mci.c:188: command: status c length track 2 mci.c:193: Response: 00:09:47 play from 2:00:00:00 to 2:00:09:47 notify mci.c:188: command: play from 2:00:00:00 to 2:00:09:47 notify mci.c:191: Test failed: mci play from 2:00:00:00 to 2:00:09:47 notify error: 281(25 MCIERR_EXTENSION_NOT_FOUND)
So there may be some problem/issue with my system & CD audio under Wine?
http://bugs.winehq.org/show_bug.cgi?id=23728
--- Comment #3 from Jörg Höhle hoehle@users.sourceforge.net 2010-08-02 11:28:03 --- No. 1. It should have been play c from ..., not play from 2. Wine's MCI parser does not recognize 2:00:09:47 syntax - bug you'd need to calc 2+256*256*(9+256*47) and use that value instead. Don't let that distract you from identifying the cause of that sound error dialog box in the log.
http://bugs.winehq.org/show_bug.cgi?id=23728
--- Comment #4 from Jörg Höhle hoehle@users.sourceforge.net 2011-05-12 16:03:13 CDT --- Is this still an issue in current (1.3.19 or newer) wine?
Do you have any other SW that manages to play CD audio from within Wine?
What happens when you use my wintest.exe after fixing the 2 erroneous lines: open ... set c time format tmsf (<-- not msf) play c from 2 to 3 or play c from 2 to 3 wait
http://bugs.winehq.org/show_bug.cgi?id=23728
--- Comment #5 from Jörg Höhle hoehle@users.sourceforge.net 2012-10-02 04:16:32 CDT --- No response in 2 years. Is this still an issue? If yes, please reopen.
play c from 2:00:00:00 to 2:00:09:47 notify
I added TMSF syntax support to the MCI parser long ago. The above syntax works now. Did you manage to get CD audio to play from the MCI shell? Please see bug #20555 for some help with the configuration.
https://bugs.winehq.org/show_bug.cgi?id=23728
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |ABANDONED
--- Comment #6 from Austin English austinenglish@gmail.com --- Abandoned.
https://bugs.winehq.org/show_bug.cgi?id=23728
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Bruno Jesus 00cpxxx@gmail.com --- Closing abandoned bugs.