| Folder | Contains | File Extensions | | :--- | :--- | :--- | | | Game levels | .map (raw), .proc (compiled) | | /models/ | 3D geometry (monsters, weapons) | .md5mesh , .md5anim , .lwo | | /textures/ | Image assets | .tga , .dds | | /sound/ | Audio (monster roars, gunshots) | .ogg , .wav | | /script/ | Game logic | .script | | /def/ | Entity definitions (health, damage) | .def | | /materials/ | Shader definitions | .mtr | | /guis/ | Menus and HUDs | .gui | A Deep Dive: The materials/doom.mtr File One of the most important files hidden in a PK4 is the material definition. Open pak000.pk4 and navigate to /materials/ . You will find doom.mtr . This text file (inside the zip) tells the engine how light reacts to a surface. Example snippet:
noShadows sort postProcess blend add map textures/sfx/vfx_hurt.tga doom 3 pk4 files
textures/sfx/vfx_hurt
This article will cover everything from what a PK4 file actually is, to how to open, edit, and repack them, and finally, how to troubleshoot common errors. In the simplest terms, a PK4 file (Pak file, version 4) is the proprietary archive format for id Tech 4, the engine powering Doom 3 , Quake 4 , and Prey (2006). | Folder | Contains | File Extensions |
copy "C:\Doom3\base\pak000.pk4" "C:\Modding\extract.zip" tar -xf "C:\Modding\extract.zip" -C "C:\Modding\Output" Never extract PK4 files directly into the /base/ folder as loose files without knowing the load order. If you dump 10,000 loose textures into /base/ , Doom 3 will crash because the file handle limit of the engine will be exceeded. Always keep assets inside PK4 files. Part 4: The Inner Workings – Common Assets Found in PK4s Let’s open pak000.pk4 and look at the folders you will find. This is your map of the UAC base. This text file (inside the zip) tells the
Happy modding, marine. Did you find this guide helpful? Share it with fellow Doom 3 modders, or leave a comment about your favorite PK4 discovery.