Rockbox Technical Forums

Support and General Use => Theming and Appearance Customization => Topic started by: gaston on July 09, 2006, 05:44:41 AM

Title: UPDATED: iRock WPS for iPod 5G
Post by: gaston on July 09, 2006, 05:44:41 AM
hi all, here is my little contribution to Rockbox for iPod:

iRock WPS for iPod 5G (http://wps.abondar.de/download.php?id=63)

update here (http://forums.rockbox.org/index.php?topic=5200.msg40550#msg40550)

(http://img144.imageshack.us/img144/4632/dump0607091108140jh.th.jpg) (http://img144.imageshack.us/my.php?image=dump0607091108140jh.jpg)(http://img239.imageshack.us/img239/237/dump0607091113575xl.th.jpg) (http://img239.imageshack.us/my.php?image=dump0607091113575xl.jpg)

- displays 100x100 cover art when available, takes full screen width for text only if CA not available (Thanks to MrMec)
- date, clock and playlist info + icons become accurate volume and battery info + icons when HOLD button is ON
- colored volume scale
- animated battery icon when under charging
- HDD activity virtual LED

enjoy, and give me feedback !

thanks to LuiSiLLo for image hosting address
Title: Re: new: iRock WPS for iPod 5G
Post by: gaston on July 09, 2006, 05:47:21 AM
it seems that it is not possible to upload screendumps from my c:\:-\

can someone give me a site address where to upload the two screenshots of my irock WPS ?
Title: Re: new: iRock WPS for iPod 5G
Post by: LuiSiLLo on July 09, 2006, 06:26:11 AM
Maybe here? http://imageshack.us/
Title: Re: new: iRock WPS for iPod 5G
Post by: gaston on July 09, 2006, 06:31:33 AM
done with, it works, thany you !
Title: Re: new: iRock WPS for iPod 5G
Post by: Tiennou on July 09, 2006, 05:02:43 PM
Merci!
Ce WPS me manquait comme j'ai changé de lecteur mp3 (h300-> ipod ;D)
I simply love it!  :o
Title: Re: new: iRock WPS for iPod 5G
Post by: Sweet Spot on July 09, 2006, 08:14:58 PM
Hi Gaston, very nice theme. I really like the brightness and colour scheme/icons. A few details I'd like to note for you however:

I can only get the time to display on the 24 hour format, no matter how I actually set it. Both 24 and 12 hour display 24 hour format.

Secondly, I really like seeing what my volume is (neumerically) as well as how much battery time is left. But the only way I can get those items to display, is by putting the unit on hold, but then the light goes out, so it's redundant.

Thirdly, and a VERY small gripe, rather than the playlist count saying 3 on 49, I think it should say 3 OF 49 or 3 OUT OF 49. 

Nice stuff.
Title: Re: new: iRock WPS for iPod 5G
Post by: gaston on July 10, 2006, 05:10:13 AM
hi SweetSpot

1) i don't understand why setting does nor act on clock format ; and the WIKI is currently down, so i can't check if there is a specific writing for that, sorry

2) 3)
replace
"
%xl|o|volicon.bmp|5|34|
%xl|p|batticon.bmp|175|32|
%xl|q|calendaricon.bmp|6|34|
%xl|r|clockicon.bmp|92|34|
%xl|s|whitecache.bmp|92|34|


%m|25|316|%?mh<%xdH%xdo%xdp%xds%al %pvdB%ar%bl%% (-%bt) |%xdr%xdq%al%ce/m/yc      %cH:M:Sc%ar%pp on %pe >
"
by
"
%xl|o|volicon.bmp|5|34|
%xl|p|batticon.bmp|172|32|
%xl|q|calendaricon.bmp|6|34|
%xl|r|clockicon.bmp|97|34|
%xl|s|whitecache.bmp|97|34|


