• Register

On May 1st 2019, VRDB.com and SlideDB.com were closed. We no longer support VR, AR, iOS or Android only games. We are focused on PC, console and moddable games. If this is your project and you would like to release it on IndieDB, please contact us with the details.

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.

Post tutorial Report RSS 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 on - 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

#ffffff url('http://3.bp.blogspot.com/-HiZ6R1u7rH4/TuO-8c-MkWI/AAAAAAAAAcw/nt4rtg8jKbE/s320/doombackground.jpg') no-repeat center top; background-size: 100%; -moz-box-shadow: inset 0 0 100px #ffffff; -webkit-box-shadow: inset 0 0 100px #ffffff; box-shadow: inset 0 0 100px #ffffff;">

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.

Post comment Comments
gmh_michael
gmh_michael - - 85 comments

thanks for the info!

Reply Good karma Bad karma+2 votes
gmh_michael
gmh_michael - - 85 comments

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

Reply Good karma Bad karma+3 votes
son_link
son_link - - 8 comments

Thanks for the info ^^

Reply Good karma Bad karma+1 vote
Urfoex
Urfoex - - 35 comments

Branch at
Github.com

has 64bit and cmake support.

Reply Good karma Bad karma+3 votes
OverlordKB
OverlordKB - - 1 comments

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

Reply Good karma Bad karma+1 vote
Jok3r098 Author
Jok3r098 - - 236 comments Reply Good karma0 votes
ice_trey
ice_trey - - 1,106 comments

yes thanks for the info :))

Reply Good karma Bad karma+1 vote
ozgurilgin
ozgurilgin - - 80 comments

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).

Reply Good karma Bad karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: