Mod: Quake 2 pak file format

peacha
Unregistered
 
Post: #1
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
Quote this message in a reply
ibullard
Unregistered
 
Post: #2
Quote this message in a reply
Apprentice
Posts: 5
Joined: 2009.01
Post: #3
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
Quote this message in a reply
ibullard
Unregistered
 
Post: #4
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.
Quote this message in a reply
peacha
Unregistered
 
Post: #5
Thx but...
I know that only Quake 3 Arena's paks are renamed zip file, while Q1 and Q2's are not...
Quote this message in a reply
peacha
Unregistered
 
Post: #6
Ah, I forgot that's a BSP tutorial (don't worry I'm still thanking you ibullard Wink ): 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 Grin (joking)
Quote this message in a reply
ibullard
Unregistered
 
Post: #7
Quote:Originally posted by peacha
P.S. what a lame excuse just to add posts to my account Grin (joking)

Hehe. You too, huh? D'oh!
Quote this message in a reply
peacha
Unregistered
 
Post: #8
For the record (do you say that?), here is the format briefly explained:
http://www.quakesrc.org/forum/topicDispl...0&begin=-1
Quote this message in a reply
Post Reply