Doubt about DOSBox

I tried DOSBox, which fortunately seems installed by default on openSUSE, at least on GNOME, for first time, with an old Apogee game called Hocus Pocus (childhood…). I managed to run it well, at least what I can say from the quick tests I did. But when trying to turn on music the game said “sound card needed for this”, or something like that. How can I activate sound or music on DOSBox?

Thanks…

F style wrote:
>
> I tried DOSBox, which fortunately seems installed by default on
> openSUSE, at least on GNOME, for first time, with an old Apogee game
> called Hocus Pocus (childhood…). I managed to run it well, at least
> what I can say from the quick tests I did. But when trying to turn on
> music the game said “sound card needed for this”, or something like
> that. How can I activate sound or music on DOSBox?
>
> Thanks…
>
>
sound plays out-of-box n my machine when i play this game
http://www.artsoft.org/RELEASES/msdos/rocksndiamonds/rocks310.zip

i run the game like this:-

dosbox ~/Downloads/rocks-3.1_0/rocks.exe


GNOME 3.6.2
openSUSE Release 12.3 (Dartmouth) 64-bit
Kernel Linux 3.7.10-1.16-desktop

Your way of running games actually helped me fairly (I used to do all manually: opened DOSBox, mounted in c: the game’s directory, and ran the game --old times…–).
In terminal I got some log which could describe the problem:

user@linux-loyv:~> dosbox ~/Documents/hocus-pocus/hocus.exe
DOSBox version 0.74
Copyright 2002-2010 DOSBox Team, published under GNU GPL.
---
CONFIG:Loading primary settings from config file /home/jc_lara/.dosbox/dosbox-0.74.conf
MIXER:Got different values from SDL: freq 44100, blocksize 512
ALSA:Can't subscribe to MIDI port (65:0) nor (17:0)
MIDI:Opened device:none

Now that I think about it, most of DOS games used MIDI for sound, didn’t they? But anyway, do you have actually Timidity installed?

F style wrote:
>
> Your way of running games actually helped me fairly (I used to do all
> manually: opened DOSBox, mounted in c: the game’s directory, and ran the
> game --old times…–).
> In terminal I got some log which could describe the problem:
>
> Code:
> --------------------
> user@linux-loyv:~> dosbox ~/Documents/hocus-pocus/hocus.exe
> DOSBox version 0.74
> Copyright 2002-2010 DOSBox Team, published under GNU GPL.
> —
> CONFIG:Loading primary settings from config file /home/jc_lara/.dosbox/dosbox-0.74.conf
> MIXER:Got different values from SDL: freq 44100, blocksize 512
> ALSA:Can’t subscribe to MIDI port (65:0) nor (17:0)
> MIDI:Opened device:none
> --------------------
>
> Now that I think about it, most of DOS games used MIDI for sound, didn’t
> they? But anyway, do you have actually Timidity installed?
>
>

I did have timidty but un-installed it and tried the game I mentioned
earlier,I get similar messages as you but sound “does” work in my game:)
No special configuration done. Dosbox takes care of all those things I
guess. you can optionally try the game I have mentioned and check
whether sound works . The download size is about 3.4 MB


$dosbox ~/Downloads/rocks-3.1_0/rocks.exe
DOSBox version 0.74
Copyright 2002-2010 DOSBox Team, published under GNU GPL.
---
CONFIG:Loading primary settings from config file
/home/dartmouth/.dosbox/dosbox-0.74.conf
MIXER:Got different values from SDL: freq 44100, blocksize 512
ALSA:Can't subscribe to MIDI port (65:0) nor (17:0)
MIDI:Opened device:none
DOSBox switched to max cycles, because of the setting: cycles=auto. If
the game runs too fast try a fixed cycles amount in DOSBox's options.
$


GNOME 3.6.2
openSUSE Release 12.3 (Dartmouth) 64-bit
Kernel Linux 3.7.10-1.16-desktop

Oh, sfx sound (or sound effects, if I could call them that way) does work. What doesn’t is music. Game says “a sound card is needed for music”. Installed Timidity but didn’t work. In fact I get the same terminal log.
Game here:
Download Hocus Pocus - My Abandonware

F style wrote:
>
> Oh, sfx sound (or sound effects, if I could call them that way) does
> work. What doesn’t is music. Game says “a sound card is needed for
> music”. Installed Timidity but didn’t work. In fact I get the same
> terminal log.
> Game here:
> ‘Download Hocus Pocus - My Abandonware’
> (http://www.myabandonware.com/game/hocus-pocus-1vp)
>
>
Success!Yipee! with hocus pocus has been achieved. i have sound :slight_smile:

we seem to have forgotten as to how old DOS games work :frowning:
we should “setup” our sound first using setup executable and then go on
to play the game.


GNOME 3.6.2
openSUSE Release 12.3 (Dartmouth) 64-bit
Kernel Linux 3.7.10-1.16-desktop

Well, actually my uncle did all the installing stuff back then and just let me play… When I began learning computing those times were already passing to history…

In setup.exe, for either Music sound and SFX sound I’m given several choices. Guess I must select a sound card to begin with. But I’m not sure how to check what sound card I have on my system… Also, what options do you pick when asked in SFX sound how many voices and what quality?

F style wrote:
>
> Well, actually my uncle did all the installing stuff back then and just
> let me play… When I began learning computing those times were already
> passing to history…
>
> In setup.exe, for either Music sound and SFX sound I’m given several
> choices. Guess I must select a sound card to begin with. But I’m not
> sure how to check what sound card I have on my system… Also, what
> options do you pick when asked in SFX sound how many voices and what
> quality?
>
>
Sorry,for not explaining stuff. I Guess it not “so” obvious after all.
Here is a detailed explanation :-

As soon as you run the command dosbox from terminal/konsole you should
have noticed the clue. There is only one choice that one can ideally
make. The default sound card for dosbox is as shown/Highlighted in the
picture below. Soundblaster :slight_smile:

http://img.susepaste.org/view/raw/30182639

Now proceeding to setup
==>start dosbox

dosbox

==>inside dosbox mount the game folder as c: and change to c:


mount c: ~/Downloads/hocus-pocus
c:

==>run setup.exe and configure


setup.exe

*Select Music card ==> Sound blaster
*Select Sound Effects card ==> Sound blaster ==> select number of voices
==> Four(default) ==>16bits
*Select Controller ==>Keyboard
*Finally “Save settings”

==>Play game by running command hocus. You should hear weird sounds and
ghoulish laughter when game starts

Happy gaming

From next time you play game no mounting required. Play using command

dosbox ~/Downloads/hocus-pocus/hocus.exe


GNOME 3.6.2
openSUSE Release 12.3 (Dartmouth) 64-bit
Kernel Linux 3.7.10-1.16-desktop

Thanks very much again, mr Vazhavandan!

Just as the DOSBox wiki says about sound, back in those times sound devices were not “standardized”. Games or software had to include separate support for different sound devices, and since each one had its own features games could sound different according to device. With Hocus Pocus happened something similar with Monster Bash (another from Apogee), with sound configured it sounded different than MIDI-like.

By the way, instead of entering setup.exe manually I just did “dosbox ~/Documents/hocus-pocus/setup.exe” and it worked. Was there actually a difference by doing manually?

Oh, if only I was a bit expert back then, I’d probably have enjoyed those times more…

you are welcome.

I am not sure if dosbox supports/can emulate various types of sound cards. That would be an interesting research. Did you find any documentation about the types of sound cards dosbox can emulate ?

Not much of difference, i guess . I just auto-mounts “~/Documents/hocus-pocus/” as c: which is really convenient.

Now that I think about it I remember playing “prince of persia” on a black & white CRT screen :slight_smile: long, long ago.

My next task would be to investigate a way to create a launcher for a dosbox+game so that i can open the game by just clicking on a icon in GNOME Shell==> Activities

Actually it does.
Sound - DOSBoxWiki

On 2013-10-18 17:46, F style wrote:
> Oh, if only I was a bit expert back then, I’d probably have enjoyed
> those times more…

I’m curious.

Are you playing old original msdos games, or “modernized” versions? I
ask because I have a few original games on CDs, and I wonder if they can
still be played. Some of those games relied on special copy protections
on the CD or floppy.

If you know of a documentation link about this, please post it :slight_smile:


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

I was never DOS expert, but the games posted in this thread don’t look like “modernized”. You could check by downloading them though…

Regarding copy protection, I didn’t find something related in DOSBox’s Wiki after a quick search. Would be a matter of trying the games you have…

On 2013-10-18 23:36, F style wrote:
>
> I was never DOS expert, but the games posted in this thread don’t look
> like “modernized”. You could check by downloading them though…
>
> Regarding copy protection, I didn’t find something related in DOSBox’s
> Wiki after a quick search. Would be a matter of trying the games you
> have…

Oh well… looks like something to do on one of those boring nights…

:slight_smile:


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)