MAJOR CHANGE, handle directories as PAKspak-change
commitb900778d437b79a5754b99eb939bdc0d0e078bfe
authorrofl0r <retnyg@gmx.net>
Mon, 13 Feb 2012 21:00:41 +0000 (13 22:00 +0100)
committerrofl0r <retnyg@gmx.net>
Mon, 23 Dec 2013 23:49:43 +0000 (24 00:49 +0100)
tree31da39561170f4fafa7176692b2fc1b0ea0f71a1
parent0cf6e26ffed55046bc067ce130978cdb6d738ea0
MAJOR CHANGE, handle directories as PAKs
this change lets one put extracted paks directly into the Paks/ dir.
the folder structure must look like this
Paks/
    Pack-Name/
             data/
                 ....
    Pack2/ ...
    another.pak
ATTENTION: to achieve this i have stripped off much legacy junk.
openbor now can't handle non-lowercase filenames anymore, and
.pak's are supposed to use a forward slash instead of backslashes
as path delimiters.
this means you can't directly play .pak files from some website.
old mods must be extracted once with the newest borpak,
then repacked, and then they're good to go.
this will convert the filenames into a sane format.
altho, why even put the mod in a pakfile ?
i find it much more convenient to have the paks in an extracted
form. additionally it is much faster, since filename lookups in
all major filesystems are heavily optimized.
source/gamelib/packfile.c