The Wombelix Post

No Sound in DOSBox on Linux

December 6, 2019 ยท

DOSBox on Linuxto play old DOS Games

I installed DOSBox to play some old DOS Games like Discworld on Linux (openSUSE Tumbleweed) but didn’t had sound prior figure out the correct MIDI Port and adjusting the dosbox config accordingly.

Due to the fact that i installed Unreal Tournament from 1999 already (successful!) on my Linux Notebook, it’s obvious that i had to do the same with some even older Games too ๐Ÿ˜€

I thought executing “pmidi -l” would show the correct MIDI Port, but at least in my case, further steps were necessary.

The troubleshooting approach described in the AskUbuntu Forum is my favorite and did the trick.

You have to Download a test MIDI File, start a MIDI Server, start the playback and if you have audio, put the correct Port into your dosbox config.

zypper install timidity
zypper install pmidi

cd /tmp
wget http://www.angelfire.com/fl/herky/images/teddybear.mid

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

timidity -iA
    Requested buffer size 32768, fragment size 8192
    ALSA pcm 'default' set buffer size 32768, period size 8192 bytes
    TiMidity starting in ALSA server mode
    Opening sequencer port: 128:0 128:1 128:2 128:3

pmidi -p 128:0 teddybear.mid

In my case, pmidi identified Port “14:0” but based on the test with timidity i have to use “128:0” instead.

So i changed the corresponding parameter in my dosbox config:

[midi]
...
midiconfig=128:0

When you start dosbox from the console, you should see something like the following an hear the nicest MIDI sound when starting an old Game ๐Ÿ˜‰

[...]
ALSA:Client initialised [128:0]
MIDI:Opened device:alsa
[...]

I will play around with ScummVM as well within the next days, so i’m quite sure further Posts regarding some sort of gaming on Linux will follow soon!

Newer Post

Accessing SMB Share on old NAS failed from Linux

Sometimes it can be challenging to use some old Hardware. In my case I found an old Buffalo LinkStation NAS (LS-WTGL) from around 2008. Connecting from an up-to-date openSUSE System surprisingly failed with the Error Message "Unable to initialize messaging…
Read
Older Post

Unreal Tournament (UT99) on openSUSE Tumbleweed Linux

To be honest, i didn't played Unreal Tournament from 1999 for years but after i found the Game CD, i just had to install and play it on my Linux Notebook :D Update #2 - 2019/12/06 TL;DR Summary how to…
Read
Random Post

ScummVM did the trick!

After playing around with DOSBox a while ago i gave ScummVM a try and actually it couldn't be easier. I picked Discworld II and after adding it i could just start it without changing any settings at all, impressive. I'm…
Read
Random Post

Apple AirPods on Linux?

I was wondering if my Apple AirPods would work on openSUSE Linux out of the Box. Just enable pairing mode, click on connect and all fine? Not exactly, it failed with the default settings and some additional Steps were necessary.…
Read
Random Post

sigh - Google buys Fitbit

Jon Erlichman posted on Twitter (https://twitter.com/JonErlichman/status/1190252267406069760) that Google is going to buy Fitbit $2.1 billion. Except the price, Google announced it today as well (https://blog.google/products/hardware/agreement-with-fitbit). We will see what the acquire actually mean for Fitbit and if Google just got…
Read
Random Post

Merge PDF Files on Linux

I had to use Cups-PDF and "Print" bunch of Pages to Single PDF Files due to the fact that no Download as PDF was possible. But how to Merge tons of files named as "Pagetitle-job_id{Number}" on Linux via commandline in…
Read

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: