Tremulous Forum
Mods => Modding Center => Topic started by: WelcomedDigitalLove on November 18, 2007, 06:41:12 pm
-
I can't access any of the maps other than the defaults on any server. I downloaded them, so I'm wondering if they might be in the wrong folder. What folder should they be in?
-
They should be in your tremulous/base folder where all the other maps are :tyrant: :tyrant: :tyrant:
-
When downloading maps, make sure the extension is .PK3 and not zip or anything like that.
-
To expand on that, DO NOT EXTRACT THE .PK3s!
(You have no idea how many people I've seen complaining about defunct maps in-game and you find out that they've extracted the .pk3 to a folder with the map name on it...makes me want to go out and kill helpless kittens sometimes...)
-
Bunneh, mind if you get a clue?
Those idiots did not do an extraction, they extracted to the wrong folder.
If you extract the pk3 without moving the files, everything will be fine.
Here is the speed-gain you have been looking for in your other post.
Extracting saves trem the time on slower computers...
-
Hmm. So, .pk3 is like a .vp (Volition Package), except with compression? .vps have the correct folder layout inside them, but any file with the same path that is actually in the folders instead of in the .vp overrides the one in the .vp And, .vps don't have compression.
Is a .pk3 an actual .zip file, just with a renamed extension? So you can compress the stuff with 7-Zip (http://www.7-zip.org) to a .zip file, and choose the compression level?
/me is curious.
-
Is a .pk3 an actual .zip file, just with a renamed extension? So you can compress the stuff with 7-Zip (http://www.7-zip.org) to a .zip file, and choose the compression level?
Yes.
-
... .vps have the correct folder layout inside them, but any file with the same path that is actually in the folders instead of in the .vp overrides the one in the .vp ...
same with the .pk3
what's extracted will overrule anything inside the .pk3 as the pk3s get read first and then the files...
-
Hmm. So, .pk3 is like a .vp (Volition Package), except with compression? .vps have the correct folder layout inside them, but any file with the same path that is actually in the folders instead of in the .vp overrides the one in the .vp And, .vps don't have compression.
Yes. Different game engines have different file hierarchy models.
And this makes no sense:
same with the .pk3
what's extracted will overrule anything inside the .pk3 as the pk3s get read first and then the files...
For reference, I'll quote an informational comment from files.c:
To save disk space and speed loading, directory trees can be collapsed into zip files.
The files use a ".pk3" extension to prevent users from unzipping them accidentally, but
otherwise the are simply normal uncompressed zip files. A game directory can have multiple
zip files of the form "pak0.pk3", "pak1.pk3", etc. Zip files are searched in decending order
from the highest number to the lowest, and will always take precedence over the filesystem.
This allows a pk3 distributed as a patch to override all existing data.
I don't really know what is the real bottleneck of loading. CPU or HDD? They say that it's the HDD, but I see no difference with the hardware I have tested.
-
I wish the comment in files.c where true, then there would be even less cheating .)
-
I wish the comment in files.c where true, then there would be even less cheating .)
They... are.
Servers to which you connect only allow you to load files inside pk3s whose checksums match the pk3s on the server. There is an exception made for menu files.
Of course, hacked clients need to and can bypass these checks.