|
> > I'd like to make a modification to ZipMax to make it work with compressors > that > > don't support long filenames. > > > > There is a Win32 API function which gives you the correct 8.3 name from a long > filename. > I'm not sure if it's worth the trouble. All newer packers usually pack better > than the old ones which only supports 8.3 names..... >
I'm sure that 99.9% of the time, newer compressors will be better. However, my tests have shown that once in a while, the old ones will come up better.
For example, ringdest.zip (mame) is 12,304 bytes smaller after using PKZip 2.50 DOS with the extreme and max options.
I really just want to do this as a programming exercise for myself and if whether it ends up being truly useful or not is probably debatable.
I was wondering if you could see any problem with just sequentially numbering the files before compressing.
In particular, I'm not totally sure of how the new file header is built after multiplexing and I don't know if trying to rename files before and after compressing will even work.
------------------------------------------------- "11 seconds is nothing compared to the amount of time in your life you actually waste playing the game" -- Haze
|