%m|27|316|%?mh<%xdH%xdr%xdq%al%ce/m/yc      %cH:M:Sc%ar%pp OF %pe |%xdo%xdp%xds%al %pvdB%ar%bl%% (-%bt) >
"
this will invert the displays (w/ HOLD = calendar, clock & playlist ; w/o HOLD, vol + battery info)
and your OF vs. on display
i could see that there is still the top of the battery icon which is visible...
Title: Re: new: iRock WPS for iPod 5G
Post by: fabolousrmx on July 10, 2006, 10:20:42 AM
I would like to know the font size in this wps because none of my unicode fonts fit  :( so im looking for a font that displays japanese for this wps...

Also it would be cool if the date/time & the battery info could swich automatically like every 2 seconds, insted of when the hold is put on.

Otherwise its a very nice wps, i even customized the background of the player beause i dont use album art and white is plain.
Title: Re: new: iRock WPS for iPod 5G
Post by: gaston on July 10, 2006, 12:12:18 PM
the font used for iRock is delivered in the zip
i don't know about unicode...

personally, i designed iRock first for my H340, but got bored of the blinking display of info every 2 sec... that's why i prefer to have permanently displayed the date, clock and list, and if necessary to have accurate vol. and batt. info by switching HOLD on.
that's my point of view, you can modify the .wps as you wish
Title: Re: new: iRock WPS for iPod 5G
Post by: Jon_ on July 10, 2006, 06:52:42 PM
Wow, that is an amazing THEME!!! Great design and provides enuff information. I really like it alot keep it up.

Take Care,
Jon

P.S Thanks for the new iPod 5g Video Theme it's been awhile since there has been a new theme.
Title: Re: new: iRock WPS for iPod 5G
Post by: Febs on July 11, 2006, 06:35:14 AM
1) i don't understand why setting does nor act on clock format ; and the WIKI is currently down, so i can't check if there is a specific writing for that, sorry
These are available in the .pdf manual, which you can access via the daily builds page.
Title: Re: new: iRock WPS for iPod 5G
Post by: Sweet Spot on July 11, 2006, 09:23:38 AM
Hey, thanks Gaston. I'll give that a whirl.  My knowledge of the code is limited and I WILL read the instructions so that I can change what I want but, do you think it would be possible to include a line of code which would make it possible to have the two things alternate, at  an interval of say... 5 seconds ? This way, both forms of information would be available and one wouldn't have to rely on being in or out of hold position ?

Title: Re: new: iRock WPS for iPod 5G
Post by: ryran on July 11, 2006, 09:28:39 AM
If I'm understanding you correctly Sweetspot, there's already wps code (http://www.google.com/search?q=cache:iV-vaRt8HvgJ:www.rockbox.org/twiki/bin/view/Main/CustomWPS#Alternating_Sublines) for that.
Title: Re: new: iRock WPS for iPod 5G
Post by: Sweet Spot on July 11, 2006, 02:32:12 PM
Word. Thanks Ryan, now all I have to do is learn how to read agian.  :P
Title: Re: new: iRock WPS for iPod 5G
Post by: Amien on July 11, 2006, 04:06:00 PM
great theme! .. i really like it

would the original ipod font be possible?
Title: Re: new: iRock WPS for iPod 5G
Post by: Febs on July 11, 2006, 04:08:50 PM
I believe that the original iPod font using anti-aliasing which is not (yet) supported in Rockbox.
Title: Re: new: iRock WPS for iPod 5G
Post by: Amien on July 11, 2006, 04:18:34 PM
ok ... cant wait for 3.0 :)
Title: Re: new: iRock WPS for iPod 5G
Post by: Llorean on July 11, 2006, 04:25:27 PM
3.0 will not have antialiased fonts.
Title: Re: new: iRock WPS for iPod 5G
Post by: gaston on July 11, 2006, 04:49:03 PM
great theme! .. i really like it

would the original ipod font be possible?

3.0 will not have antialiased fonts.

nevertheless, i'd love to have it
and also to have the possibility to have 3 colors set : 1 for the background (white), one for the font (black) and one for the "select" (blue with white font, like in iPod SW)

i'm pleased that my theme please you all !
Title: Re: new: iRock WPS for iPod 5G
Post by: fabolousrmx on July 11, 2006, 06:28:04 PM
Word. Thanks Ryan, now all I have to do is learn how to read agian.  :P
If your able to get that working let me know, since im unable to understand the code...
Title: Re: new: iRock WPS for iPod 5G
Post by: ryran on July 11, 2006, 06:36:49 PM
You want him to let you know? Why? So you know for sure it works? Or so that he can explain it in simpler language? ;)

I can assure you it works. If you're interested in playing with it yourself, my advice would be to open a wps that does it in text editor, while looking at it playing in rockbox. Keep the tables of what the various tags mean (at the top of the page @ that link) handy and you'll probably get it pretty quickly.
Title: Re: new: iRock WPS for iPod 5G
Post by: Sweet Spot on July 11, 2006, 07:34:27 PM
Well, if you're lazy like me then I understand wanting certain things done FOR you, which I will, if I get around to actually doing it. I just might though soon, as my wife is about to do a Cindy Crawford workout, and I want NOTHING to do with it. (Because I'm sure she does and I'd much rather take up something else right now like um... fixing this code to my liking ! )
Title: Re: new: iRock WPS for iPod 5G
Post by: Sweet Spot on July 11, 2006, 08:27:17 PM
Ok, so if I've got this anywhere near right, what has to be done is to add a semi-colon between the two parts of the code which was given to me. And then add %s so that they both still scroll, and then %t in order to give a numeric value for the time I want to set, which I'd say would be %t5. So then it would become.. (?) :


Quote
%xl|o|volicon.bmp|5|34|
%xl|p|batticon.bmp|175|32|
%xl|q|calendaricon.bmp|6|34|
%xl|r|clockicon.bmp|92|34|
%xl|s|whitecache.bmp|92|34|


%m|25|316|%?mh<%xdH%xdo%xdp%xds%al %pvdB%ar%bl%% (-%bt) |%xdr%xdq%al%ce/m/yc      %cH:M:Sc%ar%pp on %pe >;%s%t5%xl|o|volicon.bmp|5|34|
%xl|p|batticon.bmp|172|32|
%xl|q|calendaricon.bmp|6|34|
%xl|r|clockicon.bmp|97|34|
%xl|s|whitecache.bmp|97|34|


%m|27|316|%?mh<%xdH%xdr%xdq%al%ce/m/yc      %cH:M:Sc%ar%pp OF %pe |%xdo%xdp%xds%al %pvdB%ar%bl%% (-%bt) >



Quote
;   Split items on a line into separate sublines
  %t  : Set the subline display time. The '%t' is followed by either integer
        seconds (%t5), or seconds and tenths of a second (%t3.5).


Though I think, that I would have to put the %s and %t preceeding both code lines, I'm just not sure of where I'd put it towards the beginning of the first set of code...   And then of course, I could just be totally wrong with pretty much my whole assumption and should leave this to people who know what they're doing. Guess I'll have to go a step further and test it out.


Test One: FAILURE.  I think I forgot to modify the text after copying it from here so that there's no bold or red tags... duh.

Test two: Same failure. I read that if you put % before tags, that should enable the code, or else anything which is typed, actually shows up AS typed.  In this case, I'm actually seeing : "volicon.bmp|5|34|
%xl|p|batticon.bmp|172|32|
%xl|q|calendaricon.bmp|6|34|
%xl|r|clockicon.bmp|97|34|
%xl|s|whitecache.bmp|97|34|"    ON THE WPS its self. So, that's no good. Back to the drawing board. I hate to say it but, this stuff isn't so self explainatory, as some might think it is just becuase they spend a decent amount of time doing it all....

My one legit concern with experimenting at this point is that I have to keep making my HD reboot, which is physical wear and tear, as opposed to knowing enough to only have to reboot when I need to. I really would like my HD to last a while... I'll try a few more times, and read more to try and see where I went wrong before doing so, but it would be grand if someone who knows this stuff, could actually point out exactly what IS wrong, and show/tell me where I should make the correction.

Was I right before, when I said that the %t and %s along with the semi colon, should ALSO go in the beginning of the code lines ?
Title: UPDATED iRock WPS for iPod 5G
Post by: gaston on July 13, 2006, 10:44:26 AM
new version, i just added a playlist icon and redispatched the info on the screen...

