Support and General Use > Theming and Appearance Customization

wps not correctly showing on sansa e250r

<< < (3/3)

ONE_HUMAN:
As near as I can tell, it was changes committed to the build on November 14th that are responsible for the problems with some themes such as mine.  So perhaps using a simulator for a different model compiled on the 15th like you suggested will let me experiment.  Thanks for the idea.

Llorean:
If it still doesn't work, and there's no obvious conflicts between the code in your WPS and the code on the CustomWPS wiki page, post a bug report, as I'm sure there are a few people who'd be interested in knowing if parsing is broken somewhere.

ONE_HUMAN:
I believe I've figured it out.  I was able to test on the Toshiba Gigabeat simulator.  It appears I was missing the closing pipe on a lot of lines, which was parsing okay before, but now with the stricter settings, it wasn't passing.  Here is an example of my old code (some of which was borrowed from other themes):


--- Code: ---%X|backdrop_blue.bmp|0|0
%P|progbar.bmp|
%xl|a|batt_100.bmp|143|2
%xl|b|batt_075.bmp|143|2
%xl|c|batt_050.bmp|143|2
%xl|d|batt_025.bmp|143|2
%xl|e|batt_000.bmp|143|2
%xl|f|pause.bmp|77|191
%xl|g|vol_00.bmp|3|3
%xl|h|vol_01.bmp|3|3
%xl|i|vol_02.bmp|3|3
%xl|j|vol_03.bmp|3|3
%xl|k|vol_04.bmp|3|3
%xl|l|vol_05.bmp|3|3
%xl|m|vol_06.bmp|3|3
%xl|n|vol_07.bmp|3|3
%xl|o|vol_08.bmp|3|3
%xl|p|vol_09.bmp|3|3
%xl|q|vol_10.bmp|3|3
%xl|r|vol_11.bmp|3|3
%xl|s|vol_12.bmp|3|3
%xl|t|vol_13.bmp|3|3
%xl|u|vol_14.bmp|3|3
%xl|v|vol_15.bmp|3|3
%xl|w|vol_16.bmp|3|3
%xl|x|vol_17.bmp|3|3
%xl|y|vol_18.bmp|3|3
%xl|z|vol_19.bmp|3|3
%xl|A|vol_20.bmp|3|3
%xl|B|rep_song.bmp|116|4
%xl|C|rep_all.bmp|116|4
%xl|D|rep_ab.bmp|116|4
%xl|E|shuff.bmp|89|4
%wd
                   

%al %pv dB %ar %cl:%cM %cp



%s%ac%?ia
%s%ac%?it


%s%acNext: %?It



%t1 %?mp;%t1 %?mp

%pb|height|0|176|184|



%?bl
%?mm
%?ps
%?mp
%?pv
--- End code ---

.....

You'll notice a lot of lines, including the very first one, don't have a closing pipe:

%X|backdrop_blue.bmp|0|0

should be:

%X|backdrop_blue.bmp|0|0|

So here is my revised code:


--- Code: ---%X|backdrop_blue.bmp|0|0|
%P|progbar.bmp|
%xl|a|batt_100.bmp|143|2|
%xl|b|batt_075.bmp|143|2|
%xl|c|batt_050.bmp|143|2|
%xl|d|batt_025.bmp|143|2|
%xl|e|batt_000.bmp|143|2|
%xl|f|pause.bmp|77|191|
%xl|g|vol_00.bmp|3|3|
%xl|h|vol_01.bmp|3|3|
%xl|i|vol_02.bmp|3|3|
%xl|j|vol_03.bmp|3|3|
%xl|k|vol_04.bmp|3|3|
%xl|l|vol_05.bmp|3|3|
%xl|m|vol_06.bmp|3|3|
%xl|n|vol_07.bmp|3|3|
%xl|o|vol_08.bmp|3|3|
%xl|p|vol_09.bmp|3|3|
%xl|q|vol_10.bmp|3|3|
%xl|r|vol_11.bmp|3|3|
%xl|s|vol_12.bmp|3|3|
%xl|t|vol_13.bmp|3|3|
%xl|u|vol_14.bmp|3|3|
%xl|v|vol_15.bmp|3|3|
%xl|w|vol_16.bmp|3|3|
%xl|x|vol_17.bmp|3|3|
%xl|y|vol_18.bmp|3|3|
%xl|z|vol_19.bmp|3|3|
%xl|A|vol_20.bmp|3|3|
%xl|B|rep_song.bmp|116|4|
%xl|C|rep_all.bmp|116|4|
%xl|D|rep_ab.bmp|116|4|
%xl|E|shuff.bmp|89|4|
%wd
                   

%al %pv dB %ar %cl:%cM %cp



%s%ac%?ia
%s%ac%?it


%s%acNext: %?It



%t1 %?mp;%t1 %?mp

%pb|6|0|176|184|



%?bl
%?mm
%?ps
%?mp
%?pv
--- End code ---

.....

Hopefully this helps anyone else out that is experiencing similar problems.

Having the word "height" in as one of the progress bar settings didn't cause a problem, but I have changed it anyway to indicate the actual pixel height.  It really has no effect in my theme because I'm using an image to define the progress bar.  Whether I change the value to 2 or 20, my progress bar maintains the height of the image being used -- 6 pixels.

Navigation

[0] Message Index

[*] Previous page

Go to full version