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
| | |-+  WPS problem
« previous next »
  • Print
Pages: [1]

Author Topic: WPS problem  (Read 2404 times)

Offline Ghost Toast

  • Member
  • *
  • Posts: 33
WPS problem
« on: June 20, 2008, 01:43:01 PM »
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.
* RockboxWPS.txt (0.33 kB - downloaded 116 times.)
Logged
Rockboxed Sansa e270 on Kugel Build, Themed 1.2.24A original firmware.

Offline PaulJam

  • Member
  • *
  • Posts: 170
Re: WPS problem
« Reply #1 on: June 20, 2008, 02:13:01 PM »
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.
Logged

Offline wintermute23

  • Member
  • *
  • Posts: 116
  • What Would Batman Do?
Re: WPS problem
« Reply #2 on: June 20, 2008, 04:20:03 PM »
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.
Logged
Past: iRiver H320 w/ 32GB CF card mod; iPod 4th Gen 30GB; iPod 5th Gen 30GB

Present: iPod Classic 80GB

Offline Ghost Toast

  • Member
  • *
  • Posts: 33
Re: WPS problem
« Reply #3 on: June 20, 2008, 04:54:07 PM »
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.
* RockboxWPS.txt (0.33 kB - downloaded 98 times.)
Logged
Rockboxed Sansa e270 on Kugel Build, Themed 1.2.24A original firmware.

Offline PaulJam

  • Member
  • *
  • Posts: 170
Re: WPS problem
« Reply #4 on: June 20, 2008, 05:07:53 PM »
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/
Logged

Offline MarcGuay

  • Rockbox Expert
  • Member
  • *
  • Posts: 1065
Re: WPS problem
« Reply #5 on: June 20, 2008, 05:09:21 PM »
You're loading your images but aren't displaying them.  That doesn't explain why it's breaking, though.
Logged

Offline BdN3504

  • Artist
  • Member
  • *
  • Posts: 323
Re: WPS problem
« Reply #6 on: June 21, 2008, 10:34:03 AM »
Why don't you upload a zip file, which contains all the images you created along with the wps code. Maybe you add an image of what you would like your wps to look, something like a sketch.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: WPS problem
« Reply #7 on: June 23, 2008, 12:06:48 PM »
Look at the commit log. Several things changed with WPS support recently.
Logged

Offline robin0800

  • Member
  • *
  • Posts: 291
  • Freeman
Re: WPS problem
« Reply #8 on: June 23, 2008, 12:32:31 PM »
The progress bar tag has changed its now either
%pb     
or
%pb|bitmap|x|y|width|height|
Logged

Offline mschneider

  • Member
  • *
  • Posts: 235
Re: WPS problem
« Reply #9 on: June 23, 2008, 01:39:00 PM »
fill in the %pb tag exactly as it's described. The name of the bitmap, the x and y coordinates of the bar, then the width and the height.
Your downloaded themes are probably not working because they use the old form of the progress bar tag, which was just broken earlier today.
Logged

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

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

Page created in 0.166 seconds with 21 queries.