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:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Help with modifying the c200 "Nature" theme?
« previous next »
  • Print
Pages: [1]

Author Topic: Help with modifying the c200 "Nature" theme?  (Read 3427 times)

Offline OldiesButGoodies

  • Member
  • *
  • Posts: 15
Help with modifying the c200 "Nature" theme?
« on: October 13, 2008, 02:52:40 PM »
I really like the "Nature" theme for my player, but I wanted to edit it to include a couple more features.

I added in a line for the current time and date, and also added in the VU meter. I read on the Wiki pages how to make the cover-art only appear when the "hold" button is pressed, but I couldn't make that work. If there is cover-art present then none of the other info shows up.

How can I modify this so that cover-art only shows when the "hold" button is switched to ON?

Here's my "Nature2" WPS file:

Code: [Select]
%wd
%X|wpsbackdrop-132x80x16.bmp|
%xl|A|lock-132x80x16.bmp|125|1|2|
%xl|B|battery-132x80x16.bmp|1|1|16|
%xl|C|volume-132x80x16.bmp|66|3|26|
%xl|D|shuffle-132x80x16.bmp|43|1|
%xl|E|repeat-132x80x16.bmp|23|1|4|
%xl|F|playmode-132x80x16.bmp|2|60|5|
%Cl|3|14|c40|c40|
%pb|pb-132x80x16.bmp|12|61|118|5|
%?C<%C%Vda|%Vdb>

#Images
%?mh<%xdAa|%xdAb>
%?bp<%?bc<%xdBa|%xdBb>|%?bl<|%xdBc|%xdBd|%xdBe|%xdBf|%xdBg|%xdBh|%xdBi|%xdBj|%xdBk|%xdBl|%xdBm|%xdBn|%xdBo|%xdBp>>
%?pv<%xdCa|%xdCb|%xdCc|%xdCd|%xdCe|%xdCf|%xdCg|%xdCh|%xdCi|%xdCj|%xdCk|%xdCl|%xdCm|%xdCn|%xdCo|%xdCp|%xdCq|%xdCr|%xdCs|%xdCt|%xdCu|%xdCv|%xdCw|%xdCx|%xdCy|%xdCz>
%?ps<%xdD>
%?mm<|%xdEa|%xdEb|%xdEc|%xdEd>
%?mp<%xdFa|%xdFb|%xdFc|%xdFd|%xdFe>

#NowPlaying
%Vl|b|0|11|-|49|1|-|-|
%s%ac%?in<%in.> %?it<%it|%fn>
%s%ac%t5%?ia<%ia|%?d2<%d2|...>>;%s%ac%t5%?id<%id|%?d1<%d1|...>>
%t0.50 %?mp<%al %fc/%fbkb %ar-:--/-:-- |%al %fc/%fbkb%ar%pc/%pt |%al %fc/%fbkb%ar%pc/%pt |%al %fc/%fbkb%ar%pc/%pt |%al Seeking%ar%pc/%pt >;%t0.50 %?mp<%al %fc/%fbkb %ar-:--/-:-- |%al %fc/%fbkb%ar%pc/%pt |%al %fc/%fbkb           |%al %fc/%fbkb%ar%pc/%pt |%al Seeking%ar%pc/%pt >
%s%acNext: %?It<%It|%?Fn<%Fn|?>>
%ac%ca.%cy/%cm/%cd  %cl:%cM:%cS %cp
%Vl|b|0|68|-|12|1|-|-|
%V|0|68|132|12|1|007788|000000|
%pm


And for those that want to try this here's my "Nature2.cfg" file, becaue it requires a smaller font:

Code: [Select]
wps: /.rockbox/wps/Nature2.wps
font: /.rockbox/fonts/10-Sazanami-Mincho.fnt
foreground color: CCCCCC
background color: 000000
statusbar: on
backdrop: /.rockbox/backdrops/Nature.bmp
line selector start color: 9efdb3
line selector end color: 50825b
selector type: bar (gradient)
iconset: /.rockbox/icons/Nature_small.bmp
viewers iconset: /.rockbox/icons/Nature_small_viewers.bmp
line selector text color: 000000
filetype colours: -

One more question, it's never clear in the WPS documentation on just how the X-Y coordinates are laid out. I have, by tedious trial and error, discovered that 0,0 is the top-left, 132,80 (for these players) is the lower-right corner. Or is that 131,79? It is also not clear in any of the documentation on whether "height" for any parameters listing that is a negative Y value or if it is positive and subtracted. Does "height" start from the Y position and then go downward? Meaning, if you have a Y location of 100, and then have a "height" of 10, then the end location is 90? Or is that 110?

p.s. There's also a display problem with the "graphical equalizer" for this series of players, the last frequency range is cut off at the bottom where you can't even see it, but you can blindly change it. That feature needs to be compressed vertically in order to be able to be used at all on c200 players.

edit: put the sections in code tags because the formatting screwed up.
« Last Edit: October 13, 2008, 03:30:19 PM by OldiesButGoodies »
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: Help with modifying the c200 "Nature" theme?
« Reply #1 on: October 13, 2008, 06:45:32 PM »
Quote from: OldiesButGoodies on October 13, 2008, 02:52:40 PM
I really like the "Nature" theme for my player, but I wanted to edit it to include a couple more features.

I added in a line for the current time and date, and also added in the VU meter. I read on the Wiki pages how to make the cover-art only appear when the "hold" button is pressed, but I couldn't make that work. If there is cover-art present then none of the other info shows up.

How can I modify this so that cover-art only shows when the "hold" button is switched to ON?

Here's my "Nature2" WPS file:

Code: [Select]
%wd
%X|wpsbackdrop-132x80x16.bmp|
%xl|A|lock-132x80x16.bmp|125|1|2|
%xl|B|battery-132x80x16.bmp|1|1|16|
%xl|C|volume-132x80x16.bmp|66|3|26|
%xl|D|shuffle-132x80x16.bmp|43|1|
%xl|E|repeat-132x80x16.bmp|23|1|4|
%xl|F|playmode-132x80x16.bmp|2|60|5|
%Cl|3|14|c40|c40|
%pb|pb-132x80x16.bmp|12|61|118|5|
%?C<%C%Vda|%Vdb>

#Images
%?mh<%xdAa|%xdAb>
%?bp<%?bc<%xdBa|%xdBb>|%?bl<|%xdBc|%xdBd|%xdBe|%xdBf|%xdBg|%xdBh|%xdBi|%xdBj|%xdBk|%xdBl|%xdBm|%xdBn|%xdBo|%xdBp>>
%?pv<%xdCa|%xdCb|%xdCc|%xdCd|%xdCe|%xdCf|%xdCg|%xdCh|%xdCi|%xdCj|%xdCk|%xdCl|%xdCm|%xdCn|%xdCo|%xdCp|%xdCq|%xdCr|%xdCs|%xdCt|%xdCu|%xdCv|%xdCw|%xdCx|%xdCy|%xdCz>
%?ps<%xdD>
%?mm<|%xdEa|%xdEb|%xdEc|%xdEd>
%?mp<%xdFa|%xdFb|%xdFc|%xdFd|%xdFe>

#NowPlaying
%Vl|b|0|11|-|49|1|-|-|
%s%ac%?in<%in.> %?it<%it|%fn>
%s%ac%t5%?ia<%ia|%?d2<%d2|...>>;%s%ac%t5%?id<%id|%?d1<%d1|...>>
%t0.50 %?mp<%al %fc/%fbkb %ar-:--/-:-- |%al %fc/%fbkb%ar%pc/%pt |%al %fc/%fbkb%ar%pc/%pt |%al %fc/%fbkb%ar%pc/%pt |%al Seeking%ar%pc/%pt >;%t0.50 %?mp<%al %fc/%fbkb %ar-:--/-:-- |%al %fc/%fbkb%ar%pc/%pt |%al %fc/%fbkb           |%al %fc/%fbkb%ar%pc/%pt |%al Seeking%ar%pc/%pt >
%s%acNext: %?It<%It|%?Fn<%Fn|?>>
%ac%ca.%cy/%cm/%cd  %cl:%cM:%cS %cp
%Vl|b|0|68|-|12|1|-|-|
%V|0|68|132|12|1|007788|000000|
%pm

You'll need to change the code that displays the viewports for whether or not album art is present to read "%?C<<%?mh<%C%Vda|%Vdb>>" (without the quotes, of course).  You'll also need to define viewports "a", since the only viewports you have defined are "b".

Quote from: OldiesButGoodies on October 13, 2008, 02:52:40 PM
One more question, it's never clear in the WPS documentation on just how the X-Y coordinates are laid out. I have, by tedious trial and error, discovered that 0,0 is the top-left, 132,80 (for these players) is the lower-right corner. Or is that 131,79? It is also not clear in any of the documentation on whether "height" for any parameters listing that is a negative Y value or if it is positive and subtracted. Does "height" start from the Y position and then go downward? Meaning, if you have a Y location of 100, and then have a "height" of 10, then the end location is 90? Or is that 110?

The bottom-right corner would be 131,79, the y-position is the top of the viewport being defined, and the height goes down relative to the top of the screen, increasing the y value, so from a y-position of 100, with a height of 10, the bottom would be 110.
Logged
Welp, my iriver H10 20GB is out of commission again.

Offline OldiesButGoodies

  • Member
  • *
  • Posts: 15
Re: Help with modifying the c200 "Nature" theme?
« Reply #2 on: October 13, 2008, 07:43:28 PM »
Thanks for the clarifications and help.

I modified this line:

%?C<%C%Vda|%Vdb>

to

%?C<<%?mh<%C%Vda|%Vdb>>

That's what I tried before your help, but it didn't act like it was supposed to, no doubt due to my not defining that "a" viewport. I'm green when it comes to using the WPS syntax.


So then in this section I added the first "Vl|a|..." line, as per your advice:

#NowPlaying
%Vl|a|0|11|-|69|1|-|-|
%Vl|b|0|11|-|49|1|-|-|


But when I run it through the debugwps simulator it just ends on this error:

Quote
Viewport 0 - +0+0 (132x80)
Line  0 (num_sublines=1, first_subline=0)
    Subline 0: first_token=  0, last_token=  4, progressbar

ERR: Failed parsing on line 12 : ERR: Conditional syntax error after token 4: conditional start, next cond: 0"

Line 12 in the code is just after that conditional checking for cover-art, which is just a blank line.

When run in RockBox it uses the default theme due to that error.

Are my edits/additions in the wrong places?

I made the viewport for displaying cover-art larger (68 pixels tall) so that I can display larger images when the hold button is on. Could that be causing the error because it's overlapping the viewports for the progress bar and VU meter? (There's lots of fiddly info like this that's left out of the documentation that leads to many hours and days of trial and error.)
« Last Edit: October 13, 2008, 07:51:24 PM by OldiesButGoodies »
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: Help with modifying the c200 "Nature" theme?
« Reply #3 on: October 13, 2008, 07:57:35 PM »
I think you may need to move the cover art check to a position after the rest of the images...

So move the line "%?C<<%?mh<%C%Vda|%Vdb>>" to the line after where all the images are displayed and see if that helps.

If that doesn't fix it, I'm not sure what would.
Logged
Welp, my iriver H10 20GB is out of commission again.

Offline OldiesButGoodies

  • Member
  • *
  • Posts: 15
Re: Help with modifying the c200 "Nature" theme?
« Reply #4 on: October 13, 2008, 08:32:00 PM »
Thanks, I tried that, moving it after the other images, but no go.

So then I rethunk what I tried a couple days ago and edited that HOLD check from this:

%?C<<%?mh<%C%Vda|%Vdb>>

to just this:

%?mh<%C%Vda|%Vdb>

(or should that be %?mh<%Cl.... for cover-art load?)


It switches between two screens when hold is ON, but .... there's no cover-art displayed. Just the Progress bar and VU meter near the bottom. Maybe if I make that cover-art viewport smaller, like it used to be, only 40x40 in size. Sure would be nice to cover up all the other stuff and display just larger cover-art though.

Or what if I put that "a" viewport after all the others? Trial and error, days of trial and error....

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: Help with modifying the c200 "Nature" theme?
« Reply #5 on: October 13, 2008, 09:12:30 PM »
This would be easier if I knew why it wasn't working...

I may have to test this stuff out myself...

EDIT:  I've messed with it, and found that the following code works:

Code: [Select]
%wd
%X|wpsbackdrop-132x80x16.bmp|
%xl|A|lock-132x80x16.bmp|125|1|2|
%xl|B|battery-132x80x16.bmp|1|1|16|
%xl|C|volume-132x80x16.bmp|66|3|26|
%xl|D|shuffle-132x80x16.bmp|43|1|
%xl|E|repeat-132x80x16.bmp|23|1|4|
%xl|F|playmode-132x80x16.bmp|2|60|5|
%Cl|3|14|c40|c40|
%pb|pb-132x80x16.bmp|12|61|118|5|
%?C<%?mh<%C%Vda|%Vdb>|%Vdb>

#Images
%?mh<%xdAa|%xdAb>
%?bp<%?bc<%xdBa|%xdBb>|%?bl<|%xdBc|%xdBd|%xdBe|%xdBf|%xdBg|%xdBh|%xdBi|%xdBj|%xdBk|%xdBl|%xdBm|%xdBn|%xdBo|%xdBp>>
%?pv<%xdCa|%xdCb|%xdCc|%xdCd|%xdCe|%xdCf|%xdCg|%xdCh|%xdCi|%xdCj|%xdCk|%xdCl|%xdCm|%xdCn|%xdCo|%xdCp|%xdCq|%xdCr|%xdCs|%xdCt|%xdCu|%xdCv|%xdCw|%xdCx|%xdCy|%xdCz>
%?ps<%xdD>
%?mm<|%xdEa|%xdEb|%xdEc|%xdEd>
%?mp<%xdFa|%xdFb|%xdFc|%xdFd|%xdFe>

#NowPlaying
%Vl|a|0|11|-|49|1|-|-|
%Vl|b|0|11|-|49|1|-|-|
%s%ac%?in<%in.> %?it<%it|%fn>
%t5%s%ac%?ia<%ia|%?d2<%d2|...>>;%t5%s%ac%?id<%id|%?d1<%d1|...>>
%t0.5 %?mp<%al %fc/%fbkb %ar-:--/-:-- |%al %fc/%fbkb%ar%pc/%pt |%al %fc/%fbkb%ar%pc/%pt |%al %fc/%fbkb%ar%pc/%pt |%al Seeking%ar%pc/%pt >;%t0.5 %?mp<%al %fc/%fbkb %ar-:--/-:-- |%al %fc/%fbkb%ar%pc/%pt |%al %fc/%fbkb           |%al %fc/%fbkb%ar%pc/%pt |%al Seeking%ar%pc/%pt >
%s%acNext: %?It<%It|%?Fn<%Fn|?>>
%ac%ca.%cy/%cm/%cd  %cl:%cM:%cS %cp
%Vl|b|0|68|-|12|1|-|-|
%V|0|68|132|12|1|007788|000000|
%pm

Try using that, and tweaking it as necessary.

EDIT the 2nd:  Just 'cause I think you should know, all I did was remove the 0s at the end of your %t0.50 tags, moved the %t5 tags to the beginning of their sublines, and added a false condition to the cover art and hold-switch check.
« Last Edit: October 13, 2008, 10:29:32 PM by karashata »
Logged
Welp, my iriver H10 20GB is out of commission again.

Offline OldiesButGoodies

  • Member
  • *
  • Posts: 15
Re: Help with modifying the c200 "Nature" theme?
« Reply #6 on: October 13, 2008, 10:54:24 PM »
Thanks for the help, but it still doesn't work here.

Using my previous %?mh<%C%Vda|%Vdb> conditional, I actually got it to work one time by changing the sizes of the viewports, but the cover-art was overlaying on top of the progress bar. So I tried to move that down and then they disappeared again. Now no matter what I do I can't seem to get it to display them by switching the hold button.

I tried resizing all the cover-art to 40x40, 50x50 and 60x60 to see if that was causing the problem. Still no difference. It might be important to know that I'm reading the cover-art and songs from the external SD card slot. It reads them just fine from there if I use the original Nature theme, but then, as I said, if there is cover-art then it doesn't display anything but that. This is why I tried to make them toggle-able. So I know it can read them from the SD card.