download here (http://wps.abondar.de/download.php?id=65)
and enjoy !

G
Title: Re: UPDATED: iRock WPS for iPod 5G
Post by: Corius on July 13, 2006, 12:07:46 PM
Wouldnt using the iPod font be a breach of copyright laws? ( I ask if it would be a breach coz I was working on a Ipod styled theme then quit because I thought that using the font that apple use would be a breach of the law)
Podium Sans is the font they use for the 5G right?
I've looked into downloading it before but as far as I can tell you need to buy it
Title: Re: UPDATED: iRock WPS for iPod 5G
Post by: Llorean on July 13, 2006, 12:11:15 PM
Distributing the font if it is not released under a redistributable license would break copyright law yes.
Title: Re: UPDATED: iRock WPS for iPod 5G
Post by: Yotto on July 13, 2006, 04:38:42 PM
Is the font on the iPod already in a usable format?  If so, then just use that one and don't redistribute it.  If not, find a free lookalike somewhere.  Yout can't tell me someone hasn't made one.
Title: Re: UPDATED: iRock WPS for iPod 5G
Post by: Jon_ on July 13, 2006, 09:16:49 PM
Wouldnt using the iPod font be a breach of copyright laws? ( I ask if it would be a breach coz I was working on a Ipod styled theme then quit because I thought that using the font that apple use would be a breach of the law)
Podium Sans is the font they use for the 5G right?
I've looked into downloading it before but as far as I can tell you need to buy it
You should not get in trouble at all for you arn't charging for this theme. All you should do to make sure every thing is alright give credit to the apple iPod font in your posting of your theme.

Edit: My bad, thanks for correcting me.
Title: Re: UPDATED: iRock WPS for iPod 5G
Post by: Llorean on July 13, 2006, 09:22:28 PM
Just because you aren't charging for it does not make it legal to redistribute their copyright works.

Giving credit is not enough either. All rights are reserved which means you need written permission from them to redistribute anything they hold the copyright to, at least in the US.
Title: Re: UPDATED: iRock WPS for iPod 5G
Post by: TP Diffenbach on July 13, 2006, 09:24:05 PM
You should not get in trouble at all for you arn't charging for this theme. All you should do to make sure every thing is alright give credit to the apple iPod font in your posting of your theme.

NO.

Do not use fonts unless they're licensed as redistributable.

Among other things, your unofficial action would inevitably be laid at the feet of the official project, making problems for everybody.
Title: Re: UPDATED: iRock WPS for iPod 5G
Post by: Jon_ on July 13, 2006, 09:34:28 PM
You should not get in trouble at all for you arn't charging for this theme. All you should do to make sure every thing is alright give credit to the apple iPod font in your posting of your theme.

NO.

Do not use fonts unless they're licensed as redistributable.

Among other things, your unofficial action would inevitably be laid at the feet of the official project, making problems for everybody.
Thanks for correcting me.

Edit: listen to the previous guy, and find a font that looks similar. You'll find one. There is a whole bunch of fonts in the cvs, and also you can check out ipl they also have some font's too.

Take Care,
Jon

Edit: i think most of the ipl font's are the same as the rockbox font's but there all font's that are rockbox compatiable. (.fnt)
Title: Re: UPDATED: iRock WPS for iPod 5G
Post by: gaston on July 14, 2006, 02:30:07 AM
this is not the question here, as i used a font from the Rockbox server, HelvB12-L1...

any other feedback regarding the theme itself ?

G
Title: Re: UPDATED: iRock WPS for iPod 5G
Post by: travishayes89 on July 15, 2006, 08:54:11 PM
no question, just a comment, this is f'n sweet, i mean, it is nice, its clean, and displays information as needed, does it still require hold?
Title: Re: UPDATED: iRock WPS for iPod 5G
Post by: Febs on July 15, 2006, 09:22:01 PM
Edit: My bad, thanks for correcting me.
Think first.  THEN speak.
Title: Re: UPDATED: iRock WPS for iPod 5G
Post by: gaston on July 16, 2006, 01:07:16 PM
no question, just a comment, this is f'n sweet, i mean, it is nice, its clean, and displays information as needed, does it still require hold?
i don't understand your question...
Title: Re: UPDATED: iRock WPS for iPod 5G
Post by: Amien on July 16, 2006, 01:43:28 PM
i changed back to the first time .. the update was to much text for me
Title: Re: UPDATED: iRock WPS for iPod 5G
Post by: gaston on July 16, 2006, 02:28:53 PM
there is no additional text !  ;)
i only added an icon for playlist, and redispatched it on the WPS screen
Title: Re: UPDATED: iRock WPS for iPod 5G
Post by: gaston on July 17, 2006, 05:02:56 AM
i'd like to upload my irock theme on the Rockbox WPS gallery, but i don't really understand how to manage that !
it seems that the wiki is not completely functional...
then:
- do i need a register id ? how to have one ?
- where is the link to prepare the page for uploading ? is it by editing the page of the wps gallery ?

