PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Compressed Virtual Folders?

I'm looking for something like the old DOS DriveSpace for my PPC, namely a tool that is able to compress data on-the-fly.

I'm thinking of compressed files that can be mounted as folders, not for regularly used applications, but for documents.

My problem:
I've got a database which is divided into 26 files (A, B, C...) with a total size of 12 MB. The files contain plain text, they can be compressed down to 4 MB with any ZIP tool. The program which accesses those files doesn't support compression, so I'm wasting rare space.

My idea:
It would be great to compress the files and make the OS "think" the archive was a folder, a simple gZIP would be more than enough. This method could be used to store files rarely needed without wasting memory.

My present solution is to gZIP each file with DEXPlor and decompress it manually the moment I need it.

Perhaps there's already a tool available that fits my needs, any ideas? Otherwise this would be a great feature for the next version of DEXPlor...
That does sound like a great feature to have for a PPC, especially for any file you may use once a week while in a meeting and taking notes and you need to keep all the notes. I would like to see if there is something out there for that or if someone with great coding talent can do this.


-Jay
The Windows CE OS already does compress files. It is done on-the-fly using a very fast, low-quality algorithm. You can pick up additional compression using gZip / Zip, as you are doing with DEXplor, but you aren't saving all the space it seems.

Try decompressing one of those files, and check the free space before / after.

Dan East
Would it be possible to change the algorithm used by the OS? A tool that replaces the file system driver like Jimmy's Landscape does with the graphics driver?

I'm just curious: the WinCE compression doesn't work for CF cards, just for the internal memory, right?
No, compression is not performed on storage cards.

The problem is that to achieve that extra 25% compression (say from 50%->75%), it takes 10 times the processing time than to compress the first 50%. Try playing around with the compression settings in WinZip, and compare the compression time to the resulting filesize.

Dan East