VOGONS

Common searches


First post, by Myrkridia

User metadata
Rank Newbie
Rank
Newbie

Greetings to the forum! 😈

The last couple of days I've been wandering the nostalgic wonderworld of DOS games and bumbed into few questions about Gravis Ultrasound. Currently I am running the latest version of DOSBox, 0.72 that is, and using the absolutely great frontend DBGL (DOSBox Game Launcher 0.64).

I have pointed out to DOSBox the GUS files as stated in here / worked out the following 'guide' as best as I can:
http://www.dosgames.com/forum/about10574.html

Also as stated in these addresses, for example games like Dune II, Settlers, Settlers II and Warcraft should support GUS:
http://www.dosgames.com/forum/viewtopic.php?p=82511#82511 and http://members.chello.at/theodor.lauppert/games/sc-gus.htm

However, when I try to setup the games to run with GUS, they don't regognize the card at all (there is no GUS -option to be selected) / find the files needed / can't initialize the instrument manager... 😐 In most cases, actually in all of them, the digital audio driver (game sounds, I assume?) work fine with GUS (due to the DOSBox emulation, I assume?) but the MIDI music driver / MIDI synth doesn't work for some reason. Only exception is Raptor - Call of the Shadows, in which both sound and music accept GUS with very nice aural results.

So finally my question is: what I am doing wrong / left undone / understood wrong?

A big thank you for your awnsers! 😁

I didn't do it again, but I'm accused anyway. SHIT!

Reply 1 of 16, by jal

User metadata
Rank Oldbie
Rank
Oldbie

It's difficult to provide an answer, since I'm not entirely clear what your problem is, nor wat causes it.

First of all, there's a configuration section in the DOSBox config file (dosbox.conf) that describes whether DOSBox should emulate a GUS, and if so, what settings to use. Could you please post what you have sitting there?

Secondly, some games, and I'm not sure whether these are the games you mention, use the GUS's sound patches to produce sound on the GUS. These are not on-board, but on your harddisk as files. If you do not have these files, it may well be the games cannot play sound through the emulated GUS.

Thirdly, you speak about MIDI. Iirc, the GUS has both a MIDI port and could emulate MIDI with some driver loaded, but I don't think DOSBox emulates the port (which would be useless anyway, as a real MIDI device must be connected to it), and the MIDI emulation is, iirc, setup by a driver or tool supplied with the GUS. If you do not have the software for that, you're out of luck as well.

JAL

Reply 2 of 16, by Vinx

User metadata
Rank Newbie
Rank
Newbie

Be sure you added gus=true and ultradir=your GUS path (normally C:\ULTRASND) to GUS section of your dosbox.conf file and gusbase, irq1, irq2, dma1, dma2 are all not conflict with corresponding values in sblaster section (or better turn sound blaster off with sbtype=none); all these things get much easier when using front end like D-Fend Reloaded.

Many GUS supported games need you to initialize GUS first (load instrument patch, etc.), how can that be done is individual to the game; for example with Witchaven 1&2 you need to run GRAVIS.EXE first; Hocus pocus, run __HPGRVS.EXE.

Games like Warcraft II, Duke Nukem 3D need no special manual initialization, with the correct DOSBox settings you can set it up to use GUS easily. But these games need to know exactly where are GUS initialization files; so you must be sure that you set up GUS files correctly and provide the exact path to ultradir= in dosbox.conf.

Windows XP Professional sp.2
Core 2 Duo E4500 @2.33GHz
2Gb RAM, 320 Gb SATA-RAID0
Geforce 9800 GT 1Gb DDR3
SB X-fi Xtreme Audio

Reply 3 of 16, by Myrkridia

User metadata
Rank Newbie
Rank
Newbie
jal wrote:
It's difficult to provide an answer, since I'm not entirely clear what your problem is, nor wat causes it. […]
Show full quote

It's difficult to provide an answer, since I'm not entirely clear what your problem is, nor wat causes it.

First of all, there's a configuration section in the DOSBox config file (dosbox.conf) that describes whether DOSBox should emulate a GUS, and if so, what settings to use. Could you please post what you have sitting there?

Secondly, some games, and I'm not sure whether these are the games you mention, use the GUS's sound patches to produce sound on the GUS. These are not on-board, but on your harddisk as files. If you do not have these files, it may well be the games cannot play sound through the emulated GUS.

