Support and General Use > Theming and Appearance Customization
WPS Tag Changes since 3.0?
Angus_NB:
Have there been changes in WPS Tags or structure since 3.0?
I have been looking for two days and reading everything I can find but I can't find anything.
Hardware: Sansa e260 V1
I am legally blind so I use two custom large font WPS Themes that I wrote. Recently I updated Rockbox from version 3.0 to 3.3. My custom WPS no longer work. I just get a blank screen.
They are fairly simple WPS.
Five viewports: currently playing, track time, next song, clock and battery level.
No progress or volume bars.
Playback, Repeat and Shuffle graphic indicators.
Thanks
audio-i:
It might be related to something like this: http://forums.rockbox.org/index.php?topic=22540.msg154905#msg154905
--- Quote ---(the WPS parser got stricter especially with handling the %xl and %xd tags).
--- End quote ---
But if you post your code, we could give it a look to try and find out
Angus_NB:
Thanks.
Here is the main WPS I use for music.
I'll take a better look at the %xl tags.
Edit: I found the problem.
The Condition statements that call the preloaded graphics have to come after the graphics loading lines in the WPS file. This makes sense but the order didn't matter before.
Original
--- Code: ---#
# Condition statements - Playback, Repeat, Shuffle
%?mp<%xdA|%xdB|%xdC|%xdD|%xdE>
%?mm<%xdi|%xdj|%xdk|%xdl>
%?ps<%xdm|%xdn>
#
# Repeat and Shuffle
%xl|i|rep_off.bmp|31|6|
%xl|j|rep_all.bmp|31|6|
%xl|k|rep_one.bmp|31|6|
%xl|l|rep_shu.bmp|31|6|
%xl|m|shuff_on.bmp|64|6|
%xl|n|shuff_of.bmp|64|6|
#
# Playback mode
%xl|A|stop.bmp|4|6|
%xl|B|play.bmp|4|6|
%xl|C|pause.bmp|4|6|
%xl|D|ff.bmp|4|6|
%xl|E|rw.bmp|4|6|
#
--- End code ---
Modified
--- Code: ---#
# Repeat and Shuffle
%xl|i|rep_off.bmp|31|6|
%xl|j|rep_all.bmp|31|6|
%xl|k|rep_one.bmp|31|6|
%xl|l|rep_shu.bmp|31|6|
%xl|m|shuff_on.bmp|64|6|
%xl|n|shuff_of.bmp|64|6|
#
# Playback mode
%xl|A|stop.bmp|4|6|
%xl|B|play.bmp|4|6|
%xl|C|pause.bmp|4|6|
%xl|D|ff.bmp|4|6|
%xl|E|rw.bmp|4|6|
#
# Condition statements - Playback, Repeat, Shuffle
%?mp<%xdA|%xdB|%xdC|%xdD|%xdE>
%?mm<%xdi|%xdj|%xdk|%xdl>
%?ps<%xdm|%xdn>
#
--- End code ---
audio-i:
--- Quote from: Angus_NB on September 02, 2009, 02:04:20 PM ---Edit: I found the problem.
The Condition statements that call the preloaded graphics have to come after the graphics loading lines in the WPS file. This makes sense but the order didn't matter before.
--- End quote ---
good ;)
BruceHP:
I am also legally blind, what large Font are you using?
BTW, Here is the WPS that I am using with the WideCabbie theme.
%wd
%al%bt%ar%cl:%cM%cP
%ac%pp of %pe
%pm
%s%ac%?it<%it|%fn>
%s%ac%?ia<%ia|%?d2<%d2|(Artist Unknown)>>
%al%pc%ar-%pr
%al%fbk%ac%pvdb%ar%fc
%pb|-|-|175|-|35|
It is maybe the opposite of your info, but I find that I can tell if the player is playing and the progress without my 20x magnifier.
You might like it even better by using the "Clear Background" command.
Navigation
[0] Message Index
[#] Next page
Go to full version