Support and General Use > Plugins/Viewers

(Un)zipper?

(1/2) > >>

gnu:
First of all: this is not a request. I'm just asking if it's possible (CPU speed etc..).

My question: would it be possible to include an unzipper into rockbox? Sometimes you've got a zip-file on your player but you can't use it because you forgot to extract it...
Of course it would be quite impossible to unzip large files (it'd take hours....), but what about small files?

nls:
There is no need for zip extraction to be real time so i don't see why it would be a problem that the cpu speed in most targets is not that big. But as you say it will probably be very slow :-)

bluebrother:
You can simply put the portable version of 7zip on your player (like any other portable app) and use that. I don't see a need of running this on the player itself.

linuxstb:

--- Quote from: nls on March 10, 2007, 03:27:39 PM ---There is no need for zip extraction to be real time so i don't see why it would be a problem that the cpu speed in most targets is not that big. But as you say it will probably be very slow :-)

--- End quote ---

I'm not sure what you mean by "real time" when dealing with zip files...

But a zip/unzip implementation in Rockbox is very feasible - the code from the infozip project is extremely portable, and even runs on old 16-bit MS-DOS systems.  ZIP is an old format - meaning it was designed to run on computers with less horsepower than the modern targets Rockbox runs on.

I also think it could  be quite useful - the unzip functionality could be added to the plugin library (thereby making it usable by all plugins, such as the various emulators, enabling them to read data directly from zip files without uncompressing them first), as well as a general-purpose unzip plugin.

The fact that people have long been requesting such a plugin shows that at least those people would have a use for it.

Mr_Rabid_Teddybear:

--- Quote from: linuxstb on March 11, 2007, 05:40:18 AM ---I'm not sure what you mean by "real time" when dealing with zip files...

--- End quote ---
He probably mean something like on-the-fly decompress and playback of audiofiles inside zip files, like some game formats that are served up like that....


--- Quote from: linuxstb on March 11, 2007, 05:40:18 AM ---But a zip/unzip implementation in Rockbox is very feasible - the code from the infozip project is extremely portable, and even runs on old 16-bit MS-DOS systems.  ZIP is an old format - meaning it was designed to run on computers with less horsepower than the modern targets Rockbox runs on.

--- End quote ---
Except I had this experience short time ago, I downloaded some zip files (infact from www.rockbox-themes.org) that had been compressed with WinZip 11.0 and tried to unzip them under Debian - no dice! I then tried with 7-zip 4.42, still no dice... I then figured out that WinZip 11 compresses zip files that are not backwards compatible!!!!! Luckily the trialversion of WinZip 11 ran well under Wine....


Navigation

[0] Message Index

[#] Next page

Go to full version