Building EDuke32 on Linux: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 21: Line 21:
-Adding the HRP (High Resolution Packages) <-- these are amazing and brings Duke Nukem 3d into the year 2000!
-Adding the HRP (High Resolution Packages) <-- these are amazing and brings Duke Nukem 3d into the year 2000!


-Adding sound
-Adding sound <-- As of the eduke32_src_20070905 files that I just built, the sounds works! WOO HOO! ;)




Line 47: Line 47:
Fedora needs some packages installed before you can properly build the required files. So, what files do you need? Under Yum Extender GUI or in a terminal window you need to install these files. Here's the list:
Fedora needs some packages installed before you can properly build the required files. So, what files do you need? Under Yum Extender GUI or in a terminal window you need to install these files. Here's the list:


# SDL
# SDL <-- I just installed SDL* (anything with the name SDL) to be safe and the sound seems to be working great!
# nasm
# nasm
# libstdc++
# libstdc++
Line 88: Line 88:


Running with HRP Notes:
Running with HRP Notes:
A WIP kind of like DNF. ;)

Revision as of 23:21, 4 December 2007

Prelude

All Linux distributions do pretty much the same things but a bit different. Below are some instructions for getting EDuke32 running on Fedora Core 6, 7, or 8.


Building EDuke32 on Fedora Core 6

Submitted By: Casey Mynott (bigjeep95) Jan 6, 2007 11:30pm (British Columbia, Canada)

Updated By: Jorge Silva (operon) Nov 9, 2007 9:58pm (Ontario, Canada)

Updated By: Casey Mynott (bigjeep95) December 4, 2007 10:20pm (British Columbia, Canada)


This information covers:


-Installation on Fedora Core 6, 7, and 8 with the latest EDuke32 source files

-Adding the HRP (High Resolution Packages) <-- these are amazing and brings Duke Nukem 3d into the year 2000!

-Adding sound <-- As of the eduke32_src_20070905 files that I just built, the sounds works! WOO HOO! ;)


Installation Notes:


1. You need an actual copy of Duke Nukem 3D. The shareware vesion can be found here. [1]

2. I had HUGE problems using my 128mb ATI graphics card. After I switched to an older 64mb nvidia card and used the LIVNA drivers life was great. So, use an NVIDIA graphics card and use the LIVNA repo to get your drivers. Maybe one day ATI and Linux will be friends but that day is not here.


Step #1 - You need to acquire and unzip the source packages for EDuke32.

You need both the eduke32 source and txbuild source files. Download them to your desktop from here. Once you have download them, you must unzip them into the same directory, as a result, you will have two folders: "eduke32_src_xxxx" and "txbuild_src_xxxx".


Step #2 - Rename folders on your desktop.

Rename the "eduke32_src_xxxx" folder to "duke3d" and the "txbuild_src_xxx" folder to "build". Why these names? Well, when you build the required EDuke32 files from the "duke3d" folder it looks into the "build" folder for required information.


Step #3 - Prepare Fedora Core 6 for the build process

Fedora needs some packages installed before you can properly build the required files. So, what files do you need? Under Yum Extender GUI or in a terminal window you need to install these files. Here's the list:

  1. SDL <-- I just installed SDL* (anything with the name SDL) to be safe and the sound seems to be working great!
  2. nasm
  3. libstdc++


Step #4 - Building the EDuke32 files.

In a terminal window move to the "duke3d" folder and type make.


Step #5 - Confirm that the following files were created.

  1. mapster32.map
  2. mapster32.sym
  3. mapster32 (executable)
  4. eduke32.map
  5. eduke32.sym
  6. eduke32 (exectuable)


Step #6 - Combine all the files.

You need to have the original Duke Nukem files and the newly created EDuke32 files in the same place. So, you could create a new folder on your desktop (example eduke32_linux) and copy the original game files and the newly created EDuke32 files there.


Step #7 - Run the game!

To run the game open up a terminal window, move to the proper directory and type:

./eduke32

If you have done everything correctly then the game should run great.


Error Note:

If you are using the Shareware files located on the 3D Realms website, after you build and combine all the files into one folder and try to run the game you will get an error about the TABLES.DAT file. To correct the error simply rename the DUKE3D.GRP to all lowercase letter. After that the game should run.


Running with HRP Notes:

A WIP kind of like DNF. ;)