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:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Self-contained theme files?
« previous next »
  • Print
Pages: [1]

Author Topic: Self-contained theme files?  (Read 1479 times)

Offline lanfear

  • Member
  • *
  • Posts: 26
Self-contained theme files?
« on: January 25, 2008, 04:36:56 PM »
What's the take on implementing self-contained theme files, versus the current "unzipping stuff into all kinds of places"?

I could imagine that storage efficiency (themes share fonts etc.) would've been a good reason back in the days, but not anymore. Or maybe it's something else, I'm curious!

Best regards,

lf
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Self-contained theme files?
« Reply #1 on: January 25, 2008, 04:40:30 PM »
Storage wasn't a reason for themes anyway -- the space in RAM that's needed to load the theme is what's limited, the only resource we have plenty of is hard disc space. But what's the issue with extracting a zip? It isn't complicated, and supporting self-containing themes would require more complex code.

I did a try for themes based upon tar files but that had a noticeable speed penalty when loading. While I'm still interested in that topic I haven't found the time to look into it again.
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Self-contained theme files?
« Reply #2 on: January 25, 2008, 04:46:09 PM »
Nico_P has recently been looking into using a single tar file for all the image files, which seems to speed up loading of themes due to saving on expensive disk seeks/reads for image heavy WPSs.
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline lanfear

  • Member
  • *
  • Posts: 26
Re: Self-contained theme files?
« Reply #3 on: January 25, 2008, 05:48:08 PM »
Thanks for the replies!

The reason I brought self-contained themes / single file themes up is because of reasons like:

- they don't clutter your system
- they're easier to transport from your system
- they minimize the risk of installation problems

I think that's why most other media software use self-contained themes.

Of course, I don't know how difficult it is to implement, but I just think it would be a nice touch and it would make Rockbox feel like a more mature & streamlined system.
Logged

Offline NicolasP

  • Developer
  • Member
  • *
  • Posts: 195
Re: Self-contained theme files?
« Reply #4 on: January 26, 2008, 10:53:18 AM »
As BigBambi said, there is a patch that allows loading all bitmaps for a WPS from a single tar file: FS#6571. However I don't think whole themes as a single file is likely to ever happen, as a theme is made of various independent parts (WPS, font, menu backdrop, colours, icons...)
Logged

Offline MarcGuay

  • Rockbox Expert
  • Member
  • *
  • Posts: 1065
Re: Self-contained theme files?
« Reply #5 on: January 26, 2008, 11:04:15 AM »
Quote from: NicolasP on January 26, 2008, 10:53:18 AM
..as a theme is made of various independent parts (WPS, font, menu backdrop, colours, icons...)

It seems to me like if this was to be done properly, it would also require another piece of software to save all the different pieces in a single file.  (Which is pretty much what's done right now with .zip files, self-extracting ones being even closer to the idea).  Perhaps if a Rockbox Theme designer application was ever created it could make the process of both making and installing them friendlier.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Self-contained theme files?
 

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

Page created in 0.09 seconds with 15 queries.