First post, by weirdnose
To play those old gems you need a modified version of dosbox. Modifying dosbox is not too hard and I try to be as clearly as possible.
First of all, I take no responsibility for the health of your system. Use this tutorial at your own risk! You have been warned.
You have to be sudo/root for parts of this tutorial. And also, of course, you need an acclerated card. To make sure that you're system is ready to roll check with the command glxinfo | grep rendering. If it says direct rendering: Yes then you're off to go! If it says no, please find out first how to install accleration on your system.
If you ever run into trouble because a command is not to be found, just check if you can get it by apt-get. E.g. sudo apt-get install patch
Oh, and it looks longer than it actually takes!
- Get build tools
sudo apt-get install libsdl1.2-dev libsdl-sound1.2-dev libsdl-net1.2-dev libpcap-dev build-essential cvs
- Get current OpenGLide version
If you have a problem with make (an error in gbanner.cpp) open the file, search for include <glide.h> and replace it with include <sdk2_glide.h>. Now enter make clean and then make.
cvs -d:pserver:email@example.com:/cvsroot/openglide login
(When asked for a password, just press Enter)
cvs -z3 -d:pserver:firstname.lastname@example.org:/cvsroot/openglide co -P openglide
sudo apt-get install autoconf libtool
sudo make install
- Get dosbox version
Since the patch is available for the 0.73 version, you just have to download the dosbox source file for that version. Here is the link:
http://sourceforge.net/project/downloading.ph … r.gz&a=58875563
- Get patch out of forum
Go to this topic and download both files. Put the patch one folder higher than the dosbox folder. Make sure your dosbox folder is called dosbox.
- Apply patch
This should run through without any problems. If not, make sure you have the right cvs version (from the exactly date) and you are one folder level higher than the dosbox folder.
cat dosbox_glide.diff | patch -p0
- Compile dosbox
Change into the dosbox folder.
Now you have a glide enabled dosbox version on your Linux machine, installed and ready to use! But before we really start off, there are a few settings which have to be checked first.
./configure CPPFLAGS="-I /usr/local/include/openglide/"
sudo make install
- Start dosbox
It is important that you use the OpenGLide library libglide2x.so and not the one provided from the system. To do that, you have to execute the following line first before starting dosbox.It is also possible to put both commands into one line if you would like to make a start menu entry.
dosboxYou have to use this every time, otherwise the OpenGLide libraries cannot be found.
- Write configure file
In dosbox, use the commandto write the config file. There is now a dosbox.conf in your current folder. Only if you start dosbox out of this folder you get the configuration. If you want to have this configuration enabled always, copy the file to ~/.dosboxrc
CONFIG -WRITECONFIG dosbox.conf
- Check Glide is enabled
Exit dosbox and check in dosbox.conf if in the section [glide] it says glide=true
- Install glide2x.ovl
Now you have to extract the glide2x.ovl file into the game folder and into the folder where you will start dosbox. Make sure (!) that you rename the file to lowercase with rn Glide2x.ovl glide2x.ovl, otherwise the wrapper cannot find the file!
- Start dosbox again
Start dosbox again (don't forget the LD_LIBRARY_PATH command if you are in a new shell)
- Start the game!
Change into your favorite game folder, make sure you are starting the 3dfx version and enjoy!
1 Q It says "Can't find or access Banshee/V3 board"
1 A Your system supports Voodoo cards natively. This means that you have a libglide2x.so in your /usr/lib folder. Make sure you do export LD_LIBRARY_PATH=/usr/local/lib before running dosbox so dosbox knows where to look.
2 Q The patching of dosbox doesn't work - some hooks or so
2 A Make sure you check out the version with the date provided - copy the command is the easiest choice.
And that's all for now! I hope you enjoy playing those classics and using dosbox as an alternative to Glidos. Anyway, dosbox patched seemed to be the only way to run 3dfx DOS games on Linux. If you enjoyed this you can also always take a look into my blog - just use the address below. And it may be the only way to play DOS games on Linux, but at least there is a way!
20.06.2009 - Updated to 0.73 instructions