n99 wrote:How about a progam that starts at the last pak and works back to the first, extracting them all in one folder, then packing them back into one pak, would that be hard?
Shouldn't it be the other way around? Isn't the last pak the one that is dominant? (i.e. if you have conback.pcx in both pak3.pak and pak5.pak the one in pak5.pak will be used..) I thought it was that way around...
anyway... this program was simple to write since the .bsp format is fairly simple, and java has a zip api built in, so I didn't actually have to write almost any code for the zip part of the program... I have no idea what the .pak format looks like. Not even if it is compressed or not... but I could try to find out... so it could range from very easy to hard (bare in mind that I'm not the best of coders )...
pk3 = zip... pak is (after some reading) just an uncompressed library of files.. it's easy to extract/create a .pak file apparently... there are lots of pak tools out there... but I guess I could write one as well don't think any of them would suit this specific task anyway
Hehe niiiice, I have sticky status . If anyone finds bugs, and or extra features to be added, I'm all ears. I'm actually thinking of porting it to Qt (C++ based library) to make it faster and more goodlooking. There was also a few "not so good" design choices made when I wrote the program, so I might as well rewrite the whole thing then
Ooops, I've missed this post You probably won't need it anymore, but if anyone else is having problems... please check the link to the tutorial in the first post of this thread. RTFM is really good for you mmkay?
I have a problem, well its more of an annoyance than a problem.
This is a screenshot of the zip file for pauhi's new map rotten town opened in windows xp.
Notice the files that aren't supposed to be there?
This is what happens when i try to copy and past these files into my aq2 directory.
This happens with ALL maps packed this way and it has been happening me for a very long time but i couldnt be arsed goin to all this trouble. For every folder created this way there is one of these mysterious files created too. For all i know they are supposed to be there lol.
fuct wrote:This happens with ALL maps packed this way and it has been happening me for a very long time but i couldnt be arsed goin to all this trouble. For every folder created this way there is one of these mysterious files created too. For all i know they are supposed to be there lol.
This is aimed mostly at nrg but what do u think?
Have you tried other .zip files made by java programs? It's been ages since I actually looked at the BSPPack code, but I'd say that almost ALL the code concerning the .zip generation was Java builtin functions. Therefore my initial reaction would be that it's windows that fucks up... (as usual)