Thirdly, you speak about MIDI. Iirc, the GUS has both a MIDI port and could emulate MIDI with some driver loaded, but I don't think DOSBox emulates the port (which would be useless anyway, as a real MIDI device must be connected to it), and the MIDI emulation is, iirc, setup by a driver or tool supplied with the GUS. If you do not have the software for that, you're out of luck as well.
JAL

Settings from the general .conf file you mentioned from DOSBox root (not from any game folder, as I use a template on DBGL which generates it's own conf file for each game) are following:

[gus]
# gus -- Enable the Gravis Ultrasound emulation.
# gusbase,irq1,irq2,dma1,dma2 -- The IO/IRQ/DMA addresses of the
# Gravis Ultrasound. (Same IRQ's and DMA's are OK.)
# gusrate -- Sample rate of Ultrasound emulation.
# ultradir -- Path to Ultrasound directory. In this directory
# there should be a MIDI directory that contains
# the patch files for GUS playback. Patch sets used
# with Timidity should work fine.

gus=true
gusrate=22050
gusbase=240
irq1=5
irq2=5
dma1=3
dma2=3
ultradir=C:\ULTRASND <- this is wrong

Contents from a template / DBGL generated .conf from a game's folder. Includes the right ULTRASND directory:

Warcraft - Orcs and Humans.conf

[gus]
gusrate=48000
ultradir=c:\users\janne\ultrasnd\ultrasndppl161

With GUS sound patches do you mean sound patches apllied to the game or to the card it self? I think that the file I downloaded from the first site ('guide') I mentioned states that most available patches for the card have been implied. There's a thread actually in this forum about the making of such file I downloaded, here:

Install Gravis Ultrasound Properly, All files, No Errors (With Pictures!)

Hope this helps 🙄

I didn't do it again, but I'm accused anyway. SHIT!

Reply 4 of 16, by Myrkridia

User metadata
Rank Newbie
Rank
Newbie
Vinx wrote:

Be sure you added gus=true and ultradir=your GUS path (normally C:\ULTRASND) to GUS section of your dosbox.conf file and gusbase, irq1, irq2, dma1, dma2 are all not conflict with corresponding values in sblaster section (or better turn sound blaster off with sbtype=none); all these things get much easier when using front end like D-Fend Reloaded.

Many GUS supported games need you to initialize GUS first (load instrument patch, etc.), how can that be done is individual to the game; for example with Witchaven 1&2 you need to run GRAVIS.EXE first; Hocus pocus, run __HPGRVS.EXE.

Games like Warcraft II, Duke Nukem 3D need no special manual initialization, with the correct DOSBox settings you can set it up to use GUS easily. But these games need to know exactly where are GUS initialization files; so you must be sure that you set up GUS files correctly and provide the exact path to ultradir= in dosbox.conf.

I am actually using a frontend (DBGL and sometimes D.O.G) which I have configured to point to the right ultrasound directory, so there should be no problem with that 😒 The GRAVIS.EXE you mention; should I look for it in the game folder or from the ULTRASND folder?

I didn't do it again, but I'm accused anyway. SHIT!

Reply 6 of 16, by Myrkridia

User metadata
Rank Newbie
Rank
Newbie
wd wrote:

ultradir=c:\users\janne\ultrasnd\ultrasndppl161

This is certainly wrong, paths are supposed to be relative to the mountings.

Okay, I DO have the files in that specific folder, but if using a frontend like DBGL, shound't it handle the .conf for me? If not, what should I do? I have used D.O.G frontend a couple of times, and it generates a following .conf file into the game directory:

[dosbox]
language=
machine=vga
captures=d:\dosbox-0.72\warcraft
memsize=32

[gus]
gus=true
gusrate=44100
gusbase=240
irq1=5
irq2=5
dma1=3
dma2=3
ultradir=y:\

...

[autoexec]
mount y "c:\users\janne\ultrasnd\ultrasndppl161"
mount x "d:\dosbox-0.72"
X:
cd/
cd warcraft
war.exe
exit

I didn't do it again, but I'm accused anyway. SHIT!

Reply 8 of 16, by Myrkridia

User metadata
Rank Newbie
Rank
Newbie
h-a-l-9000 wrote:

It doesn't look like Warcraft 1 or Dune II support the GUS...
This might be related to the GUS' MIDI capabilities (ultramid) which are not emulated by DOSBox.

Ah, okay well that explains a lot. Thank you 😀 Only exception is The Settlers II now, working it out..

I didn't do it again, but I'm accused anyway. SHIT!

Reply 9 of 16, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

but if using a frontend like DBGL, shound't it handle the .conf for me?

Don't know, if the dosbox.conf you posted is what DBGL uses untranslated
it won't work, but maybe somebody who uses DBGL can tell.

Reply 10 of 16, by Vinx

User metadata
Rank Newbie
Rank
Newbie

There's an easy way to check if a DOS game supports GUS; run its setup program, look for something like "choose sound FX card", activate it and look for "Gravis Ultrasound" in the list (GUS Max might not be supported by DOSBox)--
- If there is no such an item, the game might not support GUS (except it needs a special way to activate GUS first )
- If it's there, try configure it with port, IRQ and DMA that you specified in dosbox.conf, or simply choose "autodetect" (if there's any) -- if correct configuration and/or autodetection fails, it's very probably you need to find a special way to initialize GUS first.

Again, for games that need such special method, look for any .EXE file that the name seems related to GUS in game folder and run it before running setup or the game itself; you can create a batch file for starting game.
For example, This is my batch file for Hocus Pocus:-
@ultramid -q
@__hpgrvs -- my mistake for mention this as GUS initializer in my last post, in fact, it's the game file
@ultramid -q -f
as you can see, this game use a separated program file that utilize GUS, there may be other game utilize GUS in this way too.

for more information look at-
http://members.chello.at/theodor.lauppert/games/sc-gus.htm

Warcraft or Dune II (your game?) doesn't directly support GUS, you seem to need a patch as mentioned in the page (URL above). The page also link to many intersting site such as GUS Emulator's home and ftp site that you may need to look for such a patch.

Windows XP Professional sp.2
Core 2 Duo E4500 @2.33GHz
2Gb RAM, 320 Gb SATA-RAID0
Geforce 9800 GT 1Gb DDR3
SB X-fi Xtreme Audio

Reply 11 of 16, by HunterZ

User metadata
Rank l33t++
Rank
l33t++

I'm trying to get Daggerfall (the free version released by Bethesda) to work with DOSBox's GUS emulation. I downloaded the "fully updated ultrasnd folder" archive from this thread: Install Gravis Ultrasound Properly, All files, No Errors (With Pictures!) . I uncompressed the archive and renamed ULTRASND411 to ULTRASND and put it in the folder that I mount as c:\ in DOSBox (so that it will be c:\ultrasnd). I turned off mpu401 and SB emulation and turned on GUS emulation in dosbox.conf.

In the SETUP.EXE sound setup util for Daggerfall, it autodetects the GUS fine as the preferred digital device. When I run the Test however, it sounds kind of choppy.

Even worse, when I select GUS for MIDI it says it can't detect the device. I noticed it only lets you choose port 220 for the GUS MIDI, so I tried both editing dosbox.conf to use 220 for GUS and tried going back to 240 and hacking the HMISET.CFG to use 240 instead of 220; neither attempt made any difference. I also tried GUS Max and GUS Ace for MIDI options with the same result.

Any idea what I'm doing wrong?

Reply 12 of 16, by ripa

User metadata
Rank Oldbie
Rank
Oldbie

This might be related to the GUS' MIDI capabilities (ultramid) which are not emulated by DOSBox.

What about the mididemo that comes with Ultrasound software? It works great in dosbox.

Reply 13 of 16, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author

There seem to be some issues with the HMI drivers for GUS digital and MIDI with Daggerfall. The digital sound is oddly distorted (sounds better at some specific cycles, but doesn't completely clear up), and the MIDI driver won't load at all. I tried pre-loading patches by running "ultramid -c" in the ULTRASND dir, but that doesn't appear to help the HMI driver. The Daggerfall patch to version 1.07.213 doesn't update the drivers, and the issues remain.

There are other games with HMI drivers that work with the GUS emulation well enough, so the issue seems to be with the specific drivers included in Daggerfall.

I've never compared the CPU usage of GUS MIDI to OPL emulation... is it much less?

Reply 14 of 16, by HunterZ

User metadata
Rank l33t++
Rank
l33t++

In theory at least, GUS music should take little effort to emulate because it just involves mixing of sound samples.

I wonder if Daggerfall works on a real GUS?

I also wonder if it's possible to use the HMI drivers from another game to get it working with DOSBox? Probably not worth it.

Last edited by HunterZ on 2009-07-11, 22:16. Edited 4 times in total.

Reply 15 of 16, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

I couldn't get my real GUS to work with the downloaded Daggerfall.
Digital playback was "bubbling"/stuttering in the sound test. Worked with a SB Pro.
MIDI won't initialize, neither with nor without ultramid loaded.

I couldn't start the game as it didn't like my self-made CD.

1+1=10