3783
Kommentar:
|
3815
converted to 1.6 markup
|
Gelöschter Text ist auf diese Art markiert. | Hinzugefügter Text ist auf diese Art markiert. |
Zeile 1: | Zeile 1: |
[[TableOfContents]] | <<TableOfContents>> |
Zeile 3: | Zeile 3: |
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. I'm sure for all other Linux distribution it's the same procedure - so let's start. | 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. I'm sure for all other Linux distribution it's the same procedure - so let's start. |
Zeile 6: | Zeile 6: |
1. Get [http://jonof.edgenetwork.org/index.php?p=downloads&cat=0 JFBuild source code 20051009] | 1. Get [[http://jonof.edgenetwork.org/index.php?p=downloads&cat=0|JFBuild source code 20051009]] |
Zeile 9: | Zeile 9: |
1. Get the [http://www.mephisto.ma.cx/mephisto/patches/jfbuild_src_20051009.patch sound patch] | 1. Get the [[http://www.mephisto.ma.cx/mephisto/patches/jfbuild_src_20051009.patch|sound patch]] |
Zeile 13: | Zeile 13: |
1. Get [http://www.fmod.org/fmoddownload.html#secb FMOD 3.75 Programmers API] | 1. Get [[http://www.fmod.org/fmoddownload.html#secb|FMOD 3.75 Programmers API]] |
Zeile 24: | Zeile 24: |
1. Get [http://jonof.edgenetwork.org/index.php?p=jfduke3d JFDuke3D source code 20051009] | 1. Get [[http://jonof.edgenetwork.org/index.php?p=jfduke3d|JFDuke3D source code 20051009]] |
Zeile 26: | Zeile 26: |
1. Get the other part of the [http://www.mephisto.ma.cx/mephisto/patches/jfduke3d_src_20051009.patch sound patch] | 1. Get the other part of the [[http://www.mephisto.ma.cx/mephisto/patches/jfduke3d_src_20051009.patch|sound patch]] |
Zeile 32: | Zeile 32: |
1. Either you have an original CD or you can use a shareware version from [[http://www.3drealms.com/duke3d/ here] 1. You need to install [http://dosbox.sourceforge.net/ DosBox]:{{{ |
1. Either you have an original CD or you can use a shareware version from [[[http://www.3drealms.com/duke3d/|here]] 1. You need to install [[http://dosbox.sourceforge.net/|DosBox]]:{{{ |
Zeile 44: | Zeile 44: |
There are several versions of Duke3D for Linux. I didn't had success to build the one from [http://icculus.org/duke3d/ icculus] so I tried [http://jonof.edgenetwork.org/index.php?p=jfduke3d JFDuke3D]. | There are several versions of Duke3D for Linux. I didn't had success to build the one from [[http://icculus.org/duke3d/|icculus]] so I tried [[http://jonof.edgenetwork.org/index.php?p=jfduke3d|JFDuke3D]]. |
Zeile 46: | Zeile 46: |
You need JonoF's Build Engine Port or [http://jonof.edgenetwork.org/index.php?p=jfbuild JFBuild] to compile the game. To compile JFBuild you need [http://www.fmod.org/fmoddownload.html#secb FMOD 3.75 Programmers API] that doesn't come as a Debian package. | You need JonoF's Build Engine Port or [[http://jonof.edgenetwork.org/index.php?p=jfbuild|JFBuild]] to compile the game. To compile JFBuild you need [[http://www.fmod.org/fmoddownload.html#secb|FMOD 3.75 Programmers API]] that doesn't come as a Debian package. |
Zeile 53: | Zeile 53: |
* [http://ubuntuforums.org/showthread.php?s=6695f0b7a858ad6f3adaa3367d761065&t=187396&page=2 A similar tutorial] * [http://hrp.duke4.net/ High Resolution Pack] with better graphics |
* [[http://ubuntuforums.org/showthread.php?s=6695f0b7a858ad6f3adaa3367d761065&t=187396&page=2|A similar tutorial]] * [[http://hrp.duke4.net/|High Resolution Pack]] with better graphics |
Inhaltsverzeichnis
About
Actually 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 JFDuke3D under Debian GNU/Linux. I'm sure for all other Linux distribution it's the same procedure - so let's start.
Quick and dirty
- Extract it to $DIRECTORY
Change JFBuild's directory name to build
Get the sound patch
Copy the patch to build and change to this directory
Apply the patch:
patch -p1 < jfbuild_src_20051009.patch
- 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
Maybe you need some libraries to build it:
apt-get install libsdl1.2-dev libsdl-mixer1.2-dev nasm
- Change back to the JFBuild directory and build it with make
- Continue if this results in success
- Extract it to $DIRECTORY
Get the other part of the 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 here
You need to install 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
Change to the JFDuke3D directory and start the game:
./duke3d
Your hear sound but no music?
apt-get install timidity freepats
Want to know what you are doing?
There are several versions of Duke3D for Linux. I didn't had success to build the one from icculus so I tried JFDuke3D.
You need JonoF's Build Engine Port or JFBuild to compile the game. To compile JFBuild you need FMOD 3.75 Programmers API that doesn't come as a Debian package.
Because there are some troubles with sound output on Linux you need to patch JFDuke3D and JFBuild. After all this steps and installation of some dev-packages from Debian you can start to build JFDuke3D.
Finally you need to copy the data file from a real Duke3D installation to you JFDuke3D directory. That's it.
Links
High Resolution Pack with better graphics
- there is also a Debian package containing JFDuke3D - but it didn't worked for me