Support and General Use > Theming and Appearance Customization
WPS problem
Ghost Toast:
Hi All,
I'm having a problem creating my own theme. When I try to copy other people's themes and put them in the file of my own theme, (I have buttons named play and pause) and try it out, it goes back to the default wps (song info, peak meter).
Can anybody tell me what language it's in, and what I did wrong and need to do to fix it?
I attatched the file of the theme I created.
PaulJam:
The "WPS language" is described here:
http://www.rockbox.org/twiki/bin/view/Main/CustomWPS
The wps file looks fine (apart from the stray TAB characters, which may cause an unwanted placeholder glyph to display).
Check if the three bitmaps are in the correct folder and the names match those specified in the wps file.
wintermute23:
Yeah, the code you have looks good. But if it can't find the images that would cause it to bomb out. If the WPS is /.rockbox/wps/Rockbox.wps then the images should be in a folder called /.rockbox/wps/Rockbox/
Also, depending on your screen size, I'd question the big block of blank space after the image loads. Each of those blank lines will be replicated on-screen, which may well push the information off the bottom.
Ghost Toast:
Okay, I did what you told me to do, and I had all the images on there, in the right place, but, when I loaded it, once again, it went back to the default wps. It didn't display anything I did. It seems like the only pictures I can put in there are the backdrop and progress bar. Whenever I try to put a play or pause or any other button in there, it goes back to the default wps. Any other slight changes I do to the file, it goes back to the default wps. I attatched the code again, too.
PaulJam:
Please try to load the wps in the uisimulator. The output in the console should give some hints what goes wrong.
You find precompiled windows binaries here:
http://rasher.dk/rockbox/simulator/
Navigation
[0] Message Index
[#] Next page
Go to full version