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
| | |-+  Please help me on my Sansa WPS theme
« previous next »
  • Print
Pages: [1]

Author Topic: Please help me on my Sansa WPS theme  (Read 2018 times)

Offline carpenter940

  • Member
  • *
  • Posts: 6
Please help me on my Sansa WPS theme
« on: October 05, 2007, 09:37:37 PM »
Almost done with the theme but for some reason I cant get these sections to display:
1. My battery indicator has bat0-bat6, but bat0,bat5 and bat6 won't show up on screen in simulator.
2. NONE of my replay (repeat) show up on screen in simulator.

Everything else is fine, I just need help figuring out what I'm missing.

Thank you for any help

Download the wps here
Logged

Offline jswetzen

  • Artist
  • Member
  • *
  • Posts: 113
Re: Please help me on my Sansa WPS theme
« Reply #1 on: October 06, 2007, 03:56:36 AM »
Sorry, I'm not going to register on  the "anythingbutipod.com" forum just to help you with your theme, but if you could post the code here (use the code tags) or upload the theme to a site like mediafire or yousendit I could take a look at it.

Anyhow, misspellings of filenames or tags might be the problem. Is it only the simulator that has the problems or is it the same on target?
« Last Edit: October 06, 2007, 03:59:30 AM by jswetzen »
Logged

Offline HRM

  • Member
  • *
  • Posts: 11
Re: Please help me on my Sansa WPS theme
« Reply #2 on: October 06, 2007, 09:48:22 AM »
I am not sure the sim will display everything exactly as the device will. I suggest you load the theme on your device and see how it behaves there.

Logged

Offline crzyboyster

  • Member
  • *
  • Posts: 362
  • Proud iPod Nano User!
Re: Please help me on my Sansa WPS theme
« Reply #3 on: October 06, 2007, 11:39:53 AM »
ok, here's what i would check:

1. check that you have all of the battery images on the top part (a,b,c,d,etc.)
2. make sure that it's properly linked up to your actual wps code.

that should work...

ps also with the repeat, you need to add in the top code and add the bottom code from the wps guide...
Logged
My iPod Nano themes: AAPodSVN - PHK1 Remix - Cabbie 3.0 - Christmas - corners

Offline carpenter940

  • Member
  • *
  • Posts: 6
Re: Please help me on my Sansa WPS theme
« Reply #4 on: October 06, 2007, 02:45:13 PM »
Thank you for the responses!

Quote from: jswetzen on October 06, 2007, 03:56:36 AM
Sorry, I'm not going to register on  the "anythingbutipod.com" forum just to help you with your theme
Sorry, I thought you could download it without registering first. I've uploaded it to here

Quote
if you could post the code here (use the code tags) I could take a look at it.
Here's the code, in case you don't want to download it.
Code: [Select]
%X|msc.bmp|
%P|pbar.bmp|
%xl|a|vol0.bmp|0|127|
%xl|b|vol1.bmp|0|127|
%xl|c|vol2.bmp|0|127|
%xl|d|vol3.bmp|0|127|
%xl|e|vol4.bmp|0|127|
%xl|f|vol5.bmp|0|127|
%xl|g|vol6.bmp|0|127|
%xl|o|rew.bmp|0|74|
%xl|k|fd.bmp|0|74|
%xl|l|play.bmp|0|74|
%xl|m|pause.bmp|0|74|
%xl|n|hold.bmp|134|76|
%xl|A|bat0.bmp|150|130|
%xl|B|bat1.bmp|150|130|
%xl|C|bat2.bmp|150|130|
%xl|D|bat3.bmp|150|130|
%xl|E|bat4.bmp|150|130|
%xl|F|bat5.bmp|150|130|
%xl|G|bat6.bmp|150|130|
%xl|P|shuffle.bmp|124|110|
%xl|J|rep0.bmp|67|76|
%xl|R|repall.bmp|67|76|
%xl|L|repone.bmp|67|76|
%xl|M|repshuff.bmp|67|76|
%xl|N|repab.bmp|67|76|

%s%ac%?it<%it|(Title Unknown)>
%s%ac%?ia<%ia|(Artist Unknown)>
%s%ac%?id<%id|(Album Unknown)>  
%pb|10|10|166|









%ac Track: %ppof%pe
%ac%fc %fbkbps
%ac%ig
%ac%cb %cd, %cH:%cM
#
# Battery ind
%?bl<%xdA|%xdB|%xdC|%xdD|%xdE|%xdF|%xdG>
#
# Vol ind
%?pv<%xda|%xdb|%xdc|%xdd|%xde|%xdf|%xdg>
#
# play rew ffwd pause stop(hold) mode
%?mp<%xdm|%xdl|%xdm|%xdk|%xdo>
#
# hold
%?mh<%xdn>
#
# repeat mode
%?mm<%xdJ|%xdR|%xdL|%xdM|%xdN>
#
# Shuffle
%?ps<%xdP|>

