Author Topic: Sound Blaster support  (Read 2745 times)

0 Members and 1 Guest are viewing this topic.

Offline OmerMor

Sound Blaster support
« on: September 15, 2002, 11:02:54 AM »
I've been wondering about the annoying message:
"Unable to initialize your audio hardware".
I believe most of you know this when you try to run sierra games with audio support through your sound blaster.
I tried Moslo,  I tried VDMSound, but still many games won't recognize my Sound Blaster(tm) on my Windows XP.
Today I tried to run one game configured with Tandy DAC instead of Sound Blaster, and surprisingly, the game gave no error message. Of course there was no audio because I don't have Tandy, but still - no error message, so I guess the game sends audio data to the driver and the driver just pass it on to non existing hardware without an attempt to initialize anything first.
I know that Ravi has some experience in reverse engineering drivers to sierra games, so maybe he can alter a Sound Blaster driver that simply sends the audio data to the sound card without first trying to initialize it.
Do you think it can be done?
What do you say Ravi? In your spare time maybe?  :)



Offline kelmer

Re:Sound Blaster support
« Reply #1 on: September 15, 2002, 11:30:35 AM »
This has already been done. It's called GoSierra and you can find it here:




Offline OmerMor

Re:Sound Blaster support
« Reply #2 on: September 15, 2002, 12:15:30 PM »
It looks promising,  but I just tried it with the following 3 games and it didn't work for me:
1) Jones in the Fast Lane (CD Version)
The response was:
"Can't be. The file, you specified, is not a Sierra driver."
2) Mixed Up Mother Goose (SCI1 CD Version)
The response was:
"Could not patch file. Sorry."
3) Mixed Up Mother Goose (SCI1 Diskette Version)
The response was:
"Driver-Bug [TYPE 1]
File patched successfully."
BUT - the game still gave me the usual initialization error...


Offline kelmer

Re:Sound Blaster support
« Reply #3 on: September 15, 2002, 12:58:09 PM »
In the CD versions you'll probably have to specify the name of the driver, since there is two sound blaster drivers in sierra games. One is audblast.drv and the other sounblas.drv (i think). Or, you are probably having problems with the read-only attribute. Just remove it and it should work fine.


As for the MUMG floppy, maybe you haven't changed the driver in the installation program?

Offline OmerMor

Re:Sound Blaster support
« Reply #4 on: September 15, 2002, 06:47:47 PM »
I wish it was that simple ...
the sndblast.drv file is used for the music, and i actually use adl.drv. the audblast is the one used for the audio, and this was the one i used with gosierra.
and sadly, none of the files had read-only attribute so it's not the problem ...
I realy want to hear mother goose and jones in it's full speech glory...

Offline Ravi

Re:Sound Blaster support
« Reply #5 on: September 15, 2002, 07:10:50 PM »
I'm not sure what would happen if the SB initialization code were skipped. It's advisable to keep it in there, though, because besides detecting the hardware it will also put the card in an initialized state.

There are a couple of things that might be going on. First, your hardware might be too fast. The driver has to introduce delays so the hardware has time to work. For simple delay routines, faster computers will cause shorter delays, which means that the hardware won't have enough time to do what it needs to.

Also, the driver may be hard coded to use different settings than your hardware uses. For example, one Sierra driver that I looked at uses DMA channel 1. If the SB uses some other channel, the driver will fail.

Do you know how the VDMSound SB is configured? Can you change those settings? If you send me a driver, I'd be happy to see what I can do with it.

Offline OmerMor

Re:Sound Blaster support
« Reply #6 on: September 16, 2002, 11:15:53 AM »
Ravi:
I tried toplay a bit with the VDMSound settings, but I didn't yet try to change the DMA channel. I will try that too.
Later, when I'll back home, I will send you the faulty drivers.

Offline Joel

Re:Sound Blaster support
« Reply #7 on: September 16, 2002, 07:10:23 PM »
just a thought...what are the chances of creating a driver that acted as a sort of "virtual" sound blaster? I have lots of problems with these issues, too, and gosierra doesn't help at all.

