Simpsons: H&R dsound.dll

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
arvinkebob
Level 1
Level 1
Posts: 6
Joined: Sat Jul 05, 2008 2:43 am

Simpsons: H&R dsound.dll

Post by arvinkebob »

I've been having a problem recently with Simpsons Hit & Run regarding the sound. I installed the game just fine, but had major sound distortions that made it impossible to play with sound. After checking AppDB, another user reported the same problem and I tried changing the dsound library to native (windows). I imported the dsound.dll file from my Windows XP drive into my fake windows/system32 under WINE and in my programs root directory.

After running the game, I got two odd errors in separate message boxes, one after another:

Code: Select all

ASSERT FAILED : [DirectSound8 couldn't be created.]
    Line : [0] File: [win32 hal]

{Abort}                    {Retry}                     {Ignore}
I pressed the Ignore button and up came another message (pressing retry did the same thing, abort just canceled:

Code: Select all

ASSERT FAILED : [IDirectSound8::Initialize() failed, no sound card?]
    Line : [0] File: [win32 hal]
                 
{Abort}                    {Retry}                     {Ignore}
As before I pressed Ignore but then the messages stopped and the game didn't load. I tried messing around with the audio setting in "winecfg" but nothing made a difference. Only the builtin wine dsound would work with the game but that obviously causes the distortion to happen.

Does anyone know of a way to make the native dll work or know another work around for the distortion? I've searched all over and haven't found a specific problem such as mine. Thanks for any help.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

What distro, what version of Wine, what sound driver?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Simpsons: H&R dsound.dll

Post by vitamin »

arvinkebob wrote:After checking AppDB, another user reported the same problem and I tried changing the dsound library to native (windows). I imported the dsound.dll file from my Windows XP drive into my fake windows/system32 under WINE and in my programs root directory.
You can't do that. Native dsound won't work on Wine.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

You can't do that. Native dsound won't work on Wine.
That's what I thought, but the AppDB has reports for this game from three different people that say they successfully used native dsound to fix the sound problem. Granted, people who submit test reports don't always know what they're talking about, but something they did must have fixed the sound problem for them or they wouldn't have reported it as working. (As to what that something might be, I don't have a clue.)
arvinkebob
Level 1
Level 1
Posts: 6
Joined: Sat Jul 05, 2008 2:43 am

Post by arvinkebob »

Well my distro is Ubuntu 8.04, WINE 1.1.0, I've used all options that were available in winecfg (ALSA, OSS, ESound...) if that's what you mean.

So dsound isn't suppose to work? I spent an hour trying to figure out where I went wrong...

I sent a message to the user who put up this solution to see what exactly they did to get the sound to work. Would I by any chance have to revert back to an older WINE?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

dimesio wrote:
You can't do that. Native dsound won't work on Wine.
That's what I thought, but the AppDB has reports for this game from three different people that say they successfully used native dsound to fix the sound problem. Granted, people who submit test reports don't always know what they're talking about, but something they did must have fixed the sound problem for them or they wouldn't have reported it as working. (As to what that something might be, I don't have a clue.)
DMusic or quartz - yeah those might work. But not dsound.dll.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

arvinkebob wrote:Well my distro is Ubuntu 8.04, WINE 1.1.0, I've used all options that were available in winecfg (ALSA, OSS, ESound...) if that's what you mean.
Did you killed/disabled/removed pulseaudio?
arvinkebob wrote:So dsound isn't suppose to work? I spent an hour trying to figure out where I went wrong...
Native dsound.dll will never work on Wine.
arvinkebob
Level 1
Level 1
Posts: 6
Joined: Sat Jul 05, 2008 2:43 am

Post by arvinkebob »

I'm going to try the native versions of DMusic and quartz very soon (as soon as I restart my computer). And sorry to sound like an idiot, but how do you disable PulseAudio. I know the added it in 8.04 but I don't notice a difference between the old mixer and PulseAudio.

Thanks for the help so far.
arvinkebob
Level 1
Level 1
Posts: 6
Joined: Sat Jul 05, 2008 2:43 am

Post by arvinkebob »

So far, no luck with native dmusic or quartz, so I'm hoping that disabling pulseaudio will work if nothing else will.
arvinkebob
Level 1
Level 1
Posts: 6
Joined: Sat Jul 05, 2008 2:43 am

Post by arvinkebob »

After disabling PA, and enabling ALSA only in 8.04, I still had no luck. Any other suggestions?
arvinkebob
Level 1
Level 1
Posts: 6
Joined: Sat Jul 05, 2008 2:43 am

Post by arvinkebob »

How odd, after restarting Ubuntu I started up winecfg again. Out of sheer boredom I enabled dsound to native (windows) and voila! Did I have to restart to get ALSA to be recognized as the sound driver? Or did I just screw something up like the rest of the people that got dsound to work natively?

I don't know what to say, so I'll just say thanks for all the help. I'm still in awe...
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

arvinkebob wrote:How odd, after restarting Ubuntu I started up winecfg again. Out of sheer boredom I enabled dsound to native (windows) and voila!
That means you totally disabled dsound. Your game might not use it (there is old winmm sound interface).
Locked