Mod: Quake 2 pak file format
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
...)
Thx
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
...)Thx
I hope this helps:
http://www.flipcode.com/tutorials/tut_q2levels.shtml
http://www.flipcode.com/tutorials/tut_q2levels.shtml
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
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
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.
Thx but...
I know that only Quake 3 Arena's paks are renamed zip file, while Q1 and Q2's are not...
I know that only Quake 3 Arena's paks are renamed zip file, while Q1 and Q2's are not...
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)
): 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)
Quote:Originally posted by peacha
P.S. what a lame excuse just to add posts to my account(joking)
Hehe. You too, huh? D'oh!
For the record (do you say that?), here is the format briefly explained:
http://www.quakesrc.org/forum/topicDispl...0&begin=-1
http://www.quakesrc.org/forum/topicDispl...0&begin=-1

