VOGONS


First post, by verthezp

User metadata
Rank Newbie
Rank
Newbie

Recently I've been playing with dosbox a bit (on Fedora 10/64-bit). I've successfully played Rama to the end, with minor glitches (chirps) in sound, but apart from that it was perfect. I did have to use "INSTALL /F" to bypass hardware detection to get Rama to work (got that from the README delivered with Rama).

Now I'm trying Tomb Raider I, and although it is possible to play, I don't get any sound at all. It starts with the installer that doesn't auto-detect the sound card. Thinking that it was similar to the failing hardware detection in Rama, I manually selected the sound card in the install program, using the info from dosbox.conf, but still, I hear nothing when I perform the "Test" in the install program, and during play there is no sound.

This is with the default dosbox.conf (as generated via CONFIG -writeconf dosbox.conf), with only some extra commands in the autoexec section to mount some drives. I read the various sections on the dosbox wiki and I tried to play a bit with the settings in the sblaster section, but no improvement. Any ideas?

Further information:
- ASUS P5KC motherboard (with on-board sound)
- Pentium Core 2 Duo 3GHz
- 2 GB RAM
- ASUS Nvidia 8600 GTS graphics card
- Fedora 10 (up to date) in 64-bit mode
- dosbox-0.72-5.fc10.1.x86_64 RPM
- Tomb Raider I (Unfinished Business)

Reply 1 of 14, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

Since you are using 0.72, try disabling GUS in the in config-file. Or update to 0.73. Also, try with some fixed low cycles count, like 2000.

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 2 of 14, by verthezp

User metadata
Rank Newbie
Rank
Newbie

Disabling GUS or setting cycles to 2000 didn't change anything.

Then I rebuilt the Fedora 11 source RPM (dosbox-0.73-1.fc11.src.rpm) on my machine (because the binary RPM did not install due to needed Fedora 11 dependencies). With that, I get the following output on the console when starting dosbox:

DOSBox version 0.73
Copyright 2002-2009 DOSBox Team, published under GNU GPL.
---
ALSA lib pulse.c:272:(pulse_connect) PulseAudio: Unable to connect: Connection refused

CONFIG:Loading primary settings from config file tomb.conf
"vga" is not a valid value for variable: machine.
It might now be reset it to default value: svga_s3
ALSA:Can't subscribe to MIDI port (65:0) nor (17:0)
MIDI:Opened device:oss

The last 2 lines were there also with dosbox 0.72, but the PulseAudio error is new. Anyway, still no sound (which sounds logical if dosbox cannot connect to PulseAudio).

Reply 3 of 14, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

You're using an old dosbox config file, and (independent of that) pulseaudio fails.

Reply 4 of 14, by verthezp

User metadata
Rank Newbie
Rank
Newbie

Yes, I just found out that pulseaudio was not running anymore due to my experiments to get the sound working...

Logging out/in fixed that problem.

Will try with a new config file now...

Reply 5 of 14, by verthezp

User metadata
Rank Newbie
Rank
Newbie

Made a new config file using "CONFIG -writeconf dosbox.conf" and started from that to make my tomb.conf configuration file. I verified that I still have sound in Rama, but for Tomb Raider the result is the same: no sound. Output on console:

DOSBox version 0.73
Copyright 2002-2009 DOSBox Team, published under GNU GPL.
---
CONFIG:Loading primary settings from config file tomb.conf
ALSA:Can't subscribe to MIDI port (65:0) nor (17:0)
MIDI:Opened device:oss

Reply 6 of 14, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

get pmidi
type
pmidi -l
you will get a a few midi ports
add the right one to the midiconfig= line in dosbox.conf

Water flows down the stream
How to ask questions the smart way!

Reply 7 of 14, by verthezp

User metadata
Rank Newbie
Rank
Newbie

OK, did that:

$ pmidi -l
Port Client name Port name
14:0 Midi Through Midi Through Port-0

Gives output at start:

DOSBox version 0.73
Copyright 2002-2009 DOSBox Team, published under GNU GPL.
---
CONFIG:Loading primary settings from config file tomb.conf
ALSA:Client initialised [14:0]
MIDI:Opened device:alsa

But still no sound (I kind of expected that, because I got the same midi errors in Rama, where I do have sound).

Reply 8 of 14, by robertmo

User metadata
Rank l33t++
Rank
l33t++

tomb raider doesn't support MIDI. It has cd audio music.

Reply 9 of 14, by MiniMax

User metadata
Rank Moderator
Rank
Moderator
robertmo wrote:

tomb raider doesn't support MIDI. It has cd audio music.

CD audio? That means verthezp should make a BIN/CUE-image combo and use IMGMOUNT, right?

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 10 of 14, by verthezp

User metadata
Rank Newbie
Rank
Newbie

But I suppose the in-game sounds, like shooting a revolver, have nothing to do with cd audio, but still I don't get them. Probably the videos in between parts of the game would use cd audio, but I'm not even really interested in that.

I have also used imgmount by the way (next to running directly from cd), but just an iso image of the data part of the cd.

Reply 11 of 14, by verthezp

User metadata
Rank Newbie
Rank
Newbie

Apparently I found the problem.

On an old Windows system, I still had Tomb Raider installed, and there I saw that the installer had copied the TOMB.EXE executable to C:\TOMBRAID along with some other files. On the dosbox in Linux however, C:\TOMBRAID only contained the saved configuration file HMISET.CFG (with the sound configuration that I did manually) after I ran the INSTALL.EXE. I always ran the TOMB.EXE executable from the cd or the mounted isoimage in dosbox.

Once I copied over the proper files, and ran TOMB.EXE from C:\TOMBRAID, sound was there.

I'm not sure why the installer did not install those files properly, but anyway, it works now.

Reply 12 of 14, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Hm could you please try to reproduce the problem, like doing the exact
installation steps for an empty mounted c-drive and see if it works under
windows but doesn't work under linux?

Reply 13 of 14, by verthezp

User metadata
Rank Newbie
Rank
Newbie

OK, I understand what happened now...

I had a long time ago already played Tomb Raider under dosbox. But for some reason I had removed the TOMBRAID directory in the mean time, but not the TOMBPATH.TXT file in the C: drive, which contains the path "C:\TOMBRAID". When the install program sees that file, it assumes everything is already installed, and only the sound configuration is retried (and doesn't really work at that time apparently).

On an empty C drive, that doesn't have that TOMBRAID.TXT file, everything works correctly: sound auto-detection works and everything is installed correctly.

Thanks for all the help!

Reply 14 of 14, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Thanks for reporting back!