Monday, 12 August 2013

How to install Dangerous Dave in Ubuntu and other linux-based systems

Dave has been one of favourite games right from childhood. It had been a long time playing John Romero's ultimate creation and felt I should install it on my Ubuntu. So lets start rightaway!

First, we need wine, an application used to run programs designed to run on Windows-based platform to run on Linux-based Operating Systems like Ubuntu. Wine is available in Ubuntu repository, so we can install wine using

sudo apt-get install wine

Install dosbox using

sudo apt-get install dosbox

Get the Dangerous Dave compressed file from here:



Unzip the contents either by right-clicking on the file and clicking on "Extract" or using the following command:

unzip dave.zip

Now right-click on DAVE.EXE and choose open-with "Wine Windows Program Loader" or in the terminal type:

dosbox DAVE.EXE

and here you go!

Troubleshooting:

If you are getting the following error when trying to run DAVE.EXE from the terminal:

DOSBox version 0.74
Copyright 2002-2010 DOSBox Team, published under GNU GPL.
---
CONFIG:Loading primary settings from config file /home/jobin/.wine/dosdevices/c:/users/jobin/Temp/cfgbab4.tmp
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


Then you need to copy the contents of dave directory into your /home/.wine/drive_c/ using the following command:
cp /home/$USER/.wine/drive_c/