Support and General Use > Theming and Appearance Customization

BROKEN THEMES: CHECK %P, %pb %m AND CustomWPS wiki page

(1/3) > >>

JdGordon:
it appears I closed the previous stick too early...

%P %pb and %m have all been changed recently so if your WPS isnt loading its most likely because of that...

http://www.rockbox.org/twiki/bin/view/Main/CustomWPS
http://www.rockbox.org/twiki/bin/view/Main/CustomWPS
http://www.rockbox.org/twiki/bin/view/Main/CustomWPS

(for the lazy)

%P and %m have been removed

%pb is now %pb|bmp|x|y|width|height| or just %pb

use viewports and conditional viewports to replace %m

For crying out loud... yes its the same link above 3 times... I could have made it 4 and I could have made it 1... I purposly chose 3... why? we'll never know, im an enigma.. but its 3, and will remain 3... which also happens to be the same amount of times its been discussed in IRC... what is so special about the number 3?

pondlife:
As jswetzen said elsewhere:


--- Quote ---The old format was:
%P|filename.bmp|
%pb|height|left-position|right-position|y-position(optional)|

and the new one is:
%pb|filename.bmp|x|y|width|height|

which means that:
x = left-position
y = y-position
width = right-position - left-position
height = height
and the filename is copied from the %P tag.

--- End quote ---

Please upload your corrected WPSes to the wiki.

pondlife

JdGordon:
removed the sticky but bumping to keep this on the front page for a little while longer.
Hopefully everyone has got the point by now :p

mmadia:
any chance of getting an example for rewriting a %m line in the new syntax?

Boofus:
or maybe at least an explanation of what the old %m syntax was??  I can't find it anywhere in the docs.

Boo

Navigation

[0] Message Index

[#] Next page

Go to full version