Mike Leahy
2006-Feb-02 01:32 UTC
[Wine] Could not load 'SOUND.DLL' required by 'sierrawh', error=2
Hello list, I'm trying to get some old windows Win95/98 games to run without too much luck. This example is a Sierra Hoyle Classic Games CD from 1998, which should be enough to keep my wife happy without having to reboot my computer back into windows...if I can get it to work. The installer itself runs fine, and even plays a sample sound clip to test the sound before installing. After that, when I actually try to run the game, I get the SOUND.DLL error quoted in this email's subject. I found some stuff in a bug report from a while back, but it didn't look like a solution was presented. Is there some way I can get this to work? If I can find a copy of the sound.dll, should that be sufficient to make the game work (or at least get beyond that first error)? Thanks in advance for any suggestions... Mike
GuruLounge - MailLists
2006-Feb-02 02:58 UTC
[Wine] Could not load 'SOUND.DLL' required by 'sierrawh', error=2
Well, I'd definetly try to copy the dll from a windows partition (I have mine mounted on /windows for reasons like this). I'd also fool around with "winecfg" and see if adjusting the audio settings works. It wouldn't hurt to do: WINEDEBUG="loaddll" wine yourprogramname.exe and see if SOUND.DLL is being loaded native or builtin. Jeff On Thu, 2006-02-02 at 02:33 -0500, Mike Leahy wrote:> Hello list, > > I'm trying to get some old windows Win95/98 games to run without too > much luck. This example is a Sierra Hoyle Classic Games CD from 1998, > which should be enough to keep my wife happy without having to reboot my > computer back into windows...if I can get it to work. The installer > itself runs fine, and even plays a sample sound clip to test the sound > before installing. After that, when I actually try to run the game, I > get the SOUND.DLL error quoted in this email's subject. I found some > stuff in a bug report from a while back, but it didn't look like a > solution was presented. Is there some way I can get this to work? If I > can find a copy of the sound.dll, should that be sufficient to make the > game work (or at least get beyond that first error)? > > Thanks in advance for any suggestions... > > Mike > > _______________________________________________ > wine-users mailing list > wine-users@winehq.org > http://www.winehq.org/mailman/listinfo/wine-users-- .^. /V\ /( )\ ^^-^^ Linux Advocate
penna@bb.com.br
2006-Feb-02 05:36 UTC
[Wine] Could not load 'SOUND.DLL' required by 'sierrawh', error=2
Hi Mike, There is an open bug about that: http://bugs.winehq.org/show_bug.cgi?id=3950 In my opinion, it sounds no trivial to solve the problem ..... sorry. []s. --------------------------------------------------------- Ulisses de Sousa Penna Analista Consultor - Banco do Brasil Fone: +55-61-3310-6320 Fax: +55-61-3310-6435 ---------------------------------------------------------
penna@bb.com.br
2006-Feb-02 11:04 UTC
[Wine] Could not load 'SOUND.DLL' required by 'sierrawh', error=2
My mistake .... In fact you can use winecfg (command line), click at the "Applications" tab -> "Add application" and add the executable you want. Then (at the same tab) you click at the executable you have just added. Click now at the "Libraries" tab and add a "New override for library". In our case: sound.dll (that will work *only* for the executable you have clicked right before in the "Application" tab). You can also chage the order of DLL's by clicking on the "Edit" button. But in your case you will want "native, builtin". It's not one line correction but .... ;) HTH --------------------------------------------------------- Ulisses de Sousa Penna Analista Consultor - Banco do Brasil Fone: +55-61-3310-6320 Fax: +55-61-3310-6435 --------------------------------------------------------- F9398600 Ulisses S Penna 02/02/2006 09:35 Para: wine-users@winehq.org cc: Mike Leahy <mgleahy@golden.net> Assunto: Re: [Wine] Could not load 'SOUND.DLL' required by 'sierrawh', error=2 Hi Mike, There is an open bug about that: http://bugs.winehq.org/show_bug.cgi?id=3950 In my opinion, it sounds no trivial to solve the problem ..... sorry. []s. --------------------------------------------------------- Ulisses de Sousa Penna Analista Consultor - Banco do Brasil Fone: +55-61-3310-6320 Fax: +55-61-3310-6435 ---------------------------------------------------------
Mike Leahy
2006-Feb-02 14:03 UTC
[Wine] Could not load 'SOUND.DLL' required by 'sierrawh', error=2
Sorry Jeff/Ulisses - I've been sending my replies off-list... At any rate, no change so far - even after doing the stuff mentioned below, I still get error #21: Could not load 'SOUND.DLL' required by 'sierrawh', error=21 Since I can't register the copy of sound.dll that I have with regsvr32, I'm thinking that I have the wrong one - none of my WinXP or Win98 machines have it, so I'm wondering if anyone knows a good place to find a working version...? Thanks again, Mike Mike Leahy wrote:> Yes, I just tried this as well...I also tried Jeff's suggestion to run > "regsvr32 sound.dll", but I got this error: > > DllRegisterServer not implemented in DLL sound.dll > > I'm thinking that the sound.dll I found (I forget where) is not the > right one. Does anybody know where I can find one online? I've been > searching around, but nothing promising has turned up...I even dusted > off a really old laptop with windows 98 on it, but there was no such dll > on its drive - similarly, I don't find on my XP drives (just dsound.dll). > > Mike > > penna@bb.com.br wrote: >> Mike, >> >> Did you put the *real* sound.dll at the equivalent >> "C:\windows\system32" (in my case is ~/.wine/drive_c/windows/system32) >> If so ..... I have no idea what else we can do 8( >> >> []s. >> --------------------------------------------------------- >> Ulisses de Sousa Penna >> Analista Consultor - Banco do Brasil >> Fone: +55-61-3310-6320 Fax: +55-61-3310-6435 >> --------------------------------------------------------- >> >> >> >> >> >> >> Mike Leahy <mgleahy@golden.net> >> Enviado Por: Mike Leahy <mgl.gis@gmail.com> >> 02/02/2006 14:31 EST >> >> >> Para: penna@bb.com.br >> cc: >> Assunto: Re: [Wine] Could not load 'SOUND.DLL' required by 'sierrawh', error=2 >> >> >> >> Ok...I tried that, but I still get the same error #21: >> >> Could not load 'SOUND.DLL' required by 'sierrawh', error=21 >> >> Is there anything should I try next? >> >> Thanks again for the help. >> >> Mike >> >> penna@bb.com.br wrote: >>> My mistake .... >>> >>> In fact you can use winecfg (command line), click at the >>> "Applications" tab -> "Add application" and add the executable you want. >>> Then (at the same tab) you click at the executable you have just >>> added. Click now at the "Libraries" tab and add a "New override for >>> library". In our case: sound.dll (that will work *only* for the >> executable >>> you have clicked right before in the "Application" tab). >>> You can also chage the order of DLL's by clicking on the "Edit" >>> button. But in your case you will want "native, builtin". >>> It's not one line correction but .... ;) >>> >>> HTH >>> --------------------------------------------------------- >>> Ulisses de Sousa Penna >>> Analista Consultor - Banco do Brasil >>> Fone: +55-61-3310-6320 Fax: +55-61-3310-6435 >>> --------------------------------------------------------- >>> >>> >>> >>> >>> >>> >>> F9398600 Ulisses S Penna >>> 02/02/2006 09:35 >>> >>> >>> Para: wine-users@winehq.org >>> cc: Mike Leahy <mgleahy@golden.net> >>> Assunto: Re: [Wine] Could not load 'SOUND.DLL' required >> by 'sierrawh', error=2 >>> Hi Mike, >>> >>> There is an open bug about that: >>> >>> http://bugs.winehq.org/show_bug.cgi?id=3950 >>> >>> In my opinion, it sounds no trivial to solve the problem ..... sorry. >>> >>> []s. >>> --------------------------------------------------------- >>> Ulisses de Sousa Penna >>> Analista Consultor - Banco do Brasil >>> Fone: +55-61-3310-6320 Fax: +55-61-3310-6435 >>> --------------------------------------------------------- >>> >>> >>> >> >> >> >
Mike Leahy
2006-Feb-02 15:55 UTC
[Wine] Could not load 'SOUND.DLL' required by 'sierrawh', error=2
No luck...the softsnd.dll also does not work. I looked at the debug output, and it appears that the sound.dll is being searched for, then found in the following location: /home/mgleahy/.wine/dosdevices/c:/windows/system32/sound.dll This appears to be correct, but still I get error=21 (I think I could put a link to any file I want and I'll get the same). I do notice earlier in the debug output the following: 0009:Call kernel32.__wine_dll_register_16(597f5e58,597abc3f "sound.drv") ret=59787f07 Is that an issue at all? Mike Mr Duck wrote:> Mike Leahy wrote: >> Are there any other tweaks I can try, or maybe some other candiates for >> the sound.dll? > > file planet has a dll file called softsnd.dll that I suppose you > could try symlinking to. > > Have you tried getting full debug logging and looking to see the > path and such that wine is trying to use with the DLL? > > WINEDEBUG="+all" wine your.exe >& debug.log > > It will produce a stock pot full of debugging information, but > maybe it will give you more information than simply using "dllfiles" > (or whatever the debug thing is called). > > Mr Duck > >