PK3 inside PK3?

General Discussion about Medal of Honor: Allied Assault and Pacific Assault.

Moderator: Moderators

Post Reply
M&M
General
Posts: 1427
Joined: Sun Sep 14, 2003 1:03 am
Location: egypt
Contact:

PK3 inside PK3?

Post by M&M »

i have too many maps that are usually played on the lan .so on a whim i decided to pack'em all into one pk3 .so i extracted all thier contents and into one folder then zipped it and changed it back to .pk3 and it worked fine and was very handy when distributing /handling it .

however ,now i want to remove a few maps but they are all in one big mess ,id have to fish out every texture / bsp /sound .... and remove it .
so i am thinking of making a new big pk3 with the ones i want in it which is failry simple .

however ,is it possible to pack the pk3 file itself into another pk3 file ?
that way it would be easier for handling if i want to remove something else in the future .and add something in its place .
since a pk3 is a smaller version of the MAIN folder ,then i dont think it would pose as a problem .
i cant try that atm because im on another pc .
so any1 knows?
Image
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

Dont think you can... But maby you would be helped by the PK3 Manager by "Bigkisscool"... it lets you add and remove pk3:s in a controlled way. I dont have a link, google is your friend. :D
Admin .MAP Forums
Image
Head above heels.
M&M
General
Posts: 1427
Joined: Sun Sep 14, 2003 1:03 am
Location: egypt
Contact:

Post by M&M »

ok ,gonna look it up . but the main advantage of a 1 file is that i can distribute all the maps quite easily on my other pcs in the lan .or add them /remove them when ever i want .however the main disadvantage is the all or nothing method .

if i use a pk3 manager ,then i have to sit on each pc and do it manually ,instead of just controlling the whole operation from one pc :wink:
Image
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

For easy distribution, just zip the pk3:s you want into a single archive ( pk3:s are zips anyway ). Most people know how to unzip stuff (and even a clean Windows install can unpack a Zip archive ).
Admin .MAP Forums
Image
Head above heels.
M&M
General
Posts: 1427
Joined: Sun Sep 14, 2003 1:03 am
Location: egypt
Contact:

Post by M&M »

hmm good point ,i can do extracts form one pc onto the others .but if i want to remove them i have to select every single one :? .
with one folder it was only a click away (well ,actually 2 :D )

i used google to look for that thing and it turned up with 3 french sites !!
2 were completely confusing ,but i managed to find bigkisscool in the last one .however the link was broken :x .
i think im gonna do it manually though :wink:
Image
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

Well, for a LAN setup, maby you could run MOHAA from the same installation on a server?
Admin .MAP Forums
Image
Head above heels.
M&M
General
Posts: 1427
Joined: Sun Sep 14, 2003 1:03 am
Location: egypt
Contact:

Post by M&M »

possible ,but i am afraid to try that as it might lag .specially when alot of pcs use one installation . :wink:
Image
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

Dont think that is a problem, as they execute on the local machine.
Admin .MAP Forums
Image
Head above heels.
blue60007
General
Posts: 1247
Joined: Sun Mar 07, 2004 11:44 pm

Post by blue60007 »

Don't see why you can't, you can put a zip inside a zip.
Image
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

You can put a zip in a zip but you won't be getting any more compresion in fact the file will be a bit bigger then all the individual zips combined because of the unzipping information added . I don't think mohaa will read 2 pk3 levels deep though .
Image
M&M
General
Posts: 1427
Joined: Sun Sep 14, 2003 1:03 am
Location: egypt
Contact:

Post by M&M »

Dont think that is a problem, as they execute on the local machine.
that wasnt my point ,doesnt it use the cable's and router to transfer data?
so more pcs =more data =less room for multiplayer data :wink:
Don't see why you can't, you can put a zip inside a zip.
i was asking if mohaa will be able to read it ,i know its possible ;)
You can put a zip in a zip but you won't be getting any more compresion in fact the file will be a bit bigger then all the individual zips combined because of the unzipping information added . I don't think mohaa will read 2 pk3 levels deep though .
yes ,it didnt work :( i tried it ,no luck .
Image
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

M&M wrote:
Dont think that is a problem, as they execute on the local machine.
that wasnt my point ,doesnt it use the cable's and router to transfer data?
so more pcs =more data =less room for multiplayer data :wink:
Not once the progran is started, no... but maby its a bad idea for amillion other reasons :oops:
Admin .MAP Forums
Image
Head above heels.
Splaetos
Major General
Posts: 730
Joined: Tue Jan 20, 2004 2:55 pm
Contact:

Post by Splaetos »

however ,now i want to remove a few maps but they are all in one big mess ,id have to fish out every texture / bsp /sound .... and remove it
pk3's are best done for one map... but was curious... do you use the same folder name for textures on every map?

For custom textures in a map, I put the files in textures/mapname folder, so even if they did get zipped up with something else.... the folders are always map specific. I dont do that with custom sounds cause i dont use all that many, but you can do the same thing for those. The rest of the stuff is usualy named pretty obviously and not hard to sort =p
When I am king, you will be first against the wall~
Image
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

Oh, and by the way: the only thing you need to remove to disable a map is the BSP file. And they will be neatly piled in main\maps\dm or main\maps\obj :)

Never mind the scripts and textures and stuff....
Admin .MAP Forums
Image
Head above heels.
M&M
General
Posts: 1427
Joined: Sun Sep 14, 2003 1:03 am
Location: egypt
Contact:

Post by M&M »

... but was curious... do you use the same folder name for textures on every
yeah ,i just extracted allthe pk3s in one folder .zipped it and changed the extension to pk3 .and voila ,i have a group pk3 for alot of maps

Never mind the scripts and textures and stuff....
dont they slow down the loading ? the primary reason is to improve loading speed .

so texxtures (mainly) scripts and other stuff increase the overall size which in turns slows down the access time
Image
Post Reply