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)

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

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 said:

thanks for the info!

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

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

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

Thanks for the info ^^

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

Branch at
Github.com

has 64bit and cmake support.

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

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
Jok3r098
Jok3r098 Jan 6 2012, 4:58pm said: 0 votes     reply to
ice_trey
ice_trey Jan 9 2012, 1:27am said:

yes thanks for the info :))

+1 vote     reply to
ozgurilgin
ozgurilgin Sep 7 2012, 2:38am said:

Does Pulse-audio related sound syncronisation problem exist for idoom3 version ?
I was having difficulties with the sound while uding id software's linux binary(run).

+1 vote     reply to
Post a Comment
click to sign in and comment

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Tutorial
Related Games
Doom III
Doom III Single & Multiplayer FPS
Related Engines
id Tech 4
id Tech 4 Commercial Released Aug 2, 2003
Related Groups
Activision
Activision Developer & Publisher
Linux Gamers
Linux Gamers Fans & Clans group with 2,922 members