Quake II Source Code

As he seemingly does every alternate year, id Software's John Carmack has released the source code of an older engine, for an update to his .plan announces the availability of the Quake II source code as an early Christmas present. Here is the scoop:
The Quake 2 source code is now available for download, licensed under the GPL.

ftp://ftp.idsoftware.com/idstuff/source/quake2.zip

As with previous source code releases, the game data remains under the original copyright and license, and cannot be freely distributed. If you create a true total conversion, you can give (or sell) a complete package away, as long as you abide by the GPL source code license. If your projects use the original Quake 2 media, the media must come from a normal, purchased copy of the game.

I'm sure I will catch some flack about increased cheating after the source release, but there are plenty of Q2 cheats already out there, so you are already in the position of having to trust the other players to a degree. The problem is really only solvable by relying on the community to police itself, because it is a fundamentally unwinnable technical battle to make a completely cheat proof game of this type. Play with your friends.
Update: We now have a local copy with mirrors of the 1.4 MB download.
View : : :
31 Replies. 2 pages. Viewing page 1.
Newer [  1  2  ] Older
31.
 
Re: so... erm..
Jan 19, 2002, 13:33
anon@216.150
31.
Re: so... erm.. Jan 19, 2002, 13:33
Jan 19, 2002, 13:33
anon@216.150
 
The source release, both versions, is HEAVILY commented and very nicely laid out. It's a nicer package than all the previous code releases.

Here's the rub: Q2 runs very nicely in GL on many many machines, emulating when it has to and amazingly keeping a decent framerate. It is very simple graphically, very basic in functionality, but a standing example of why John Carmack's well known speech on the subject of OpenGL vs D3D applies only to John Carmack and those willing to approach the API in the same way.

OpenGL is poorly supported, or not supported, by MANY video cards, even in current OEM systems. Yet Quake 2 will run at playable speeds using practically any of them, and a dated processor, with emulated (software) enhancements. EVERY patch to the GL renderer I have seen yet from the community thus far BREAKS IT on MANY system configurations. A lot of supposed "professional OpenGL programmers" who criticize Mr. Carmack's approach are responsible for OpenGL implementations that DO NOT RUN AT ALL, HAVE MAJOR GRAPHICAL PROBLEMS and/or CAUSE OTHER SERIOUS PROBLEMS on many many system configurations.

If for no other purpose these source releases should serve as an example, especially to those who hang on every word the man speaks, of what Mr. Carmack intended by his support of the OpenGL API. Q3A also has unprecedented support for a broad range of hardware, likely using similar methods of emulation, though the processing requirements rise respectively.

I hope this post gets read by a few people, and that at least one decent programmer takes it to heart. Alas, it will more likely only generate flames.
30.
 
thanks John Carmack
Jan 1, 2002, 03:21
anon@200.64
30.
thanks John Carmack Jan 1, 2002, 03:21
Jan 1, 2002, 03:21
anon@200.64
 
Programming is not a zero-sum game. Teaching something to a fellow programmer doesn’t take it away from you. I’m happy to share what I can, because ’m in it for the love of programming. The Ferraris are just gravy, honest!

John Carmack.
Michael Abrash black book
29.
 
Re: what the hell?
Dec 28, 2001, 14:42
29.
Re: what the hell? Dec 28, 2001, 14:42
Dec 28, 2001, 14:42
 
i've tried all the links. is it just me that can't get the source code?
The old distribution has been superseded with the latest one: http://www.bluesnews.com/files/idstuff/source/q2source-3.21.shtml

-- Frans
News editor, http://www.bluesnews.com/
3D Gamers admin, http://www.3dgamers.com/
-- Frans
Avatar 1258
28.
 
Re: Death
Dec 28, 2001, 13:47
anon@24.20
28.
Re: Death Dec 28, 2001, 13:47
Dec 28, 2001, 13:47
anon@24.20
 
HL is 40% quake(1) code and %60 new code. It's based on quake, not quake2.
27.
 
what the hell?
Dec 28, 2001, 13:20
anon@202.123
27.
what the hell? Dec 28, 2001, 13:20
Dec 28, 2001, 13:20
anon@202.123
 
i've tried all the links. is it just me that can't get the source code?
26.
 
Re: Death
Dec 26, 2001, 14:48
26.
Re: Death Dec 26, 2001, 14:48
Dec 26, 2001, 14:48
 
Lighting in HL is completely different than Quake 2.

As far as I know, there is NO Q2 code in HL.

Everyone stop whining - games get old.

And this is a dream come true for me. I've been waiting to read this code for years.

-tAE-

Avatar 473
25.
 
No subject
Dec 26, 2001, 07:14
25.
No subject Dec 26, 2001, 07:14
Dec 26, 2001, 07:14
 
He should have included documentation that says this is a virus...

24.
 
No subject
Dec 26, 2001, 06:11
anon@213.64
24.
No subject Dec 26, 2001, 06:11
Dec 26, 2001, 06:11
anon@213.64
 
Well if I was releasing any of my code I would also supply documentation. Yeah I can read and understand the code but it helps to have docs also (if there are any). Sure its free code but doesnt mean to say that quality in the releases should drop because of that. So, acting a big dick and saying stuff like that is just plain dumb.
23.
 
