RutSum

January 25th, 2008

Dosbox in PCLinuxOS


I recently recieved a bunch of old games for DOS, from the Uncool Shitty, a school friend. So I came home, booted into PCLinuxOS, fired up Synaptic and installed Dosbox. The installation went fine, and I had Dosbox alright, but when I launched from the terminal, I saw this output -


[apoorv@localhost ~]$ dosbox
ALSA:Can’t subscribe to MIDI port (65:0)
MIDI:Opened device:oss

For some reason, ALSA wasn’t giving Dosbox access to the sound device.

Next, the screen resolution is set to some arbitrary constant called ‘original’. And there is a file, called dosbox.conf, which stores all your configuration and loads them when Dosbox is launched. It was nowhere to be found. After a lot of googling, I found out that in Linux, dosbox.conf is not created automatically, you have to create it. To do this, open up Dosbox, and type in -


Z:\>config -writeconf .dosboxrc

This will create a file named ‘.dosboxrc’ in your /home/USERNAME folder, which serves as your dosbox.conf.

After the creation of that file, Dosbox loads it autmatically when you run it.


[apoorv@localhost ~]$ dosbox
CONFIG:Loading primary settings from config file /home/apoorv/.dosboxrc
ALSA:Can’t subscribe to MIDI port (65:0)
MIDI:Opened device:oss

I finally edited it to give me a resolution of 400×300, which works best for older games, but unfortunately, while a game is running in the windowed mode (which is the default mode), and I press Alt+Enter (shortcut for full screen), Dosbox shuts itself down and sets the resolution in KDE to 400×300, renders my mouse useless, and I am forced to kill the X server by using Ctrl+Alt+Bckspace.

So I’m stuck with a Dosbox installation that doesn’t support sound, and at best can run games in a windowed mode which is so small that it makes your eyes hurt.

I need help.

P.S. BTW, if anyone wants to know which games I’m talking about, it’s good old Callus. Freely available for download, from here. We Indian boys are specially attached to the games, they remind us of our childhood and the dark video game parlours, where we used to buy coins, 2 for a rupee, and spend about 3-4 hours everyday, burning our eyes on those darned silly games. Gosh, I miss those days.


If you liked this post, or found it useful, don't forget to subscribe to my RSS feeds. Or you can get my posts delivered to your inbox directly, by subscribing to my feeds by email. Or maybe you'd like to know what I'm doing, by looking at my Jaiku badge. But I don't think you would be dumb enough to waste your time and have a look at what randomness I post on Twitter.




Leave a Comment

Tags: , , ,

This entry was posted on Friday, January 25th, 2008 at 10:01 pm and is filed under Open Source Is My Life. You can follow any responses to this entry through the RSS 2.0 feed.

People who read this post also read :

Shifting to a new distro

I have survived with PCLinuxOS 2007 for 5 months at a stretch, without any problems, and I think that is

Migration from Blogger to Wordpress

Shifting certainly hasn't been easy. You lose quite a lot of things while shifting, the most important thing being traffic.

PCLinuxOS GNOME Version

It's sad that the Texstar group was forced to do this, just because Canonical did it. Considering the success of

PCLinuxOS 2008 MiniME

MiniME is a small 'preview' version of PCLinuxOS 2008, it's a 279 MB live CD, with just the basics and

Installing Apple Safari On Linux (PCLinuxOS)

Apple released a new version of Safari, 3.1, about a week ago. After reading this article on Ars Technia, about