can someone help me ? thx
Title: Re: UPDATED: iRock WPS for iPod 5G
Post by: Flid on July 17, 2006, 07:54:41 AM
Explanation of how to upload is given at the bottom of this page: -
http://www.rockbox.org/twiki/bin/view/Main/WpsGallery

Yes. You need a "Wiki" user account.

Yes. You select "edit" and login. Just follow the layout used by everyone else (making sure you remember to insert line-breaks and headings etc). It is complicated the first time, but you'll get the hang of it. Just don't delete anyone elses uploaded themes ;)
Title: Re: UPDATED: iRock WPS for iPod 5G
Post by: gaston on July 17, 2006, 03:43:28 PM
now it's available on the Rockbox Wiki WPS gallery, here (http://www.rockbox.org/twiki/bin/view/Main/WpsIpod5g#iRock_v2)
Title: Re: UPDATED: iRock WPS for iPod 5G
Post by: SilleeString on July 17, 2006, 04:39:01 PM
nice theme!  Downloading
Title: Re: UPDATED: iRock WPS for iPod 5G
Post by: Atheistic Freedom on July 17, 2006, 10:42:26 PM
This WPS shows the numbers (ie: 80 | 100) everywhere, and the icons are shifted to unexplainable positions.

What gives??
Title: Re: UPDATED: iRock WPS for iPod 5G
Post by: Yotto on July 17, 2006, 11:44:53 PM
This is assuredly the Album Art patch, or the lack of it on your Rockbox.  You'll either need to use the Experimental Build (Search for it, it has its own thread), or another build with Album art, or compile your own build (Not for the lighthearted), or use a theme without album art.

Note that there is far more to Album Art than getting the patch or a patched build. You have to find the art, resize it, put it in the right folder with the right name... If you're looking for easy, just grab a different theme with no album art.
Title: Re: UPDATED: iRock WPS for iPod 5G
Post by: Atheistic Freedom on July 18, 2006, 12:39:49 AM
Then the maker of iRock should revise the claims of the iRock, it made me believe it doesn't need the album art patch.
Title: Re: UPDATED: iRock WPS for iPod 5G
Post by: Llorean on July 18, 2006, 12:46:04 AM
There's no claim that it doesn't need the album art patch, though.
As far as I can tell, the only thing that could be misinterpreted as that is the fact that it has a fallback if cover art isn't available.
Title: Re: UPDATED: iRock WPS for iPod 5G
Post by: Yotto on July 18, 2006, 02:07:26 AM
After rereading the first post, I can see how you may think that the Album Art patch may not be needed, but it is.  The patch is required even if you have no album art to display, because without the patch, your RockBox doesn't know how to even check for album art, so it displays the code thinking it's supposed to be displayed.
Title: Re: UPDATED: iRock WPS for iPod 5G
Post by: Atheistic Freedom on July 18, 2006, 02:55:52 AM
Thank you Yotto for clearing that up.  Of course, I always have to learn the hard way  :D
Title: Re: UPDATED: iRock WPS for iPod 5G
Post by: travishayes89 on July 21, 2006, 11:22:44 AM
no question, just a comment, this is f'n sweet, i mean, it is nice, its clean, and displays information as needed, does it still require hold?
i don't understand your question...
do you still have it set to use the hold switch to "toggle" the display
Title: Re: UPDATED: iRock WPS for iPod 5G
Post by: Sweet Spot on July 21, 2006, 02:08:20 PM
Yeah, you do. But if you want I have reversed the code so that it displays the battery and volume info while not on hold. However, I'm also using his older wps, the one right before he created the playlist icon, so make sure to save the current wps if you plan on changing it, in case it doesn't comply with the new version.

