http://bugs.winehq.org/show_bug.cgi?id=3833
Summary: Audio broken in AGS games Product: Wine Version: 0.9 Platform: Other OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-directx-dsound AssignedTo: wine-bugs@winehq.org ReportedBy: jkohen@users.sourceforge.net
I found that games created with the Adventure Game Studio (AGS) have trouble detecting the soundcard when ran under Wine.
The console shows: fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x7fd5d638)->((nil),00000008) err:wave:DSDB_MapBuffer Could not map sound device for direct access (Input/output error) err:wave:DSDB_MapBuffer Please run winecfg, open "Audio" page and set "Hardware Acceleration" to "Emulation". err:wave:DSDB_MapBuffer Could not map sound device for direct access (Input/output error) err:wave:DSDB_MapBuffer Please run winecfg, open "Audio" page and set "Hardware Acceleration" to "Emulation".
And a dialog pops up saying: Adventure Game Studio Unable to initialize your audio hardware. [Problem: Digital sound driver not found]
Switching "Hardware Acceleration" to "Emulation" removes the messages from the console, but still gives the same dialog, and no audio in the games. I've tried all possible alternatives for this setting, as well as setting the "Driver Emulation" checkbox (I couldn't find any explanation of what it does, though).
I'm using Wine 0.9 as distributed by Debian. The Wine audio driver is ALSA, kernel is 2.6.14, but I've been having trouble for at least 2 or 3 kernel versions (and maybe for ever, but I can't recall as Wine has at least another bug that makes AGS games unplayable). The .wine directory was freshly created wine wineprefixcreate. Audio works fine in other Wine games/applications, I just tried a couple random, awful shareware games from download.com. Note that these worked with "Hardware Acceleration" set to "Full."
See bug #2811 for a couple of games created with AGS, or visit http://www.bigbluecup.com/ for the complete catalog. Don't hesitate in contacting me for more information.