Support and General Use > Theming and Appearance Customization

wps dosent work

(1/2) > >>

plasticfir:
a quarter of my themes installed on my gigabeat X do not have working wps. instead it is replaced by the default wps (artist, track,peakmeter) i installed the themes using the rockbox utility and have tried replacing the wps.
some themes that do not work:
back
yellowprint
pixel
pallette

AlexP:
The WPS syntax changes periodically.  You need to update the non-working WPSs to the current syntax:

www.rockbox.org/wiki/CustomWPS

crumbut:
Hi, I am not a code man at all. I can skin like no tomorrow but code always leves me scratching my head.. till I learn what the basics are.

with that..... Can you please explain what you mean by syntax? I read it and it looks like we have to recompile something to make a theme work. I do not understand. Im looking at the .wps and .cfg files wondering what line of code needs to be repaired.

Example on my Ipod 5g the theme "Ipod Ubuntu" works fine and a few others do as well, but most do not. So I look at (for example) jClix-1, jClix-2, etc... and they all appear to be using the same basic code. So what am I missing?  :-[

karashata:
Some themes may require unsupported, patched builds that introduce tags that aren't used in the official Rockbox builds.  Others may use tags that have had their syntax changed slightly.  The syntax is basically the way the code is written.  What you'd need to do is go through the WPS code in the .wps files (the .cfg files are probably fine) and compare the tags (anything with a % and letters following it) to the tags on the CustomWPS wiki page.  If something doesn't match, you'd need to make it look similar to the way it looks on the wiki page.  If you can't find a tag on the wiki page that's used in the theme, that means the tag either was replaced with something different, or is introduced by a patch required for that theme to work.  In those cases, you either have to find what tag replaced it, or remove it and possibly use other tags to get the same effect.

crumbut:
Thanks for the reply. I'll have a look at some .wps's :)

These are all themes that are on the WPS gallery... suggestion: Maybe the themes that only work with unsupported patches should be in another section?

Just a thought.

EDIT:
so here is an unsupported tag (%e) what should I replace it with? This is from jClix-1

--- Code: ---%e|11|10|100|1|B8C8E1|%al%cI:%cM %cp;%e|11|10|100|1|B8C8E1|%al%ca, %cd %cb %cy;%e|11|10|100|1|B8C8E1|%alBattery: %bt
%e|11|219|32|1|B8C8E1|%al%?mm<Music|Repeat|Repeat|Repeat|Repeat|>
%e|70|219|32|1|B8C8E1|%al%pv
%e|250|219|59|1|B8C8E1|%ar%?ps<Shuff. |>%?mm<|All |One |S |A-B |>%pp of %pe
%e|145|65|130|4|FFFFFF|%al%s%?ia<%ia|%?d2<%d2|(Artist Unknown)>>
%e|147|88|45|1|FFFFFF|%al%pt
%e|257|88|45|1|FFFFFF|%al%pc
%e|145|120|130|3|FFFFFF|%al%s%?id<%id|%?d1<%d1|(Album Unknown)>>
%e|145|137|130|3|FFFFFF|%al%s%?it<%it|%fn>
%e|145|165|130|2|B8C8E1|%al%sNext: %?It<%It|%Fn>

--- End code ---

Thanks

Navigation

[0] Message Index

[#] Next page

Go to full version