Re: Whatever
Dec 25, 2001, 22:37
anon@216.164
23.
Re: Whatever Dec 25, 2001, 22:37
Dec 25, 2001, 22:37
anon@216.164
 
Sorry that Mr. Carmack can't cater to you -- I'm sure he never originally planned to release it in the first place.

</set sarcasm 1> Given a few more days, he'll release a front-end that practically writes the next-gen engine for you and explains it all in a simple manner that even a trained chimp can understand (it will be later released in hardcover as "Quake II Engine Programming and BSP Partitions for Dummies") </set sarcasm 0>

So... Quit your whining about a free gift that's probably filled with more brilliance than you or I could ever conceive of.

Peace.
22.
 
Whatever
Dec 23, 2001, 20:08
anon@213.64
22.
Whatever Dec 23, 2001, 20:08
Dec 23, 2001, 20:08
anon@213.64
 
Thats the most bullshit comment ive ever heard.

Documentation is part of the quality of a product.
21.
 
Re: so... erm..
Dec 23, 2001, 11:43
anon@213.51
21.
Re: so... erm.. Dec 23, 2001, 11:43
Dec 23, 2001, 11:43
anon@213.51
 
if you need documentation, you should stay away from it anyway.
20.
 
so... erm..
Dec 23, 2001, 11:20
anon@213.64
20.
so... erm.. Dec 23, 2001, 11:20
Dec 23, 2001, 11:20
anon@213.64
 
WHERE IS THE DOCUMENTATION?
19.
 
friends?
Dec 22, 2001, 11:17
anon@64.24
19.
friends? Dec 22, 2001, 11:17
Dec 22, 2001, 11:17
anon@64.24
 
"Play with your friends."

Now this game requires friends? Dammit! Now I'll have to get some of those.
18.
 
Yay!
Dec 22, 2001, 08:24
18.
Yay! Dec 22, 2001, 08:24
Dec 22, 2001, 08:24
 
People who doubt the validity or importance of Mr. Carmack's generosity should check out what people have done with previous releases. QuakeForge and PrBoom spring to mind as old engines made fresh with new rendering engines like complete OpenGL ports, (beyond just Glide,) and like QuakeForge's kick-ass framebuffer support on Linux.

Thank you, id and Mr. Carmack!

17.
 
My best xmas present
Dec 22, 2001, 05:47
anon@212.53
17.
My best xmas present Dec 22, 2001, 05:47
Dec 22, 2001, 05:47
anon@212.53
 
This year my best christmas present will be this quake2 source code. Thank you Mr. Carmack!
16.
 
Police themselves?
Dec 22, 2001, 04:04
anon@66.75
16.
Police themselves? Dec 22, 2001, 04:04
Dec 22, 2001, 04:04
anon@66.75
 
Sure... I've been banned off many servers by admins who thought I was cheating. And these weren't just average joe servers. Admins can't tell between a good player and a cheat unless they're 'very' blatant about cheating.

EJ
15.
 
Re: Woohoo!
Dec 22, 2001, 03:55
15.
Re: Woohoo! Dec 22, 2001, 03:55
Dec 22, 2001, 03:55
 
The way it'll open the doors for cheats is with the q2 cheat protection code and new hacked .exe's that weren't possible b4.

As for protection code, any decent league still going will use a 3rd party tool such as BWAdmin and on public servers, cheating is pretty much a free for all anyway.

Releasing the source primarily means the game has shifted from mainstream playage to mainstream coding (great for learning), which after 5 years of life can only be a good thing.

Id are extremely generous with these kind of releases and should be thanked, so thx guys, especially as it's very well put together and extremely simple to build

Ender, if you've got a forum look out for a request from me...

14.
 
Re: Woohoo!
Dec 21, 2001, 23:03
anon@203.59
14.
Re: Woohoo! Dec 21, 2001, 23:03
Dec 21, 2001, 23:03
anon@203.59
 
Just keep an eye on www.quakesrc.org - where most of the action will probably happen *grin*.

'enuff self pluggage. Half-Lifes netcode was originally based off QW.. but in the recent major revisions it's been mostly rewritten. Personally I've already taken the Quake1 source code and rewritten enough of half-life for it to play native counterstrike.

One day I should finish it off and release it as an unofficial linux half-life port or something.

- Ender, QuakeSrc.org
13.
 
Woohoo!
Dec 21, 2001, 22:07
13.
Woohoo! Dec 21, 2001, 22:07
Dec 21, 2001, 22:07
 
It's that time again. Guess this means i'll need to re-install Q2 to check out all the funky stuff ppl do with the engine.

To the CS kiddies:
Get a clue, this release won't make anything easier/harder for cheaters, if they implement anything into Q2's netcode, it can't be ported to Half-Life, since Half-Life's source isn't available. The only thing it could allow is a better understanding of Q2's cheat protection system, which Half-Life doesn't even use, it has its own.

12.
 
Cool!
Dec 21, 2001, 21:41
12.
Cool! Dec 21, 2001, 21:41
Dec 21, 2001, 21:41
 
Woohoo! Thanks, id Software!

31 Replies. 2 pages. Viewing page 1.
Newer [  1  2  ] Older