Compile Quake III arena

  Id software has released the source code of the legendary Quake III arena - probably one of the most influential FPS games for quite a while. Here is some instructions about how to compile and run it , with MS visual studio 2005 on windows.
  The source code can be downloaded from [here]
  you probably can find other sources with better speed on Internet by simply googling quake3-1.32b-source.zip. Before compiling it , you will also need those stuff:
  1.DirectX SDK.
  Quake 3 use it to deal with input. The latest one can be found at [here]
  2.Quake 3 arena game.
  The source code you downloaded doesn't contain the resources, like textures or BSP maps. Therefore , to run the game you need the Quake 3 game installed. You can easily buy an used CD from amazon, with minor price. [Link]
3.1.32 patch
  The source code mentioned above is at version 1.32, thus, the game installed needs to be 1.32 too. If you game is not with correct version, [here] is the patch for you
  So, after installing DX SDK, the game and also the patch, now you can unzip the source code. Open code/quake3.sln. Now visual studio will ask you to convert it to 2005 format. Click YES to proceed. Then CHANGE THE CONFIGURATION TO "DEBUG", this is very IMPORTANT as the default configuration is most likely "DEBUG_TA", which doesn't really run and compile with errors (primarily because the "ui" project is built).
  Set the quake 3 to "startup project", then build the solution. After the build is done, Open the project properties of quake 3, and change the Debugging->Command arguments to "+set fs_cdpath "C:\Program Files\Quake III Arena" ", note the path is where the game is actually installed, so you need to change it to fit your situation.
  Push "F5" to debug will launch the game, in order to debug it, one trick is go to "setup->system->Full screen" to set it to "off". Since the game changes the resolution of the screen, debugging with a low resolution is quite painful.
  Now, you have the game properly built and ready to debug, enjoy your trip of understanding the beautiful code there, as after all, it's presumably among the most well organized and written code in the world.


A screen shot that shows the quake 3 runs in wire frame mode

Something good for linux developing, find time to reread themBattle.net and starcraft

Comments

Anonymous Sunday, February 7, 2010 4:29:49 AM

Addfo writes: Hello, will not have a more detailed tutorial?

luozhiyu Sunday, February 7, 2010 5:34:50 PM

Originally posted by anonymous:

Anonymous 7. February 2010, 04:29

Addfo writes: Hello, will not have a more detailed tutorial?


I thought it was detailed enough What kind of problem do you have?

Anonymous Wednesday, May 11, 2011 1:21:06 PM

Anonymous writes: LOL carmacks code is notoriously the worst organised and unreadable (not because its too clever)

How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

If you can't read the words, press the small reload icon.


Smilies

February 2012
S M T W T F S
January 2012March 2012
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29