Support and General Use > Theming and Appearance Customization

Adding theme to sdlapp

(1/1)

PaulF:
I made a simple "hello world" wps that just shows album art or text, like my Fuze ThinMod.wps trimmed down and re-sized to just the album art. checkwps passes.

Where do I put the wps? I tried the standard /.rockbox wps and themes directories. I have read the wps tag spec. I have spent a lot of time reading menu source code(I like reading code. What can I say?). I'm stumped. I even installed a known good theme in ./rockbox that is also not listed in the Themes Browser. I know the rockbox root is correct because /.rockbox/shortcuts.txt has my shutdown shortcut.

Do I have to use WPSLIST and recompile? The compiled in caddiev2 picked for my 656x416 frame buffer(NTSC TV minus over scan used by the Raspberry Pi) is too small.

PaulF:
I had all kinds of trouble with permisions for /.rockbox. I wondered why someone would put user files in the root directory. It turns out they didn't put files in the root directory. The /.rockbox files files are mapped to /usr/local/share/rockbox.

I put this line in app_open function  printf("Special file %s\n Real %s\n\n", path, realpath); and got:
Special file /.rockbox/wps/cabbiev2.wps
 Real /usr/local/share/rockbox/wps/cabbiev2.wps

It is late so I haven't tried removing /.rockbox. yet. More questions later. I have to see how sys call  open was overridden by app_open. You learn something every day, I guess.


PaulF:
Got it started. Need to find bigger bmps

Navigation

[0] Message Index

Go to full version