Mod: Quake 2 pak file format - Printable Version
+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Programming Languages & Scripting (/forum-8.html)
+--- Thread: Mod: Quake 2 pak file format (/thread-7726.html)
Mod: Quake 2 pak file format - peacha - Jun 3, 2002 05:57 AM
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 ...)
Mod: Quake 2 pak file format - ibullard - Jun 3, 2002 10:00 AM
I hope this helps:
Mod: Quake 2 pak file format - Johan - Jun 3, 2002 01: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:
Mod: Quake 2 pak file format - ibullard - Jun 3, 2002 11:17 PM
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 has the file format, just do a search.
Mod: Quake 2 pak file format - peacha - Jun 4, 2002 02:48 AM
I know that only Quake 3 Arena's paks are renamed zip file, while Q1 and Q2's are not...
Mod: Quake 2 pak file format - peacha - Jun 4, 2002 02: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 (joking)
Mod: Quake 2 pak file format - ibullard - Jun 4, 2002 09:37 AM
Quote:Originally posted by peacha
Hehe. You too, huh? D'oh!
Mod: Quake 2 pak file format - peacha - Jun 4, 2002 03:11 PM
For the record (do you say that?), here is the format briefly explained: