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:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  wps dosent work
« previous next »
  • Print
Pages: [1]

Author Topic: wps dosent work  (Read 2273 times)

Offline plasticfir

  • Member
  • *
  • Posts: 2
wps dosent work
« on: May 31, 2008, 08:22:52 PM »
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
« Last Edit: May 31, 2008, 08:32:10 PM by plasticfir »
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: wps dosent work
« Reply #1 on: May 31, 2008, 08:40:35 PM »
The WPS syntax changes periodically.  You need to update the non-working WPSs to the current syntax:

www.rockbox.org/wiki/CustomWPS
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline crumbut

  • Member
  • *
  • Posts: 6
Re: wps dosent work
« Reply #2 on: June 15, 2008, 08:14:46 PM »
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?  :-[
Logged

Offline karashata

  • Rockbox Expert
  • Member
  • *
  • Posts: 603
  • Just a fluffy dragon with too much time on my paws
    • Alex Vanderpol (karashata) on Twitter
Re: wps dosent work
« Reply #3 on: June 15, 2008, 08:41:05 PM »
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.
Logged
Welp, my iriver H10 20GB is out of commission again.

Offline crumbut

  • Member
  • *
  • Posts: 6
Re: wps dosent work
« Reply #4 on: June 15, 2008, 09:48:17 PM »
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: [Select]
%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>

Thanks
« Last Edit: June 15, 2008, 10:14:29 PM by crumbut »
Logged

Offline karashata

  • Rockbox Expert
  • Member
  • *
  • Posts: 603
  • Just a fluffy dragon with too much time on my paws
    • Alex Vanderpol (karashata) on Twitter
Re: wps dosent work
« Reply #5 on: June 15, 2008, 10:36:28 PM »
Um, wow...  That's definitely a WPS that needed a patched build...  You'll have to replace those %e tags with viewports (%V), and you'll need to do a lot of editing to get those to work correctly since the syntax is different.  I'd recommend looking at the syntax for the %V tag on the CustomWPS wiki page and editing those %e tags appropriately.  You'll also need to move the text after the tags down to the next line, and that first line will need quite a bit of tweaking and chopping to get it to work correctly...

You've certainly got your work cut out for you.  With the upcoming conditional viewports commit happening shortly (within the week, I believe), however, it may be better to wait so you can update it to what's going to be the new syntax.
Logged
Welp, my iriver H10 20GB is out of commission again.

Offline crumbut

  • Member
  • *
  • Posts: 6
Re: wps dosent work
« Reply #6 on: June 15, 2008, 10:42:02 PM »
Thanks :) I just noticed these themes have been removed from WPS gallery due to copyright stuffs.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  wps dosent work
 

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

Page created in 0.082 seconds with 16 queries.