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:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Adding a Theme to the build
« previous next »
  • Print
Pages: [1]

Author Topic: Adding a Theme to the build  (Read 2192 times)

Offline Fatman

  • Member
  • *
  • Posts: 6
Adding a Theme to the build
« on: January 12, 2008, 03:31:43 AM »
Personally I love the Cabbie 3.0 Theme.
I was wondering how I went about adding this to my build?

The file structure of the build directory and the Theme are different.

I searched the WIKI but found nothing
Logged

Offline cool_walking_

  • Rockbox Expert
  • Member
  • *
  • Posts: 695
Re: Adding a Theme to the build
« Reply #1 on: January 12, 2008, 05:46:30 AM »
By "my build" and "build directory" do you mean the source code?* You don't need to compile just to add a theme. Inside the theme .zip file, there should be a .rockbox directory, which you just drop into the root of your player.

EDIT: *Yes, I did forget which forum I was in.
Logged

Offline Fatman

  • Member
  • *
  • Posts: 6
Re: Adding a Theme to the build
« Reply #2 on: January 12, 2008, 03:33:48 PM »
Yeah, i know that. But i'm compiling my own build and by default it comes with 4 themes. I want to include a theme in the build so people can already have that theme pre-installed when they install my build instead of havin to apply it afterwards. That make any more sense?
Logged

Offline cool_walking_

  • Rockbox Expert
  • Member
  • *
  • Posts: 695
Re: Adding a Theme to the build
« Reply #3 on: January 13, 2008, 07:42:34 AM »
Ahh okay.

From a preliminary once-over, /wps/FILES and /wps/WPSLIST look interesting. Obviously all the wps/theme-name.x.y.z.wps files are display-specific versions of the WPSes.
It looks like WPSLIST's <wps></wps> stanza is going to generate a theme .cfg file for you.  Looks like the <rwps></rwps> stanzas are for remote control LCD themes, so you probably don't need to worry about that.  If your theme uses a font not included in the default build, you'll need to copy it into /fonts/.

I don't have a build environment on this PC (I couldn't say I'd really be bothered testing anyway), and pretty much all of this I just guessed from looking at the source structure on SVN ... but that seems like it should do it.

EDIT: I probably should have read the header on WPSLIST first as it confirms some of what I just said...

Also, mods... what is the point of allowing BBcode and HTML? It's just annoying when my angle brackets disappear.
« Last Edit: January 14, 2008, 04:48:17 AM by cool_walking_ »
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Adding a Theme to the build
 

  • SMF 2.0.18 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.208 seconds with 19 queries.