WineHQ
Bug Tracking Database – Bug 21884

 Bugzilla

 

Last modified: 2020-12-18 16:05:46 UTC  

Resident Evil 2: no sound and annoying dialog window

Bug 21884 - Resident Evil 2: no sound and annoying dialog window
Resident Evil 2: no sound and annoying dialog window
Status: CLOSED FIXED
AppDB: Show Apps affected by this bug
Product: Wine
Classification: Unclassified
Component: msacm32
1.1.39
x86 Linux
: P2 normal
: ---
Assigned To: Mr. Bugs
http://www.fileplanet.com/11008/downl...
: download
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2010-02-27 17:51 UTC by Mariusz Libera
Modified: 2020-12-18 16:05 UTC (History)
5 users (show)

See Also:
Regression SHA1:
Fixed by SHA1: 3cb2ddfd09d5986614e028aa413e71e7624d2470
Distribution: ---
Staged patchset:


Attachments
Terminal output (708 bytes, text/plain)
2010-02-27 17:51 UTC, Mariusz Libera
Details
Resident Evil 2 - Error Log nr #1 - 3.06.2012 (8.22 KB, text/plain)
2012-06-03 06:16 UTC, OdzioM
Details
Sound Log +tid,+mmdevapi,+winmm,+driver,+midi,+dsound,+dsound3d,+dmusic,+mci,+oss,+alsa,+coreaudio (557.89 KB, text/plain)
2013-10-13 17:11 UTC, WineBuG
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mariusz Libera 2010-02-27 17:51:08 UTC
Created attachment 26525 [details]
Terminal output

When trying to run Resident Evil 2 I get no sound, but lots of annoying dialog windows saying "StreamOpen Error". No matter if ALSA or OSS is set in winecfg. When I uncheck ALSA (and/or OSS) dialogs go away.
Comment 1 Vitaliy Margolen 2010-02-27 21:00:57 UTC
What Wine version?
Comment 2 Mariusz Libera 2010-02-28 03:58:16 UTC
(In reply to comment #1)
> What Wine version?

1.1.39
Comment 3 Austin English 2011-11-16 15:54:39 UTC
This is your friendly reminder that there has been no bug activity for 1.5 years. Is this still an issue in current (1.3.32 or newer) wine?
Comment 4 Mariusz Libera 2011-11-16 16:01:52 UTC
No longer have that game, so cannot test it.
Comment 5 Austin English 2011-11-16 18:08:21 UTC
(In reply to comment #4)
> No longer have that game, so cannot test it.

Thanks, marking abandoned.
Comment 6 Austin English 2011-11-17 00:10:36 UTC
Closing.
Comment 7 OdzioM 2012-06-03 05:52:36 UTC
I have this game right now on my computer. :)
I get no sound and dialog windows "StreamOpen Error".
Comment 8 OdzioM 2012-06-03 06:12:51 UTC
(In reply to comment #7)
> I have this game right now on my computer. :)
> I get no sound and dialog windows "StreamOpen Error".

To fix problem with "StreamOpen Error" windows:
1. winetricks quartz
2. copy file devenum.dll to c:\Windows\system32\

Download:
http://www.dlldump.com/download-dll-files_new.php/dllfiles/D/devenum.dll/6.05.2600.21808/download.html

but... Game doesn't start - it crashed after see the intro video. :(
Comment 9 OdzioM 2012-06-03 06:16:49 UTC
Created attachment 40377 [details]
Resident Evil 2 - Error Log nr #1 - 3.06.2012
Comment 10 OdzioM 2012-06-03 06:54:38 UTC
I found easiest way to fix "StreamOpen Error"
1. Open ResidentEvil2.exe file
2. Go to OPTIONS
3. In "Features" bookmark find SOUND QUALITY and change it to HIGH QUALITY
4. Click OK :)
Comment 11 WineBuG 2013-10-13 17:09:29 UTC
I'm asking to reopen this bug. In Wine 1.7.4 this is still a problem. Installing the DLLs suggested by OdzioM or changing the sound quality doesn't help. I've attatched a new sound log.

On Windows Vista (without Wine) the sound doesn't work either, but I guess it would work on the older Windows versions. "StreamOpen Error" doesn't appear even on Windows Vista.

The problem can be reproduced in the demo (someone please add it to the URL field): http://www.fileplanet.com/11008/download/Resident-Evil-2-Demo


Tested with
Ubuntu 13.04, GeForce 9600M GS (NVIDIA driver 313)
Mac OS X 10.7.5, ATI HD 2600 Pro, Mac Driver/X11
Comment 12 WineBuG 2013-10-13 17:11:01 UTC
Created attachment 46290 [details]
Sound Log +tid,+mmdevapi,+winmm,+driver,+midi,+dsound,+dsound3d,+dmusic,+mci,+oss,+alsa,+coreaudio
Comment 13 Austin English 2013-10-13 17:15:36 UTC
Reopening.
Comment 14 Andrew Eikum 2013-10-23 14:04:57 UTC
Looks like the root problem is we don't support 8-bit PCM output from our ADPCM converter. Windows seems to support this.
Comment 15 Andrew Eikum 2013-11-04 14:06:55 UTC
This should be fixed by the following two commits in today's Wine. They will be included in Wine 1.7.6. Please retest to confirm it's fixed.

commit 3cb2ddfd09d5986614e028aa413e71e7624d2470
Author: Andrew Eikum <aeikum@codeweavers.com>
Date:   Mon Nov 4 10:06:02 2013 -0600

    msacm32: Don't clear DONE flag in Un,PrepareHeader.

commit 39185814b1e51348d50458632f44e0756fba8426
Author: Andrew Eikum <aeikum@codeweavers.com>
Date:   Mon Nov 4 10:05:58 2013 -0600

    msadp32: Also convert to 8-bit PCM.
Comment 16 Andrew Eikum 2013-11-19 07:38:12 UTC
Fixed by 3cb2ddfd09d5986614e028aa413e71e7624d2470. Please re-open if audio is still broken for you after Wine 1.7.6.
Comment 17 Alexandre Julliard 2013-11-22 12:50:50 UTC
Closing bugs fixed in 1.7.7.
Comment 18 Alexandre Julliard 2014-01-10 14:46:48 UTC
Removing 1.6.x milestone from bugs included in 1.6.2.
Comment 19 Pix3l 2016-10-05 13:14:58 UTC
OdzioM:
> I found easiest way to fix "StreamOpen Error"
> 1. Open ResidentEvil2.exe file
> 2. Go to OPTIONS
> 3. In "Features" bookmark find SOUND QUALITY and change it to HIGH QUALITY
> 4. Click OK :)

As OdzioM said, setting the sound quality to "High", should fix the problem.

Andrew Eikum:
> Looks like the root problem is we don't support 8-bit PCM output from our
> ADPCM converter. Windows seems to support this.

As Andrew said, if the problem is the sound depth and you have the Biohazard 2 Sourcenext version, you should set the key "HKEY_LOCAL_MACHINE\Software\CAPCOM\BIOHAZARD 2 PC\SoundDepth" to hex value 10 (decimal 16).
This should set the sound depth to 16 bit if I understand correctly.

Tested on wine 1.6.2 and works correctly.


Privacy Policy
If you have a privacy inquiry regarding this site, please write to [email protected]

Hosted By CodeWeavers