Zipped wps (http://www.sendspace.com/file/b3adzl)
Title: Re: UPDATED: iRock WPS for iPod 5G
Post by: gaston on July 23, 2006, 05:23:56 AM
both vesions of iRock are available on Abondar's site (http://wps.abondar.de/?name=&ca=2&bd=2&sort=1)

and for reverting display regarding HOLD button position on iRock v1, see post n°7 page 1 of this thread

don't hesitate to ask for improvements ! personnaly, my theme fulfills my needs...
G
Title: Re: new: iRock WPS for iPod 5G
Post by: travishayes89 on July 23, 2006, 08:03:51 AM
hi SweetSpot

1) i don't understand why setting does nor act on clock format ; and the WIKI is currently down, so i can't check if there is a specific writing for that, sorry

2) 3)
replace
"
%xl|o|volicon.bmp|5|34|
%xl|p|batticon.bmp|175|32|
%xl|q|calendaricon.bmp|6|34|
%xl|r|clockicon.bmp|92|34|
%xl|s|whitecache.bmp|92|34|


%m|25|316|%?mh<%xdH%xdo%xdp%xds%al %pvdB%ar%bl%% (-%bt) |%xdr%xdq%al%ce/m/yc      %cH:M:Sc%ar%pp on %pe >
"
by
"
%xl|o|volicon.bmp|5|34|
%xl|p|batticon.bmp|172|32|
%xl|q|calendaricon.bmp|6|34|
%xl|r|clockicon.bmp|97|34|
%xl|s|whitecache.bmp|97|34|


%m|27|316|%?mh<%xdH%xdr%xdq%al%ce/m/yc      %cH:M:Sc%ar%pp OF %pe |%xdo%xdp%xds%al %pvdB%ar%bl%% (-%bt) >
"
this will invert the displays (w/ HOLD = calendar, clock & playlist ; w/o HOLD, vol + battery info)
and your OF vs. on display
i could see that there is still the top of the battery icon which is visible...

can you show me which line/lines to change the just change the X ON XX to X OF/OUT OF XX, please and thank you
Title: Re: UPDATED: iRock WPS for iPod 5G
Post by: jswetzen on July 23, 2006, 09:51:25 AM
hi SweetSpot

1) i don't understand why setting does nor act on clock format ; and the WIKI is currently down, so i can't check if there is a specific writing for that, sorry

2) 3)
replace
"
%xl|o|volicon.bmp|5|34|
%xl|p|batticon.bmp|175|32|
%xl|q|calendaricon.bmp|6|34|
%xl|r|clockicon.bmp|92|34|
%xl|s|whitecache.bmp|92|34|


%m|25|316|%?mh<%xdH%xdo%xdp%xds%al %pvdB%ar%bl%% (-%bt) |%xdr%xdq%al%ce/m/yc      %cH:M:Sc%ar%pp on  %pe >
"
by
"
%xl|o|volicon.bmp|5|34|
%xl|p|batticon.bmp|172|32|
%xl|q|calendaricon.bmp|6|34|
%xl|r|clockicon.bmp|97|34|
%xl|s|whitecache.bmp|97|34|


%m|27|316|%?mh<%xdH%xdr%xdq%al%ce/m/yc      %cH:M:Sc%ar%pp OF %pe |%xdo%xdp%xds%al %pvdB%ar%bl%% (-%bt) >
"
this will invert the displays (w/ HOLD = calendar, clock & playlist ; w/o HOLD, vol + battery info)
and your OF vs. on display
i could see that there is still the top of the battery icon which is visible...

can you show me which line/lines to change the just change the X ON XX to X OF/OUT OF XX, please and thank you

I think it's the "on" I have marked red in the quote that you have to change. (To "of" or whatever you want)
Title: Re: UPDATED: iRock WPS for iPod 5G
Post by: KatManDEW on July 25, 2006, 12:38:22 PM
Can you point me to the directions on how to install this theme on my iPod?

Thanks.
Title: Re: UPDATED: iRock WPS for iPod 5G
Post by: Sweet Spot on July 25, 2006, 07:37:17 PM
So you wound up purchasing the iPod eh Kat ? *Loves pointing out the obvious* 

The process is the same for every theme. Just unzip it to the Rockbox folder. Some people when packing their themes, create a redundant folder calle Rockbox, so you might have to look out for that from time to time. In that case, just move all the other files to the appropriate places... Such as "backdrop" or Wps, make sure there aren't redundant folders, and only use the ones which are located in the original Rockbox folder.

Did you download the album art patched build, to take advantage of Album art ?

Doug