Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  7Zip or other Archive Support
« previous next »
  • Print
Pages: [1]

Author Topic: 7Zip or other Archive Support  (Read 2147 times)

Offline moonscapex

  • Artist
  • Member
  • *
  • Posts: 75
  • Linux User - 5 Rockbox Installs
    • MoonscapeX's Build
7Zip or other Archive Support
« on: October 12, 2009, 02:15:16 PM »
Having Archive support in Rockbox would be very useful (for theme installation and other things).
After doing some research, I found these projects that sounded the easiest to port:
Info-Zip
Ported to many, many platforms with processors similair to Rockbox Players.
Source: http://ftp://ftp.info-zip.org/pub/infozip/
Website: http://www.info-zip.org/
7-Zip
Ported to only a few platforms, ARM port is available for WinCe that might be ported to the Rockbox ARM players.  Supports many archive formats.
Website: http://www.7-zip.org/

I am not a C programmer so I don't know if there is much I can do to help but if someone could take a look, that would be great :).

Thanks,
Will
Logged
MoonscapeX's Build Sansa E200 (v2)   //\\  //\\oonscapeX
Rockbox Album Art Downloader          //  \\//  \\@gmail.com

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: 7Zip or other Archive Support
« Reply #1 on: October 12, 2009, 10:43:07 PM »
You mean a 7zip plugin?  Why would you ever want to use 7zip on an MP3 player?
Logged

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: 7Zip or other Archive Support
« Reply #2 on: October 13, 2009, 06:44:43 AM »
7zip's code is scary and fairly difficult to port.

A viewer plugin that can unzip .zip is not unreasonable, though (infozip is nice and easy to do and is under a BSDlike license), but I'm not going to do it ;)
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

Offline NorTheBear

  • Member
  • *
  • Posts: 33
Re: 7Zip or other Archive Support
« Reply #3 on: October 13, 2009, 08:20:55 AM »
An unzip viewer plugin which is capable of handling password-protected zip archives makes sense to me. There have been similar posts in the past (see http://forums.rockbox.org/index.php?topic=17736).
It would add some useful functionality to protect private data (texts and photo galleries) of Rockbox users. Just think about thefts and losses.
Logged

Offline mkoenig

  • Member
  • *
  • Posts: 1
Re: 7Zip or other Archive Support
« Reply #4 on: October 28, 2009, 11:27:27 AM »
I dont know if this could ever work. Taking the memory consumption caused by the dictionary for compression/decompression into account, only files compressed using very small dictionaries will work on the current players. Plugins dont have that much memory available to them (512kb max iirc) and that just is not enough i believe.
Logged

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: 7Zip or other Archive Support
« Reply #5 on: October 28, 2009, 12:00:27 PM »
The default 7zip LZMA dictionary size limit is 16MB, so you only need ~17-18MB to decompress that - you could get it by stealing the audio buffer on most targets. Plugins can use more than the 512kb plugin buffer if they stop playback.

It still won't work on targets with less memory, of course, or on archives with larger dictionaries...
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  7Zip or other Archive Support
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.089 seconds with 14 queries.