It appears as if the cover-art display is HIGHLY fussy on if it is touching a viewport window or some other component that's getting displayed. A change so much as 1 pixel made them all disappear. Then I couldn't remember which position of which viewport that I changed and I can't get it back again.

There really needs to be some documentation on this, of what works and does not work. I've been trying to tweak this for a week now, many hours every night, with still no luck.

So much for trying to follow the documentation on the Wiki that everyone claims is so accurate.

Here is my last incarnation, in case you are curious:

Code: [Select]
%wd
%X|wpsbackdrop-132x80x16.bmp|
%xl|A|lock-132x80x16.bmp|125|1|2|
%xl|B|battery-132x80x16.bmp|1|1|16|
%xl|C|volume-132x80x16.bmp|66|3|26|
%xl|D|shuffle-132x80x16.bmp|43|1|
%xl|E|repeat-132x80x16.bmp|23|1|4|
%xl|F|playmode-132x80x16.bmp|2|60|5|
%Cl|0|10|c50|c50|
%pb|pb-132x80x16.bmp|12|63|118|5|
%?mh<%C%Vda|%Vdb>

#Images
%?mh<%xdAa|%xdAb>
%?bp<%?bc<%xdBa|%xdBb>|%?bl<|%xdBc|%xdBd|%xdBe|%xdBf|%xdBg|%xdBh|%xdBi|%xdBj|%xdBk|%xdBl|%xdBm|%xdBn|%xdBo|%xdBp>>
%?pv<%xdCa|%xdCb|%xdCc|%xdCd|%xdCe|%xdCf|%xdCg|%xdCh|%xdCi|%xdCj|%xdCk|%xdCl|%xdCm|%xdCn|%xdCo|%xdCp|%xdCq|%xdCr|%xdCs|%xdCt|%xdCu|%xdCv|%xdCw|%xdCx|%xdCy|%xdCz>
%?ps<%xdD>
%?mm<|%xdEa|%xdEb|%xdEc|%xdEd>
%?mp<%xdFa|%xdFb|%xdFc|%xdFd|%xdFe>

#NowPlaying
%Vl|a|0|9|132|51|1|-|-|
%Vl|b|0|9|-|51|1|-|-|
%s%ac%?in<%in.> %?it<%it|%fn>
%s%ac%t5%?ia<%ia|%?d2<%d2|...>>;%s%ac%t5%?id<%id|%?d1<%d1|...>>
%t0.50 %?mp<%al %fc/%fbkb %ar-:--/-:-- |%al %fc/%fbkb%ar%pc/%pt |%al %fc/%fbkb%ar%pc/%pt |%al %fc/%fbkb%ar%pc/%pt |%al Seeking%ar%pc/%pt >;%t0.50 %?mp<%al %fc/%fbkb %ar-:--/-:-- |%al %fc/%fbkb%ar%pc/%pt |%al %fc/%fbkb           |%al %fc/%fbkb%ar%pc/%pt |%al Seeking%ar%pc/%pt >
%s%acNext: %?It<%It|%?Fn<%Fn|?>>
%ac%ca.%cy/%cm/%cd  %cl:%cM:%cS %cp
%Vl|c|0|70|-|10|1|-|-|
%V|0|70|132|10|1|007788|000000|
%pm

I wanted to open up the central space to allow for larger cover-art, going 50x50 (there was enough room there when I counted it off in a graphic editor). I had to edit the backdrop for the new progress bar position, and I also made the volume and progress bars into rainbow graduations to give it a little more color. The red end of the spectrum being painfully loud. :)

One more note: I found that the "default" centering of cover-art does not work, as described in the Wiki, and I'm not sure how to set the "center" tag. According to the Wiki, I'm supposed to put a %Cl|0|10|c|c50|c|c50| for center, and crop to 50. But with all the other stuff causing problems I didn't want to add in yet one more syntax error to try to confuse the issue. I only know that it does NOT default to centering when a l, c, or r, positional tag is not used.

