pk3 problems


(diaper eater) #1

ok, so i just made a little deathmatch map to play with my buddy, i threw the .bsp into a zip and made it a pk3, and sent it to him, he put it in his etmain folder, but it wouldnt show up in the list of maps to choose from, how do we get it to show up


(SCDS_reyalP) #2

You probably need an arena file, just like RTCW. There should be some examples in the ‘scripts’ directory of pak0.pk3

Or just tell you buddy to use /map to load it :moo:


(UltraFlux) #3

A little further help would be appreciated. Ive made my first map and loaded it etc and it seems to work fine. I would like to test with friend also. How do I have him load the map and join my server for testing?


(weasel) #4

You need to have the directory structure in the pk3. It should be in /maps/. How you do this depends on your zip utility.


(UltraFlux) #5

Okay … so

  1. It works with just the bsp for testing i was playing with my buddy.

  2. About this pk3. I need to have everything inside like this.

test.pk3
/maps/test.bsp

like that?

Then how does one load the test.pk3 or do you still call for the test.bsp and it just knows where to look

/map test
/devmap test
??

tx,
UltraFlux


(sock) #6

As SCDS_reyalP said you need to create an .“arena” file for your map. Have look in the original pak0.pk3 file and you will see that all maps have “.arena” files. Take one of the existing “.arena” files and change it to suit your own needs.

Then include this “.arena” file in your pk3 file in the same directory as the map file (/maps) and send it to your friend. The “.arena” file will allow you to start the map in “g_gametype 2” mode.

You can also start the map with the /devmap or /map command from the console and then ask your friend to join your server and his client will load the correct map and start the game.

Sock
F33l the :moo:


(Maniac) #7

I cant seem to get my .pk3 working.

Can somebody tell me what EXACTLY needs to be in there and what kind of map-structure it should have.


(sock) #8

The pk3 file structure has to mirror the uncompressed version of the pak0.pk3 file. Firstly you will need a program that can generate ZIP files. I would recommend using WinZip because it easy and straight forward. There are plenty of zip style programs around so feel free to choose the one you like the best. The following steps assumes you are using WinZip…

  • Create a blank directory off the root of your C drive, say for example “ETpak”.
  • Create “maps”, “scripts”, “levelshots”, “textures” directories under the “ETpak” directory. You may not require all of these directories at first but over time you might.
  • Put your map and arena file in the “maps” directory.
  • Create a ZIP file in the ETpak directory.
  • Open up your ZIP file and click on the Add option. This should give you a list of your current directory and various options.
  • Select the “Include subfolders” option and click on the “Add with wildcards” button.

This will create a ZIP file with the correct directory structure. Finally rename the file extension to PK3 instead and that should be it. One thing that is always a good idea is to install a clean version of ET somewhere else on your hard drive. This will allow you see if any resources are missing and that your PK3 file works ok.

Sock
F33l the :moo:


(Marko) #9

this tutorial might help you
http://mapdesign.ravencommunity.net/mapping/et_pk3.htm


(Maniac) #10

Okay, thanks got it working now :smiley:


(Maniac) #11

it works for me now .

But I send ti somebody else and tell him to putt it in his ETMAIN
and do
/sv_pure 0
/g_gametype 2
/map mapname

But it sayd it cant find the .bsp
I am sure its in the pk3 in the folder “maps”


(sock) #12

Open the PK3 file with WinZip and see if the map file has directory information stored against it? If no, then you have created the zip file wrong. For example look at the pak0.pk3 zip file.

Sock
:moo: z0r


(Maniac) #13

Here is my pk3 file.
Could you take a look ?

http://members.home.nl/bas.vkempen/1on1.pk3


(sock) #14

Its empty, I cannot find any files in it.

Sock
:moo: z0r


(Maniac) #15

Huh… its not empty when I look in it :S
In the maps folder are some files

What could I be doing wrong?


(sock) #16

Umm I’m not sure what is wrong but when I open the file winzip it tells me there is no files in the ZIP file. Plus the file size is like 4k or something. Can you give me a link to a ZIP file not to a PK3 file? Don’t ask me why but PK3 do have problems with IE browsers, especially when trying to download them from double clicking links.

Sock
:moo: z0r


(Maniac) #17

here a .zip
http://members.home.nl/bas.vkempen/1on1.zip


(sock) #18

Ok the zip file works fine being downloaded. But the structure of the zip file is wrong. You have all your map stuff in the root of the zip file.

Current structure:

/1on1.bak
/1on1.bsp
/1on1.map
/1on1.prt
/1on1.srf
/1on1/lm_0000.tga
/scripts/1on1.arena

Correct structure:

/maps/1on1.bsp
/maps/1on1/lm_0000.tga
/maps/scripts/1on1.arena

Notice you dont need to distribute the map, prt, srf, bak files. These files are used by you and not needed by anyone else to run this map. You are creating the zip file wrong some how and need to following these instruction word for word…

  • Install WinZip first.
  • Right click your start bar (Its at the bottom left of the screen)
  • Choose the option “explorer”
  • Left Click on your C drive icon
  • In the right hand window, right click your mouse and create a new directory called “ETpak”
  • Double click on that new directory entry.
  • In the right hand window, right click your mouse and create a new directory called “Maps”
  • In the right hand window, right click your mouse and create a new directory called “Scripts”
  • go to your ETmain/maps directory and copy the “1on1.bsp” file to the maps directory created as above. Also copy over the “1on1” directory which contains your external lightmap.
  • go to your ETmain/scripts directory and copy the “1on1.arena” file to the scripts directory created as above.

Now your new directory structure should be like this:

C:\ETpak
C:\ETpak\maps
C:\ETpak\scripts

and your files should be in these locations.

C:\ETpak\maps\1on1.bsp
C:\ETpak\maps\1on1\lm_0000.tga
C:\ETpak\scripts\1on1.arena

  • OK nearly there, go to your ETpak directory and create a ZIP file in this location: C:\ETpak\1on1.zip
  • Open up your ZIP file and click on the Add option. This should give you a list of your current directory and various options.
  • Select the “Include subfolders” option and click on the “Add with wildcards” button.

Now if this does not make you a good ZIP file with all the files in the correct location than I cannot help you.

Sock
:moo: z0r


(swaggers) #19

What is the bare minimum files needed in a .pk3 to get the map to come up?

maps/testwall.bsp
maps/testwall.script
scripts/testwall.arena

Is what i have completed so far and when I try to load it I get could not find maps/testwall

EDIT:: For whatever reason WinRAR doesn’t work, but WinZip it come up fine.

Swaggers


(Maniac) #20

ok works.
Seems like winrar does somethign wierd with the folder-scructure.

Thanks for helping :slight_smile: