Winetricks / winezeug

Miscellaneous scripts/projects that are useful for wine developers, but don't belong upstream
11 stars 3 forks source link

Some games seem to require dsound.dll as well as the directmusic package #169

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
An example is the Recettear demo available from 
http://www.carpefulgur.com/recettear/

With just the DLLs from running 'winetricks directmusic' it doesn't function 
correctly, but if one adds in dsound.dll and sets it to native as well it works 
perfectly.

Patch to add a 'directsound' target which has all the targets for directmusic 
plus dsound.dll attached.

Original issue reported on code.google.com by marcmagus@gmail.com on 9 Sep 2010 at 4:40

Attachments:

GoogleCodeExporter commented 9 years ago
It seems to me that directsound should only install dsound.dll, and its 
dependencies, not directmusic.

Does dsound.dll depend on directmusic?

Original comment by austinenglish@gmail.com on 12 Sep 2010 at 5:42

GoogleCodeExporter commented 9 years ago
dsound.dll has no direct dependency on directmusic, no, so I agree.

I'll have a quick look at the game to see if I can tell what's going on.

Original comment by eibol...@gmail.com on 17 Sep 2010 at 8:11

GoogleCodeExporter commented 9 years ago
Looks like native directmusic in this case wants an undocumented dsound 
interface wine doesn't implement.

warn:dsound:DSOUND_QueryInterface8 Unknown IID 
{2a8af120-e9de-4132-aaa5-4bdda5f325b8}

(See http://www.mail-archive.com/wine-devel@winehq.org/msg41048.html )

Original comment by eibol...@gmail.com on 17 Sep 2010 at 8:46

GoogleCodeExporter commented 9 years ago
Looks like it has a stub now:
http://source.winehq.org/git/wine.git/?a=blob;f=dlls/dmime/performance.c#l797

though that probably isn't enough...I'm fine with using native dsound.dll in 
this case. Dan?

Original comment by austinenglish@gmail.com on 20 Sep 2010 at 9:23

GoogleCodeExporter commented 9 years ago
The dsound verb added for issue 175 is probably enough?

Original comment by eibol...@gmail.com on 26 Sep 2010 at 2:18