ContentsTableOfContents |
About
Actually [http://www.3drealms.com/duke3d/ Duke Nukem 3D] is a classical DOS game. But some years ago 3DReamls published the game's source code under the GPL. Some projects started to play around with it and released their improved versions of Duke. This turotial describes how to build and install [http://jonof.edgenetwork.org/index.php?p=jfduke3d JFDuke3D] under [http://debian.org Debian] GNU/Linux computer. I'm sure for all other Linux distribution it's the same procedure - so let's start.
Quick and dirty
Get [http://jonof.edgenetwork.org/index.php?p=downloads&cat=0 JFBuild source code 20051009]
- Extract it to $DIRECTORY
Change JFBuild's directory name to build
Get the [http://www.mephisto.ma.cx/mephisto/patches/jfbuild_src_20051009.patch sound patch]
Copy the patch to build and change to this directory
Apply the patch:
patch -p1 < jfbuild_src_20051009.patch
Get [http://www.fmod.org/fmoddownload.html#secb FMOD 3.75 Programmers API]
- Extract FMOD
Change to the FMOD directory and after that to api
Copy libfmod-3.75.so to /usr/local/lib
Create a symlink:
ln -s /usr/local/lib/libfmod-3.75.so /usr/local/lib/libfmod.so
Copy all the contents from FMOD's inc directory to /usr/local/include
- Change back to the JFBuild directory and build it with make
- Continue if this results in success
Get [http://jonof.edgenetwork.org/index.php?p=jfduke3d JFDuke3D source code 20051009]
- Extract it to $DIRECTORY
Get the other part of the [http://www.mephisto.ma.cx/mephisto/patches/jfduke3d_src_20051009.patch sound patch]
- Copy the patch to the JFDuke3D directory and change to it
Apply it:
patch -p1 < jfduke3d_src_20051009.patch
- Build it with make
If this results in success you need to copy duke3d.grp from a real Duke Nukem installation to your JFDuke3D directory:
Either you have an original CD or you can use a shareware version from [[http://www.3drealms.com/duke3d/ here]
You need to install [http://dosbox.sourceforge.net/ DosBox]:
apt-get install dosbox
- Start dosbox and install Duke
- After the installation you can shut down dosbox
Change to the Duke installation directory from dosbox and copy DUKE3D.GRP to the JFDuke3D directory - the file name have to be lowercase: duke3d.grp
Chnage to the JFDuke3D directory and start the game:
./duke3d