Anyway, thanks for trying to help....  :(
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: Help with modifying the c200 "Nature" theme?
« Reply #7 on: October 13, 2008, 11:54:25 PM »
What the "centering" does is center smaller art images in the area defined for the images, so if you define your art as 50x50 pixels and someone uses an image that's only 40x40 pixels, that image will be centered with 5 pixel margins on all sides, rather than in the top-left corner with 10 pixel margins on the right and bottom.  You need to specify the x-position such that the image appears centered on the screen, if that's what you're trying to do.  As far as I know the wiki pages *should* be up-to-date on how to use the %Cl tag, though I think I may take a look to make sure everything's right...

The tag syntax is: %Cl|x-pos|y-pos|[l,c,r]maxwidth|[t,c,b]maxheight| (l meaning align smaller art to the left, c meaning center, r meaning align to the right, t meaning align to the top, b meaning align to the bottom, in the square brackets, use only one of the three in each section).  This was grabbed from here.

« Last Edit: October 14, 2008, 12:01:38 AM by karashata »
Logged
Welp, my iriver H10 20GB is out of commission again.

Offline OldiesButGoodies

  • Member
  • *
  • Posts: 15
Re: Help with modifying the c200 "Nature" theme?
« Reply #8 on: October 14, 2008, 01:55:59 AM »
Okay, going on your clues about how the centering works, I tested a few things and I FINALLY got it to work!

The problem was in defining that viewport "a", it was always covering up the cover-art behind it (no wonder I couldn't see it). I found this out when trying to display cover-art larger than a smaller centered viewport, the cover-art peaking out from behind it. (As well as removing the viewport "a" definition.)

Tweaking the centering, using your tweaked conditional argument, and finding out the limits of other graphic elements that might over-write the cover-art, I came up with this:

Code: [Select]
%wd
%X|wpsbackdrop-132x80x16.bmp|
%xl|A|lock-132x80x16.bmp|125|1|2|
%xl|B|battery-132x80x16.bmp|1|1|16|
%xl|C|volume-132x80x16.bmp|66|3|26|
%xl|D|shuffle-132x80x16.bmp|43|1|
%xl|E|repeat-132x80x16.bmp|23|1|4|
%xl|F|playmode-132x80x16.bmp|2|60|5|
%Cl|38|6|||
%pb|pb-132x80x16.bmp|12|63|118|5|
%?C<%?mh<%C%Vda|%Vdb>|%Vdb>

#Images
%?mh<%xdAa|%xdAb>
%?bp<%?bc<%xdBa|%xdBb>|%?bl<|%xdBc|%xdBd|%xdBe|%xdBf|%xdBg|%xdBh|%xdBi|%xdBj|%xdBk|%xdBl|%xdBm|%xdBn|%xdBo|%xdBp>>
%?pv<%xdCa|%xdCb|%xdCc|%xdCd|%xdCe|%xdCf|%xdCg|%xdCh|%xdCi|%xdCj|%xdCk|%xdCl|%xdCm|%xdCn|%xdCo|%xdCp|%xdCq|%xdCr|%xdCs|%xdCt|%xdCu|%xdCv|%xdCw|%xdCx|%xdCy|%xdCz>
%?ps<%xdD>
%?mm<|%xdEa|%xdEb|%xdEc|%xdEd>
%?mp<%xdFa|%xdFb|%xdFc|%xdFd|%xdFe>

#NowPlaying
%Vl|b|0|9|-|51|1|-|-|
%s%ac%?in<%in.> %?it<%it|%fn>
%t5%s%ac%?ia<%ia|%?d2<%d2|...>>;%t5%s%ac%?id<%id|%?d1<%d1|...>>
%t0.5 %?mp<%al %fc/%fbkb %ar-:--/-:-- |%al %fc/%fbkb%ar%pc/%pt |%al %fc/%fbkb%ar%pc/%pt |%al %fc/%fbkb%ar%pc/%pt |%al Seeking%ar%pc/%pt >;%t0.5 %?mp<%al %fc/%fbkb %ar-:--/-:-- |%al %fc/%fbkb%ar%pc/%pt |%al %fc/%fbkb           |%al %fc/%fbkb%ar%pc/%pt |%al Seeking%ar%pc/%pt >
%s%acNext: %?It<%It|%?Fn<%Fn|?>>
%ac%ca.%cy/%cm/%cd  %cl:%cM:%cS %cp
%Vl|c|0|70|-|10|1|-|-|
%V|0|70|132|10|1|007788|000000|
%pm

The only caveats are that this requires a new background, where the background for the progress-bar is lowered by 2 pixels. And all cover-art must be resized for a max vertical dimension of 57 pixels. The largest I could make it without the other graphics interfering in it.

Thanks for your help. Without your helping me to suss-out the errors I would have never found the problem. The main one being that |c50| command. As long as I took those out and relied on centering the proper sized graphics manually, then they show up overlaid on the ID3 tags behind it. Not the most eloquent of solutions, text clutter to each side of the cover-art, but it's the only way I can get the HOLD toggle to display them.

One more quick question. Is it possible to make the VU meter (peak meter) to also be in a rainbow gradient by using its bitmap loading command? I thought I was just doing good by changing its color with defining its viewport foreground and background colors. Would be nice to have it match the volume, progress bar, as well as change colors as it got louder or quieter.

I read somewhere, don't ask me where, that the %pm command can be used as:

%pm|bitmap.bmp| where the bitmap for it has to match its height and width.

Or maybe I'm confusing that with the progress bar or something else now. I can't seem to find it on the Wikia or in the PDF manual. Perhaps I saw it in some other theme I was studying.
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: Help with modifying the c200 "Nature" theme?
« Reply #9 on: October 14, 2008, 12:42:24 PM »
The peak-meter can't be themed in any way aside from changing the colour, and that only through defining a viewport with the foreground colour set to whatever colour you want.
Logged
Welp, my iriver H10 20GB is out of commission again.

Offline OldiesButGoodies

  • Member
  • *
  • Posts: 15
Re: Help with modifying the c200 "Nature" theme?
« Reply #10 on: October 27, 2008, 10:59:29 PM »
Here's a zip file of my Nature2 theme, for anyone that want's it, inclusive with the more decorative rainbow-gradient graphics for volume-bar and progress-bar.

Link removed.

If anyone wants to include it in the Rockbox theme archives feel free to do so. It still has a few bugs but those are due to bugs in Rockbox itself.

I'd post it there in the archives for everyone but I don't ask for nor need the permission from anyone to do anything that I want to do in life.

"Authority isn't something that someone else has. It's something that you've freely, foolishly, and irresponsibly given away -- all by your little self."  ~ caMel ~

Think about it.

« Last Edit: October 27, 2008, 11:33:53 PM by Chronon »
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Help with modifying the c200 "Nature" theme?
« Reply #11 on: October 27, 2008, 11:37:12 PM »
The original theme is licensed under a permissive license, so you have the right to republish it -- but you do have to satisfy a couple of terms in the original license before you can post this.  Just attribute the author of the original (attribution) and license your own theme under the same license as the original (share alike).
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline OldiesButGoodies

  • Member
  • *
  • Posts: 15
Re: Help with modifying the c200 "Nature" theme?
« Reply #12 on: October 28, 2008, 04:40:35 AM »
No problem. I'll just post the link to the download on another popular Rockbox site, one of the dozens that have cropped-up to avoid and bypass control-freaks like you.

:-)

Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Help with modifying the c200 "Nature" theme?
« Reply #13 on: October 28, 2008, 04:57:08 AM »
This is nothing to do with being control freaks, this is to do with respecting people's rights.  We would like people to respect the licence that Rockbox is released under, so why should we then ignore other peoples?

Please have a think about your attitude.
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Help with modifying the c200 "Nature" theme?
« Reply #14 on: October 29, 2008, 01:49:24 AM »
We have taken some efforts to get people to license their themes with permissive licenses, specifically so that users can reuse and modify them.  Your attitude appears to make it difficult for you to cooperate with others.  I only asked for you to follow the conditions wished for by the creator of the theme that you modified.  If you choose to violate the copyright and license of the original theme on another site, then that's none of my business.
« Last Edit: October 29, 2008, 01:54:27 AM by Chronon »
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Help with modifying the c200 "Nature" theme?
 

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

Page created in 0.089 seconds with 14 queries.