Quote
Is it only the simulator that has the problems or is it the same on target?

It does the same thing on my Sansa as it does in the simulator.
Logged

Offline PaulJam

  • Member
  • *
  • Posts: 170
Re: Please help me on my Sansa WPS theme
« Reply #5 on: October 06, 2007, 03:15:23 PM »
Hi,

it looks as if the size of images is too big. The total size of all images is limited to twice the screen resolution as far as i know.
with your wps you can propably solve this by shrinking the images to only these parts of the images that differ from the backdrop.
« Last Edit: October 06, 2007, 03:17:02 PM by PaulJam »
Logged

Offline carpenter940

  • Member
  • *
  • Posts: 6
Re: Please help me on my Sansa WPS theme
« Reply #6 on: October 06, 2007, 04:06:09 PM »
Quote from: PaulJam on October 06, 2007, 03:15:23 PM
Hi,

it looks as if the size of images is too big. The total size of all images is limited to twice the screen resolution as far as i know.
with your wps you can propably solve this by shrinking the images to only these parts of the images that differ from the backdrop.

Ahhh, you hit the nail on the head. I shrunk them and they work now. I still don't get the bat0.bmp (battery0.bmp) to show up though, it immediately goes from bat1.bmp to bat6.bmp. Does the simulator not show when the battery is at zero? I guess I could run my player down to zero and see what happens, but I'll wait here to see if the bat1 to bat6 senerio is true.

Thank you all for your help.

PS here's the new code:
Code: [Select]
%X|msc.bmp|
%P|pbar.bmp|
%xl|a|vol0.bmp|0|127|
%xl|b|vol1.bmp|0|127|
%xl|c|vol2.bmp|0|127|
%xl|d|vol3.bmp|0|127|
%xl|e|vol4.bmp|0|127|
%xl|f|vol5.bmp|0|127|
%xl|g|vol6.bmp|0|127|
%xl|o|rew.bmp|0|74|
%xl|k|fd.bmp|0|74|
%xl|l|play.bmp|0|74|
%xl|m|pause.bmp|0|74|
%xl|n|hold.bmp|134|76|
%xl|A|bat0.bmp|158|205|
%xl|B|bat1.bmp|158|193|
%xl|C|bat2.bmp|158|181|
%xl|D|bat3.bmp|158|169|
%xl|E|bat4.bmp|158|157|
%xl|F|bat5.bmp|158|145|
%xl|H|bat6.bmp|158|133|
%xl|P|shuffle.bmp|124|110|
%xl|J|rep0.bmp|69|89|
%xl|R|repall.bmp|69|101|
%xl|L|repone.bmp|69|113|
%xl|M|repshuff.bmp|69|125|
%xl|N|repab.bmp|69|137|

%s%ac%?it<%it|(Title Unknown)>
%s%ac%?ia<%ia|(Artist Unknown)>
%s%ac%?id<%id|(Album Unknown)>  
%pb|10|10|166|









%ac Track: %ppof%pe
%ac%fc %fbkbps
%ac%ig
%ac%cb %cd, %cH:%cM
#
# Battery ind
%?bl<%xdA|%xdB|%xdC|%xdD|%xdE|%xdF|%xdH>
#
# Vol ind
%?pv<%xda|%xdb|%xdc|%xdd|%xde|%xdf|%xdg>
#
# play rew ffwd pause mode
%?mp<%xdn|%xdl|%xdm|%xdk|%xdo>
#
# repeat mode
%?mm<%xdJ|%xdR|%xdL|%xdM|%xdN>
#
# Shuffle
%?ps<%xdP|>
#
# hold
#%?mh<%xdn>
« Last Edit: October 06, 2007, 09:20:44 PM by carpenter940 »
Logged

Offline PaulJam

  • Member
  • *
  • Posts: 170
Re: Please help me on my Sansa WPS theme
« Reply #7 on: October 06, 2007, 04:18:40 PM »
From the wiki (http://www.rockbox.org/twiki/bin/view/Main/CustomWPS):
Quote
%bl     Show numeric battery level in percent. Can also be used in a conditional: %?bl<-1|0|1|2|...|N>
where the -1 value is used when the battery level isn't known (it usually is)
So bat0.bmp is only shown when the level is unknown, which shouldn't happen.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Please help me on my Sansa WPS theme
 

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

Page created in 0.091 seconds with 15 queries.