A massive demonic invasion has overwhelmed the Union Aerospace Corporation's Mars Research Facility, leaving only chaos and horror in its wake. As one of only a few survivors, you must fight your way to hell and back against a horde of evil monsters.

RSS Feed Building the doom3 source code on linux (Ubuntu)

So i'm sure you know that the Doom3 source code was recently released under GPL. after the legal problems that they faced with the comically named Carmacks Reverse and Creatives Patent upon it. So reading this you're probably thinking to yourself "It cant be that hard, all other F/OSS source code could be compiled with the 'Make' command". Its not quite the same with this. It uses an alternative called 'scons' (www.scons.org)

Posted by Jok3r098 on Jan 1st, 2012
Basic Client Side Coding.

Building the Doom 3 Source Code on Linux

 iodoom3 may be a better solution for you  , Also their documents on compiling under linux are newer, better, and cover the discrepancies between different distros


So i'm sure you know that the Doom3 source code was recently released under GPL. after the legal problems that they faced with the comically named Carmacks Reverse and Creatives Patent upon it.


So reading this you're probably thinking to yourself "It cant be that hard, all other F/OSS source code could be compiled with the 'Make' command".

Its not quite the same with this. It uses an alternative called 'scons' (www.scons.org)


"SCons is a software construction tool—that is, a superior alternative to the classic "Make" build tool that we all know and love." And fortunatley it is not all that hard to use either.


If you opted to download the zip / tar.bz2 archive rather than using git then feel free to extract that now if you havent already


To install it in any debian based distribution of linux simply open yourself up a terminal (Ctrl+Alt+T on Ubuntu) and type this:

sudo apt-get install scons

(If it prompts you that 'This will take up an extra XX of diskspace' just press Y and continue)

once the installation has finished you will need to install some prerequisites needed in order to actually compile the source code. If you tried to compile it as it is now you may get some errors depending on the sorts of things you have done on your computer before.

Install the following like this;

sudo apt-get install libxxf86vm-dev libasound2-dev libopenal-dev freeglut3-dev

Please bear in mind that i may have missed some and may have one too many ( i installed these and that fixed the errors about missing header files, it may not be as easy for you depending on your setup ) Also i dont know whether any of these need extra software packages adding if you are on a distro other than ubuntu


After doing all of that you're ready to compile move into your doom sourcecode directory and compile it like this

cd {{DOOMSOURCE_DIRECTORY}}/neo
 scons BUILD="release"

So now that you have the iDTech Engine you will need content. this is where you could reverse engineer the whole thing and create the content from scratch.. or copy Dooms 'base' folder into the newly created one.

Comments
gmh_michael
gmh_michael Jan 1 2012, 6:42pm says:

thanks for the info!

+2 votes     reply to comment
gmh_michael
gmh_michael Jan 1 2012, 7:20pm says:

i still got errors when i compiled tho. i'll just wait for iodoom3 :P

+3 votes     reply to comment
son_link
son_link Jan 2 2012, 2:21pm says:

Thanks for the info ^^

+1 vote     reply to comment
Urfoex
Urfoex Jan 3 2012, 5:19am says:

Branch at
Github.com

has 64bit and cmake support.

+3 votes     reply to comment
OverlordKB
OverlordKB Jan 15 2012, 1:35pm replied: Online

Before you get too excited, the aforementioned github repo is no longer the 'project.' He moved it for some reason and you can't even compile it, I think. The new one is: Github.com

+1 vote     reply to comment
Jok3r098
Jok3r098 Jan 6 2012, 4:58pm says: 0 votes     reply to comment
ice_trey
ice_trey Jan 9 2012, 1:27am says:

yes thanks for the info :))

+1 vote     reply to comment
Post a Comment

Only registered members can share their thoughts. So come on! Join the community today (totally free) and do things you never thought possible.

Track this game Profile
Icon
Doom III
Platforms
Windows, Mac, Linux, XBOX
Developer
id Software
Publisher
Activision
Engine
id Tech 4
Contact
Send Message
Official Page
Doom3.com
Release Date
Released Jul 31, 2004
Game Watch
Track this game
Tutorial
Related Games
Doom III
Doom III Single & Multiplayer First Person Shooter
Related Engines
id Tech 4
id Tech 4 Commercial Released Aug 2, 2003
Related Groups
Linux Gamers
Linux Gamers Fanboys & Clans group with 2,535 members
id Software
id Software Developer & Publisher
Activision
Activision Developer & Publisher