Jump to content

Home

packing your .pk3


giganerd

Recommended Posts

Alright, I've got my map and my skybox shader and my custom skybox textures, but I'm not sure how I pack everything into my .pk3 file. I believe I need to keep the directories that everything is in, but do I pack my .shader file seperately or in the .pk3. Also, do I need to include a modified shaderlist.txt? Can somebody please help clear this up or me?

Link to comment
Share on other sites

Yes, you need to keep the same folder structure as in base directory. Personally, I use PakScape (you can find at http://www.fileplanet.com) wich allows you te re-create directories inside a zip file. If you are using WinZip, you probably should do this:

 

Suppose you have mymap.bsp in base/maps, mymap.shader in base/shaders and two textures in base/textures/mymap, so...

 

create these directories in the root of your drive. For example:

 

c:\maps

c:\shaders

c:\textures\mymaps

 

Next, copy the the files accordingly. mymap.bsp from jedi2dir/gamedata/base/maps to c:\maps, etc.

 

When this is done, go to c:\maps, right mouse click on your bsp file, and choose "add to zip" (make sure you mark "save extra folder info" checkbox). Click OK. Keep the ZIp file open and repeat the same for the shader file and textures. This will make sure that they all go in the same zip file. When done, change the extension from ZIP to pk3. Move it to jedi2dir/gamedata/base (if it's not there already).

 

You are done. You can remove the directories from c drive (or leave them for future use). There is no need to include shaderlist.txt because it is used only by the tools. Hope this helps.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...