Quake 2 is another classic from id software.While not modded quite as much as it's predecessor or Q3A, it is still a blast to play and the mod's on offer are bundles of fun. Just step into Quake 2 Rocket Arena, armed with the new and almighty rocket and rail gun and you will be gibbing for hours on end.If you dig fast paced action, then load up the good ole Quake 2, fire up a mod or two and have some fun!

Post tutorial Report RSS Getting Started - Compiling Sourcecode

Before you start jumping into making your own patches and stuff, take a look at the .dll Central language tutorials listings, so you can familiarize yourself with C. If you already know C, then take a look at the Quake2 tutorials section to get an idea of what can be done. After taking a look at what has been done, think of a cool idea you would like to see and start coding!

Posted by on - Basic Starting a mod


Getting a Compiler

In order to compile the gamex86.dll sourcecode, you need to get a compiler. There are alot of compilers out there - head on over to the .dll Central Compilers section for a list of compilers that can compile Win32 .dlls.

Getting the Sourcecode| thank you Id :)

To compile the sourcecode, you need to get it first. Go here to find the latest source.

Compiling the Sourcecode| making your compiler do its job

Each compiler has its own steps to go thru in order to compile the .dll.

Compiling the sourecode to gamex86.dll

1. If you're reading this, I assume you have already gotten ahold of the latest gamex86.dll sourcecode. Once you have it, just run the .exe file and it will extract the Quake2 source to "Quake2\src".

2. Create a directory in your Quake2 folder to serve as your modification folder (like "Quake2\mymod\"), and copy into it the src folder the q2src###.exe created. There are a bunch of .c, .h, a .def, and a few other files in there now. Those are the sourcecode to gamex86.dll.

3. Compiling the sourcecode will require different steps depending on which compiler you are using. The tutorials below show how to do everything needed to compile the gamex86.dll with each compiler. Once you have everything set, and you have produced a gamex86.dll, check out step four.

Borland C++ 5.02 Compiling gamex86.dll Borland C++ BuilderCompiling gamex86.dllMetrowerks CodeWarriorCompiling gamex86.dllMicrosoft Visual C++Compiling gamex86.dllMingw32Compiling gamex86.dllWatcom C/C++ 11.0Compiling gamex86.dll

4. After you start Quake2, type "set game mymod" into the console. You can also add "+set game mymod" to the command line. Things will probably go fine - if not let us know what is going wrong and we will try and help.

Making Changes| here's the fun part!

Before you start jumping into making your own patches and stuff, take a look at the .dll Central language tutorials listings, so you can familiarize yourself with C. If you already know C, then take a look at the Quake2 tutorials section of Inside3D to get an idea of what can be done. After taking a look at what has been done, think of a cool idea you would like to see and start coding!

If you come up with something you think is cool, let us know about it - we'd love to post it!


Post comment Comments
Guest
Guest - - 688,627 comments

Hi , thank you for this article. I'm looking for ID's util , I can find this , I search in many many websites but all the links are brokens. So , this is very important if you want to make a mod , do you know where I can find it? thank you again :)

Reply Good karma Bad karma0 votes
Reshirom200
Reshirom200 - - 52 comments

1

Reply Good karma Bad karma+1 vote
Guest
Guest - - 688,627 comments

Compiling is not working, because makefile contains errors. For example: there is no "cl_demo.o" file.

Reply Good karma Bad karma+1 vote
recsin
recsin - - 1 comments

hi.
i am very new about this sector.
i wanna play all stuff of quake 2 game on pc.
i am jumping everywhere but i cant find where to begin which file must be installed.
please help where to begin
thank you:)

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: