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
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Adding theme to sdlapp
« previous next »
  • Print
Pages: [1]

Author Topic: Adding theme to sdlapp  (Read 1164 times)

Offline PaulF

  • Member
  • *
  • Posts: 49
Adding theme to sdlapp
« on: June 26, 2015, 11:05:35 PM »
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.
Logged

Offline PaulF

  • Member
  • *
  • Posts: 49
Re: Adding theme to sdlapp
« Reply #1 on: June 27, 2015, 05:12:17 AM »
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.


Logged

Offline PaulF

  • Member
  • *
  • Posts: 49
Re: Adding theme to sdlapp
« Reply #2 on: June 27, 2015, 03:14:31 PM »
Got it started. Need to find bigger bmps

* rockbox.JPG (42.62 kB, 662x444 - viewed 245 times.)
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Adding theme to sdlapp
 

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

Page created in 0.045 seconds with 15 queries.