Rockbox Technical Forums

Support and General Use => Theming and Appearance Customization => Topic started by: bootsbradford on July 23, 2008, 01:41:43 PM

Title: Help to update ChromeVis wps
Post by: bootsbradford on July 23, 2008, 01:41:43 PM
I'm asking for help to sort out a wps which does not seem to be supported anymore. I can see that there have been changes to wps syntax recently, but do not have the expertise to sort this out myself. I've looked at the relevant pages but need just a little bit of extra assistance, please!   ::)

It would seem that the problem lies at least with the %pb tag, but whether this is the only problem and how to resolve it are beyond me!

The wps is given below. I would be very grateful if someone could suggest the steps that I need to take to make this wps functional again.

Quote
# ChromeVis_1.2
# Created by Brian Dua (February 26, 2006)
# Download from http://www.students.bucknell.edu/bdua/ChromeVis.zip
# Use with font nimbus-14.fnt (preloaded with ROCKbox and included in download)
# WPS starts here
#
# Status bar off
%wd
# background bitmap
%x|A|bg.bmp|0|0|
# preload status bitmaps
# preload battery
%xl|B|batt_0.bmp|149|0|
%xl|C|batt_1.bmp|149|0|
%xl|D|batt_2.bmp|149|0|
%xl|E|batt_3.bmp|149|0|
%xl|F|batt_4.bmp|149|0|
# preload volume
%xl|G|vol_low.bmp|36|0|
%xl|H|vol1.bmp|36|0|
%xl|I|vol2.bmp|36|0|
%xl|J|vol3.bmp|36|0|
%xl|K|vol4.bmp|36|0|
%xl|L|vol5.bmp|36|0|
%xl|M|vol6.bmp|36|0|
%xl|N|vol7.bmp|36|0|
%xl|O|vol8.bmp|36|0|
%xl|P|vol9.bmp|36|0|
%xl|Q|vol10.bmp|36|0|
# preload shuffle and repeat
%xl|R|shuffle.bmp|65|0|
%xl|T|rptone.bmp|87|0|
%xl|U|rptall.bmp|87|0|
%xl|V|rptab.bmp|87|0|
%xl|W|rptmix.bmp|87|0|
# preload play mode
%xl|X|play.bmp|0|0|
%xl|Y|pause.bmp|0|0|
%xl|Z|stop.bmp|0|0|
%xl|a|ffwd.bmp|0|0|
%xl|b|rew.bmp|0|0|
%xl|c|pausetext.bmp|0|16|
%xl|d|ffwdtext.bmp|0|16|
%xl|e|rewtext.bmp|0|16|
# preload others
%xl|f|playing.bmp|0|14|
%xl|g|upnext1.bmp|0|99|
%xl|h|upnext2.bmp|60|111|
%xl|i|charge.bmp|147|0|
%xl|j|lckm.bmp|131|16|
%xl|k|lckr.bmp|116|16|
%xl|l|mp3.bmp|61|101|
%xl|m|wav.bmp|61|101|
%xl|n|ogg.bmp|61|101|
%xl|o|other.bmp|61|101|
# Status and song info
#NOTE THAT THE FOLLOWING LINES ARE VERY CROWDED BECAUSE I RAN OUT OF LINES AND HAD TO PLACE THINGS WHERE I DID NOT WANT TO
# battery
%ar%t1%?bp<%?bp<%xdi>%ar%bl%%   |%?bl<%xdB|%xdC|%xdD|%xdE|%xdF>%ar%bl%%   >;%ar%t1%?bp<%?bp<>|%?bl<|%xdC%ar%bl%%  |%xdD%ar%bl%%  |%xdE%ar%bl%%  |%xdF%ar%bl%%  >>
# flashing play mode bar
%ac%t0.3%?mp<%xdf%xdZ|%xdf%xdX|||>;%ac%t0.3%?mp<%xdf%xdZ|%xdf%xdX|%xdc%xdY|%xdd%xda|%xde%xdb>
# now playing artist or directory2, play mode icon, codec, volume, shuffle, repeat, hold
%?ia<%s%ac%ia|%s%ac%d2>%?fc<%xdo|%xdo|%xdl|%xdm|%xdn|%xdo|%xdo|%xdo|%xdo|%xdo>%?pv<%xdG|%xdH|%xdI|%xdJ|%xdK|%xdL|%xdM|%xdN|%xdO|%xdP|%xdQ>%?ps<%xdR>%?mm<|%xdU|%xdT|%xdW|%xdV>%?mr<%xdk>%?mh<%xdj>
# now playing album or directory1 and year if available
%?id<%s%ac%id%?iy< (%iy)>|%s%ac%d1%?iy< (%iy)>>
# now playing song title or filename w/out ext  AND  track number
%?it<%s%ac%it%t7|%s%ac%fn%t7>;%?pp<%ac[track %pp of %pe]%t3.5>;
# time info
%al%pc/%pt %ar-%pr%xdg%xdh
# progress bar
%pb|8|0|160|
# now playing file info - bitrate and size
%ar%?fb<%fbkbps>%t5; %ar%?fs<%fsKB>%t5
# next up file info
%al%t7%?It<%?It<%al%s%It|%al%s%Fn>>;%al%t7%?Ia<%?Ia<%al%s(%Ia)|%al%s(%D2)>>

Thanks in anticipation!  ;D