http://bugs.winehq.org/show_bug.cgi?id=20639
Summary: dsound:IDirectSoundBufferImpl_AcquireResources must return DS_OK for some games Product: Wine Version: unspecified Platform: PC URL: http://jkansoft.mine.nu/cgi-bin/jkansoft.cgi?page=7&o= 7 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-dsound AssignedTo: wine-bugs@winehq.org ReportedBy: jkxx2@yahoo.com
The url above is a link on how to patch Wine to make two games (Rail Simulator, RailWorks) playable.
The issue is that both games call IDirectSoundBufferImpl_AcquireResources and then crash unless the return value is DS_OK. Neither game actually calls any related functions or requires the functionality of the real dsound function. Upon returning DS_OK, sound works correctly in both games.
Returning DS_OK is definitely not the solution to the problem since the function is still unimplemented but it fixes the above and maybe some other games.
http://bugs.winehq.org/show_bug.cgi?id=20639
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://jkansoft.mine.nu/cgi | |-bin/jkansoft.cgi?page=7&o= | |7 | Summary|dsound:IDirectSoundBufferIm |Rail Simulator and Rail |pl_AcquireResources must |Works games crash |return DS_OK for some games |
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2009-11-09 21:00:59 --- What Wine version?
http://bugs.winehq.org/show_bug.cgi?id=20639
--- Comment #2 from jkxx2@yahoo.com 2009-11-10 03:42:15 --- Originally I patched Wine 1.1.12 which had the problem at the time. Wine 1.1.32 (latest) still has it so apparently that function call is still stubbed out.
http://bugs.winehq.org/show_bug.cgi?id=20639
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #3 from Austin English austinenglish@gmail.com 2009-11-11 16:22:33 --- Still unimplemented in git.
http://bugs.winehq.org/show_bug.cgi?id=20639
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://gamedaily.newaol.com | |/pub/rail_sim_demo.exe CC| |xerox_xerox2000@yahoo.co.uk
--- Comment #4 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2009-11-21 15:48:38 --- add downloadlink
http://bugs.winehq.org/show_bug.cgi?id=20639
--- Comment #5 from Austin English austinenglish@gmail.com 2011-05-09 18:00:27 CDT --- http://www.gamershell.com/download_22072.shtml
Still unimplemented: http://source.winehq.org/git/wine.git/blob?f=dlls/dsound/buffer.c#l800
returning DS_OK does get the game to run. Sent patch: http://www.winehq.org/pipermail/wine-patches/2011-May/101748.html
http://bugs.winehq.org/show_bug.cgi?id=20639
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #6 from Austin English austinenglish@gmail.com 2011-05-10 13:34:26 CDT --- (In reply to comment #5)
http://www.gamershell.com/download_22072.shtml
Still unimplemented: http://source.winehq.org/git/wine.git/blob?f=dlls/dsound/buffer.c#l800
returning DS_OK does get the game to run. Sent patch: http://www.winehq.org/pipermail/wine-patches/2011-May/101748.html
Fixed by http://source.winehq.org/git/wine.git/commitdiff/6a3255bbbde0bdec3407ea89ef6...
http://bugs.winehq.org/show_bug.cgi?id=20639
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2011-05-13 13:33:24 CDT --- Closing bugs fixed in 1.3.20.