View Full Version : Mod: Quake 2 pak file format
peacha
2002.06.03, 08:57 AM
Hi all,
does anyone know a tutorial explaining the Q2 pak file format?
(I'd like a tut as the Q2 source code is simply unreadable imho :mad: ...)
Thx
ibullard
2002.06.03, 01:00 PM
I hope this helps:
http://www.flipcode.com/tutorials/tut_q2levels.shtml
Johan
2002.06.03, 04:21 PM
As far as I know, the .PAK files are basicly zip files containing all the gamedata. eg the BSP level data (See above link).
I'm not compleatly sure about this (Can't test, don't own quake), but if it's indeed so, you can read up on the zip file format here:
http://epicboy.flipcode.com/tutorials_ZIP.htm
Cheers,
Johan
ibullard
2002.06.04, 02:17 AM
Oh yeah. I forgot about that part. I found a web site that said that the pak file is just a renamed zip file. I tried it with Quake 1 and 2 pak files and stuffit couldn't decompress either of them. Wosit (http://www.wotsit.org/) has the file format, just do a search.
peacha
2002.06.04, 05:48 AM
Thx but...
I know that only Quake 3 Arena's paks are renamed zip file, while Q1 and Q2's are not...
peacha
2002.06.04, 05:54 AM
Ah, I forgot that's a BSP tutorial (don't worry I'm still thanking you ibullard ;) ): what I meant is a PAK tut... that's because everything is inside paks (BSPs included), so before dealing with BSPs (and whatever) I must deal with PAKs.
P.S. what a lame excuse just to add posts to my account :D (joking)
ibullard
2002.06.04, 12:37 PM
Originally posted by peacha
P.S. what a lame excuse just to add posts to my account :D (joking)
Hehe. You too, huh? D'oh!
peacha
2002.06.04, 06:11 PM
For the record (do you say that?), here is the format briefly explained:
http://www.quakesrc.org/forum/topicDisplay.php?topicID=480&begin=-1
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.