Offline Ravi

Re:Sound Blaster support
« Reply #8 on: September 16, 2002, 10:46:34 PM »
Emulating hardware in drivers for the original Sierra interpreters isn't a very feasible thing to do. The main problem is that the drivers must be 16 bit DOS code. There isn't a direct way to use Windows API functions or anything else.

The best option is to follow FreeSCI development. It would be much easier to integrate with existing emulation libraries and could be compiled to run natively on more modern platforms.

Offline juncmodule

Re:Sound Blaster support
« Reply #9 on: September 17, 2002, 08:09:46 AM »
Have you heard about this problem a lot Ravi? Fast PC's not being able to have SCI games with sound? My 166MHZ laptop runs SCI games just fine. My 1.5GHZ machine runs them like crap most of the time and can't handle the sound at all. I've been thinking of removing my soundblaster and trying to use my onboard sound. Would this be a waste of time, is it just the fast computer?

Offline Te Rangi

Re:Sound Blaster support
« Reply #10 on: September 18, 2002, 01:11:15 AM »


[attachment deleted by admin]

Offline Ravi

Re:Sound Blaster support
« Reply #11 on: September 18, 2002, 04:36:06 PM »
I think it is fairly common for SCI games to have SoundBlaster and Adlib sound problems on faster computers. Trying to get old games to run on new computers with newer hardware and operating systems just makes the problem worse.

Swapping out your sound card and enabling the onboard audio sounds like more work than it's worth, to me. First, get VDMSound or something similar if you're running Windows NT or Windows 2000. I'm not clear on whether or not it's necessary for Windows XP, but it's worth a shot.

If the operating system isn't the problem, make sure the sound card settings are set to something SCI can use. The SB driver from KQ1 SCI01 requires DMA 1 and I/O port 220h. The IRQ can be 3 or 7. QFG2 can also use IRQ 2 or 5. I don't know about SCI1 games.

If computer speed is the only problem, there's some chance that using onboard audio instead of the sound card will work. It would require that the onboard audio use shorter delays than the card. I don't know how likely that is.

edit - whoops, I meant KQ1 SCI01, not KQ1 SCI1.1
« Last Edit: September 19, 2002, 06:58:10 PM by Ravi »

Offline juncmodule

Re:Sound Blaster support
« Reply #12 on: September 19, 2002, 08:10:06 AM »
Hmmm...you may have solved my problem. I didn't know games required specific IRQ's and I/O ports. I have a video card that eats IRQ's. I think I will check out my laptop and figure out exactly what the settings are on that. I just thought it was all driver crap because sound works fine for most other things. Stupid " :Pfast :P" computer.

On a related/unrelated note. I know this would be a lot of work and that FreeSCI is basically this...but...has anyone ever thought of/made a DOS emulator or a 486 emulator. If I can run an Atari ST emulator I don't see why I couldn't run a PC emulator on my PC. It would just be nice to entirely work within that environment without having to build a seperate box to do it on.

Thanks!

Stiletto

  • Guest
Re:Sound Blaster support
« Reply #13 on: September 19, 2002, 09:12:41 AM »
> has anyone ever thought of/made a DOS emulator or a 486 emulator

For Windows?

Let me recommend DOSBox (http://dosbox.zophar.net), BOCHS (http://bochs.sourceforge.net/), Virtual PC (http://www.connectix.com), VMWare (http://www.vmware.com)... the list goes on quite a bit.

Note: DOSBox is only in the preliminary stages of 386 support let alone 486, but the rest should run software designed for 486's. :)

- Stiletto

Offline OmerMor

Re:Sound Blaster support
« Reply #14 on: September 19, 2002, 04:37:22 PM »
Ravi:
I still need to send you those faulty drivers and play a bit with the DMA settings...

Mr. T:
I know Ravi's exceellent GM.DRV very well and I use it quite often. BUT - it's good only for the music - not for the audio, and when I want to hear the voices in the Jones CD it won't help me...  :(



SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.049 seconds with 22 queries.