Gaming ZIP file Order?

raing3

CNET_Richard
OP
Member
Joined
Apr 2, 2009
Messages
529
Trophies
1
Age
33
Location
Australia
XP
802
Country
I was hoping someone knew a Windows based application which would allow me to sort what order files were added to a ZIP archive in. For example WinRAR has this option but only for Solid RAR archives and uses a file called RarFiles.lst which has a different filename/filemask on each line for the order to add the files in.

I desperately need some assistance to speed up the extraction of files from a ZIP archive which contains almost 1,000 tiny files (and increasing) so that I can sort the most important files to the start of the ZIP archive and have the rest of the files added afterwards.

^
unsure.gif
I hope this makes sense to others.
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,795
Trophies
5
XP
28,519
Country
United Kingdom
I might be able to dig an application that can pull this off (I have none to hand) but can I instead suggest you rethink your method:

If it is zip then it is straight up file compression on a file by file basis whereas stuff like 7zip tends to use data hence it working so well for big collections of roms (note that using 7zip in this manner will probably make extraction even longer).
If you must zip them then perhaps a lower setting is in order, as someone who has done compression algorithms from the ground up in general computing most of the compression gains are achieved with the simplest of methods or weakest of settings (case in point; ever noticed how a trimmed DS rom and a plain zip compressed rom are about the same size or if you go in for the PSP as your signature implies how a basic level of CSO is not that far off a level 9 in terms of percentage gained).

I will flip it again; you say 1000 odd files, I am guessing some are of the "potential to be used" rather than "every day", how about shifting them to a secondary archive.
Similarly if you have 1000 files in a folder you have probably messed up somewhere or could stand to sort them better. The time to do this is now (or ideally a few months back but as my time machine is reserved for more important things like looking at dinosaurs that is not going to happen) before it becomes truly entrenched.

The next is what sorts of files are they; if they are all documents or all images or all something else we might have different options including no compression for formats with compression already inbuilt (most image formats, music formats, video formats and a good chunk of document formats).

Rather than straight up compression how about diff files or something like it, for instance xdelta is built for this (although we usually use it in these circles for distributing rom hacks).

Next there are all manner of compressed file systems ranging from compressed mountable ram drives to actual set in magnetism tracks. By similar token how about a new partition of the drive you are using or even a new drive for the files in question.
 

raing3

CNET_Richard
OP
Member
Joined
Apr 2, 2009
Messages
529
Trophies
1
Age
33
Location
Australia
XP
802
Country
Hmm... thanks for the great explanation and amount of obviously time you clearly took in replying but I guess I should have explained more about my problem.

Firstly the decompression is occuring on the PSP and I can't really change from the ZIP compression format to another format because I'm not sure how to implement decompression of other formats as well as the ZIP compression format is fairly lightweight compared to other formats (from what I understand).

The ZIP archive I have consists of the following files and directories:
Code:
Changelog.txt
Credits and Help.txt
GameList.txt
cheat.db
CMF\*.cmf (400 files)
NitePR\*.txt (385 files)

and that is roughly the order I wish them to be added to the archive in because the decompression routine in my program looks for the first instance of a file, decompresses it and then stops searching through the ZIP file. At the moment the amount of files doesn't cause too much of an issue but as the amount of files continue to grow it will eventually take longer and longer to find the required file in the archive.

I've considered double packing the CMF and NitePR directories so seeking through the archive to find the required will be faster however that will break compatibility with previous versions of the PSP decompression software I made for the archive (which I have done too much already) as well as make the archives look more cluttered and require decompression of an extra file to extract the CMF/NitePR files when needed.

At the moment I'm just using WinRAR to add all the files to a ZIP archive which adds them in a seemingly random order (doesn't seem to be based on timestamp or filename).

If you do manage to be able to think of an application which would allow me to choose how the files are added to the ZIP archive that would be great.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • kijetesantakalu042 @ kijetesantakalu042:
    Hate how microsoft wants me to use the outlook app instead of letting me simply look at my calendar
  • K3Nv2 @ K3Nv2:
    It's looking out for you
  • kijetesantakalu042 @ kijetesantakalu042:
    I could drive for an hour and suffocate bill gates.
  • kijetesantakalu042 @ kijetesantakalu042:
    Don't fight me, bill
  • kijetesantakalu042 @ kijetesantakalu042:
    Found his address.
  • K3Nv2 @ K3Nv2:
    https://a.co/d/jc0KUK6 Sir I smell alcohol
  • Veho @ Veho:
    Oh shit fr? Let's get wasted.
    +2
  • Sicklyboy @ Sicklyboy:
    The one problem I have with a lot of beard balms like that is that they smell so intensely that it's like the only thing I can smell for an hour
  • Veho @ Veho:
    Question, what does a beard balm/wax actually do? Is it just a hair oil product, or does it act as a gel and shapes it or what?
  • Sicklyboy @ Sicklyboy:
    Yeah it's a hair oil, kind of like a leave-in conditioner, but it also helps to keep your skin under the beard moisturized a bit, and since it is oily it does help a tiny bit with helping it hold its shape or lay flatter especially after brushing it
    +1
  • Sicklyboy @ Sicklyboy:
    I rarely ever use it, really only if I'm going out and trying to look/smell a tiny bit nicer. Kind of like how I treat cologne lol
    +1
  • Sicklyboy @ Sicklyboy:
    The one I have right now that I use every once in a while is tobacco + vanilla scented. It smells -fantastic- IMO, but same issue, for like the first hour or two it is just an ever present scent that I smell on every single inhale.
    +1
  • K3Nv2 @ K3Nv2:
    Whatever happened to girls dropping their pants over just smelling like old spice
  • Veho @ Veho:
    Whatever happened to Eminem's salsa making all the pretty girls want to dance and take off their underpants?
    +1
  • K3Nv2 @ K3Nv2:
    1000 pound sisters
  • Veho @ Veho:
    Seat warmer.
  • K3Nv2 @ K3Nv2:
    Honey let me lay down the blanket first
  • Veho @ Veho:
    SWAMP ASS
  • K3Nv2 @ K3Nv2:
    I still got this one little loose stich in my gums driving me nuts
  • K3Nv2 @ K3Nv2:
    Xfinity™
  • K3Nv2 @ K3Nv2:
    Don't know why I'll sleep normal at night one night then be up for like 24 hours the next 😩
    Veho @ Veho: https://i.imgur.com/tDYMMGy.mp4 +1