https://bugs.winehq.org/show_bug.cgi?id=56027
Bug ID: 56027 Summary: DirectMusic-related problems with Recettear Product: Wine Version: 9.0-rc1 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: dmusic Assignee: wine-bugs@winehq.org Reporter: tomman@gmail.com Distribution: ---
Created attachment 75671 --> https://bugs.winehq.org/attachment.cgi?id=75671 Runtime log with Wine's DirectMusic
Starting with Wine 8.18 and its much needed improvements to its DirectMusic support, Recettear (a well known problem game for its complete lack of audio under Wine out of the box) finally started having working sound, but it's far from being 100% working.
Currently (as of 9.0-rc1), these are the problems with Recettear and Wine's DirectMusic implementation:
- Sound effects may skip playing once in a while. - Background music is not working as intended: tracks will not loop (they will play only once, then silence), tracks will not stop playing during scene switches (leading to many tracks from different scenes playing at the same time) - In-game volume controls do not work at all: music/SFX will always play at the highest volume level, and it's impossible to silence it if desired.
When using native DirectMusic DLLs (installed via Winetricks), the game has completely working audio just like in Windows, but with two gotchas:
- Sound effects have lag. - Using native DirectMusic also requires native DirectSound, which breaks sound in the opening movie (recet_op.wmv)
Attached is the log from running the game for a couple minutes on a completely clean prefix: start at the title screen, load a saved game, switch scenes a couple times (to trigger the "multiple tracks playing at the same time" bug), trying (unsuccessfully) to adjust music volume, eventually ending with no music tracks playing at all because they will not loop, then cleanly exiting the game.
https://bugs.winehq.org/show_bug.cgi?id=56027
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de URL| |http://web.archive.org/web/ | |20190913013902/http://www.c | |arpefulgur.com/recettear/Re | |cettear_Demo.exe Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Keywords| |download
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- Tested the demo (with wine-9.0-57-g28bce0a1734): - Main menu music seems to loop properly - Music volume can be adjusted - SFX/Voice volume can't be adjusted
A save file with instructions how to reproduce the "multiple tracks" issue would be useful.
Also seems to suffer from bug 55981, I'm using the new wow64 and it's terribly slow.
https://bugs.winehq.org/show_bug.cgi?id=56027
--- Comment #2 from Tom Maneiro tomman@gmail.com --- No savefile needed to reply the "multiple overlapping music tracks" - the issue can be easily reproduced on a completely new setup:
- Run the game (recettear.exe) - Quickly start a new game from the main menu. - The title screen BGM should stop playing, replaced by the in-game BGM. - Wait a minute or two - the in-game BGM should loop properly.
Unfortunately, under Wine's DirectMusic implementation, the title BGM doesn't stop playing right away until it finishes, and eventually the in-game BGM will stop playing too, leaving only the sound effects.
Tested again on 9.0-stable, and the behavior is perfectly reproducible there.
https://bugs.winehq.org/show_bug.cgi?id=56027
--- Comment #3 from Tom Maneiro tomman@gmail.com --- While gathering information for another unrelated bug on this game, I noticed something regarding the non-looping music tracks:
Consider this test scenario (tested on the current devel release, Wine 9.5):
- Run the game executable. - Quickly load a saved game. Notice how you end with multiple music tracks playing at the same time. - Pause the game, then wait until all music stops playing. - ~1 minute later, the WRONG music track (in this case the titlescreen) will start playing again, and a few seconds afterwards, the correct music track will play. - Keep waiting! Eventually the tracks will loop over and over, with pauses, overlapping each other.
The game starts looping the tracks after a pause... in the exact order they started, at the wrong place for some. Again, none of this happens on Windows, so something is really messed up with DirectMusic enough to make the game to confuse itself when playing its soundtrack (Or maybe it's a fringe game engine bug that never happened to manifest itself under Windows)