Rockbox Technical Forums
Rockbox Development => Starting Development and Compiling => Topic started by: Fatman 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
-
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.
-
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?
-
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.