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:

Thank You for your continued support and contributions!

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

Author Topic: Need help with WPS  (Read 1115 times)

Offline rdtyphn

  • Member
  • *
  • Posts: 21
Need help with WPS
« on: November 12, 2010, 07:06:36 PM »
Ran the autoconverter and have been trying to figure out why this wps for an H140 does not work.  Any suggestions would be appreciated.  It is a very basic wps that looks fine on the "rockbox theme editor."
Thank you
Code: [Select]
%x(a,background.bmp,0,0)
%ac%s%?ia<%ia|%?d(2)<%d(2)|%(root%)>>
%ac%s%?id<%id|%?d(1)<%d(1)|%(root%)>>
%ac%s%?it<%?in<%in. |>%it|%fn>
%pb
%ac%pc/%pt    %?ps<[%ps]|   >    %?pp<[%pp/%pe]|>

%ac%?Ia<%s%Ia|%s%D(2)>
%ac%?It<%s%It|%s%D(1)>
%pm
%al%fsKb%ar%?fv<%fbK VBR|  %fbK> %fc
Logged

Offline biengo

  • Member
  • *
  • Posts: 12
Re: Need help with WPS
« Reply #1 on: November 13, 2010, 05:46:02 AM »
I'm guessing you are running 3.7 or a later daily build. If so you'd need to put the %pb tag in a non-default viewport whereas it is currently in the default viewport.
Code: [Select]
%Vi(x,y,width,hight,-)
%pb(0,0,-,-,-)

I'd recommend to define viewports for text display and %pm as well. If you dont't, they have to appear in the default viewport, that is before the viewport the progress bar sits in.
Logged

Offline pixelma

  • Rockbox Expert
  • Member
  • *
  • Posts: 645
Re: Need help with WPS
« Reply #2 on: November 13, 2010, 07:44:41 AM »
biengo: (I believe I told you already in another thread). Putting %pb in its own viewport is not needed as long as everything is in the default viewport and no other used and it was also not mentioned if there is an update problem or the WPS is not working at all.

So the question to the original poster is: what exactly is the problem on target and also which build is running when you try the WPS? I can't find something obviously wrong in the code posted but admit that I didn't look too hard yet (have to leave in a bit).
Logged

Offline littleevilllama

  • Member
  • *
  • Posts: 8
Re: Need help with WPS
« Reply #3 on: November 13, 2010, 09:11:18 AM »
Code: [Select]
#%x(a,background.bmp,0,0)
%wd
%ac%s%?ia<%ia|%?d(2)<%d(2)|%(root%)>>
%ac%s%?id<%id|%?d(1)<%d(1)|%(root%)>>
%ac%s%?it<%?in<%in. |>%it|%fn>
%pb
%ac%pc/%pt    %?ps<[%ps]|   >    %?pp<[%pp/%pe]|>

%ac%?Ia<%s%Ia|%s%D(2)>
%ac%?It<%s%It|%s%D(1)>
%pm
%al%fsKb%ar%?fv<%fbK VBR|  %fbK> %fc
Works... this is what I've done:
#%x(a,background.bmp,0,0)
%wd

so its either image, status bar or filename...
Logged

Offline rdtyphn

  • Member
  • *
  • Posts: 21
Re: Need help with WPS
« Reply #4 on: November 13, 2010, 04:12:58 PM »
I am running 3.7 on an H140.  The WPS did not work at all.


I tried the suggestions that were posted, and it looks like the line with the image was breaking the WPS.
Thank you for all the help!
« Last Edit: November 13, 2010, 04:22:28 PM by rdtyphn »
Logged

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

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

Page created in 0.083 seconds with 15 queries.