http://bugs.winehq.org/show_bug.cgi?id=33225
Bug #: 33225 Summary: Metacell demo can't play music in mp3 format Product: Wine Version: 1.5.26 Platform: x86 URL: https://dl.dropbox.com/s/7bux09c2359fepl/MetacellBeta% 20v1.0.0.exe?dl=1 OS/Version: Linux Status: NEW Keywords: download Severity: minor Priority: P2 Component: winmm&mci AssignedTo: wine-bugs@winehq.org ReportedBy: gyebro69@gmail.com Classification: Unclassified
Created attachment 43948 --> http://bugs.winehq.org/attachment.cgi?id=43948 terminal output
MP3 music is missing from the game, only sound effects can be heard (sound effects are in wav format). Installing WMP9, native quartz and devenum don't help much. What does seem to help is using a native mciqtz32.dll (copied from a WinXp installation). With a native mciqtz32.dll music works during the intro video, in the menus and in mid-game.
These messages are spamming the console endlessly while the game is running, they may be related:
... fixme:mciqtz:MCIQTZ_mciSetAudio (0001, 01800000, 0x32f58c) : stub fixme:mciqtz:MCIQTZ_mciSetAudio (0002, 01800000, 0x32f58c) : stub fixme:mciqtz:MCIQTZ_mciSetAudio (0003, 01800000, 0x32f58c) : stub ...
Let me know if you need a log with specific debug channels enabled.
Fedora 18 Wine was compiled without gstreamer support Alsa 1.0.26
http://bugs.winehq.org/show_bug.cgi?id=33225
--- Comment #1 from Béla Gyebrószki gyebro69@gmail.com --- Still an issue in 1.7.24
https://bugs.winehq.org/show_bug.cgi?id=33225
--- Comment #2 from Béla Gyebrószki gyebro69@gmail.com --- Created attachment 52259 --> https://bugs.winehq.org/attachment.cgi?id=52259 terminal output (wine-1.7.50-218-g76c43d8)
Still present in wine-1.7.50-218-g76c43d8
Installing native quartz doesn't resolve the problem, but native mciqtz32.dll does.
MetaCellBeta v1.0.0.exe (291 M) sha1: 476263423965085f44de64b30b7a692283fb5ca2
https://bugs.winehq.org/show_bug.cgi?id=33225
--- Comment #3 from Bruno Jesus 00cpxxx@gmail.com --- The game uses mci strings to open and play its musics, before playing it sets the sound volume to 0. As expected wine does not play anything... If we ignore the volume setting specific command the musics will play.
0009:trace:mci:mciSendStringW (L"open SOUN~VT1\Intro.mp3 type mpegvideo", (nil), 0, (nil)) ... 0009:trace:mci:mciSendStringW (L"setaudio SOUN~VT1\Intro.mp3 volume to 0", (nil), 0, (nil)) ... 0009:trace:mci:mciSendStringW (L"play SOUN~VT1\Intro.mp3 from 0 repeat", (nil), 0, (nil))
I'll do some do some tests in Windows to observe the behavior.
https://bugs.winehq.org/show_bug.cgi?id=33225
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #4 from Bruno Jesus 00cpxxx@gmail.com --- Created attachment 52263 --> https://bugs.winehq.org/attachment.cgi?id=52263 hack to ignore volume
The attached hack did the trick for me, I appreciate a second test =)
https://bugs.winehq.org/show_bug.cgi?id=33225
--- Comment #5 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Bruno Jesus from comment #4)
Created attachment 52263 [details] hack to ignore volume
The attached hack did the trick for me, I appreciate a second test =)
With the hack applied I can hear in-game music.
https://bugs.winehq.org/show_bug.cgi?id=33225
--- Comment #6 from Bruno Jesus 00cpxxx@gmail.com --- Executing the exact sequence of commands in mcishell inside XP plays no sound too... I'll try installing the game later to test because I wonder if it really plays the music in Windows. I understand that copying the dll makes it work but it's still weird.
https://bugs.winehq.org/show_bug.cgi?id=33225
--- Comment #7 from Bruno Jesus 00cpxxx@gmail.com --- I can't test in Windows because my netbook makes only 1024x600 while the game needs 1024x768 (works in wine because I use a virtual desktop). This will remain a mystery for some more time =)
https://bugs.winehq.org/show_bug.cgi?id=33225
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #8 from super_man@post.com --- I cant even start the program, but the issue is most likely still valid.
wine 1.9.12-git and staging 1.9.12.
Both crashes. But I am not completely sure if this ever worked without overrides, since comment 1 indicates a list of overrides tried.
https://bugs.winehq.org/show_bug.cgi?id=33225
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sagawa.aki+winebugs@gmail.c | |om
https://bugs.winehq.org/show_bug.cgi?id=33225
--- Comment #9 from Sagawa sagawa.aki+winebugs@gmail.com --- Created attachment 55066 --> https://bugs.winehq.org/attachment.cgi?id=55066 Use dB unit
I can confirm the issue, even the game complains about video playback. Could you try this patch?
I realized that this issue was caused by scaling model mismatching in mciqtz32. The audio volume value should be converted to dB unit before passing to IBasicAudio_put_Volume.
https://bugs.winehq.org/show_bug.cgi?id=33225
--- Comment #10 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Sagawa from comment #9)
Created attachment 55066 [details] Use dB unit
I can confirm the issue, even the game complains about video playback. Could you try this patch?
I realized that this issue was caused by scaling model mismatching in mciqtz32. The audio volume value should be converted to dB unit before passing to IBasicAudio_put_Volume.
The patch works here as well, thank you.
https://bugs.winehq.org/show_bug.cgi?id=33225
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |cab9db9d9565f53c81fa08eafab | |4eca2f8c40048 Status|NEW |RESOLVED
--- Comment #11 from Béla Gyebrószki gyebro69@gmail.com --- Fixed in wine-1.9.14-62-g5101a90.
https://source.winehq.org/git/wine.git/commitdiff/cab9db9d9565f53c81fa08eafa...
https://bugs.winehq.org/show_bug.cgi?id=33225
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.15.