PDA

View Full Version : How-to: DOSBOX with Roland MT32 sound emulation


mia1dolfan
March 19th, 2008, 12:32 PM
This installs a virtual alsa sequencer device which will emulate Roland MT-32. This is required to obtain proper sound in legacy DOS applications.

1. Download and install the attached Debian package below, compiled with Ubuntu Gutsy Gibbson.

dpkg -i mt32emu-0.1.3.20070304_i386.deb

I am assuming you already have dosbox installed and don't need to 'apt-get install dosbox'

2. Configure DOSBOX to use the Alsa midi MT-32 sequencer

2a: Find out what the client # the alsa midi sequencer registered as, probably 128, unless you some other software MIDI sequencers (like timidity)

cat /proc/asound/seq/clients | grep MT-32

2b: Copy the sample dosbox.conf.example.gz to your home directory

gunzip --stdout /usr/share/doc/dosbox/dosbox.conf.example.gz >~/dosbox.conf

2c: Modify ~/dosbox.conf with your favorite editor

Ubuntu:
gedit ~/dosbox.conf
Kubuntu:
kate ~/dosbox.conf
Console:
editor ~/dosbox.conf

Modify the line close to line #88 from

config=

to... (replace 128 with the client # obtained from step 2a)

config=128:0

Save the changes...

3. Launch dosbox. If you launch dosbox from a console, you should see messages similar to...

CONFIG:Loading primary settings from config file dosbox.conf
ALSA:Client initialized [128:0]
MIDI:Opened device:alsa


4. Configure your DOS application to use Roland MT-32

You can also use this with other MIDI applications, like kmid - using "GM Emulation" MIDI device

That's all folks!

:guitar: