Compile Quake III arena
Thursday, December 31, 2009 4:23:12 PM
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
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








Anonymous # Sunday, February 7, 2010 4:29:49 AM
luozhiyu # Sunday, February 7, 2010 5:34:50 PM
Originally posted by anonymous:
I thought it was detailed enough What kind of problem do you have?
Anonymous # Wednesday, May 11, 2011 1:21:06 PM