Hints, tips and tutorials for 3D modelling & content creation
|
KatsBits
Creating 3D models, meshes &
game content
3D modelling & meshing, level editing and textures makingHints, tips and tutorials for 3D modelling & content creation [back]Creating PAK, PK3 & PK4 filesResourcesContentsWhat are PAK, PK3 & PK4 files? ^A PK3 (PK4 for Doom 3 games) or 'pack' file is basically a ZIP or RAR archive which uses the 'pk3' file extension instead of *.zip or *.rar. It's not automatically recognised by either WinZip or WinRar, this usually has to be assigned to either application; right click on a current PK3 file and select open with, in the dialogue that appears select WinZip or WinRAR as the application of choice to open these files by default. How do I create a PK3/PK4 file ^There are a couple of ways to create PK3 or PAK files for games using idsoftware technology, including the recently released Doom 3. The two main ways are to either pack up the contents of a folder or pack folders sitting on the root drive letter. Each works just as well as the other but are the result of different working methods when you create the assets. The most common of the two is to pack up the contents of a folder so that will be explained below. Packing the contents of a folder ^Typically this means a folder structure within a directory similar to the following;
When you open Windows Explorer it'll be split into two parts; the main 'contents' window on the right with a thin 'navigation' panel on the left. Using the method above means selecting the parent folder in the panel on left hand side - this would be 'baseq3' if you were packing up the files for a Quake 3 project. On selecting the parent folder on the left, the 'content' panel on the right will then show the directory structure of that folder, listing further subfolders and files.
![]() Selecting the files to pack
![]() Right click, "add to zip file"
![]() Changing the name and location
![]() Files added to zip ![]() Final desination of PK'X' file
|