Rockbox Technical Forums

Support and General Use => Theming and Appearance Customization => Topic started by: madsic on May 17, 2006, 02:19:13 PM

Title: Nano theme: "Jack"
Post by: madsic on May 17, 2006, 02:19:13 PM
Originally I just wanted to add album art to the Ipod_nano theme... (see this post: http://forums.rockbox.org/index.php?topic=4239.0 (http://forums.rockbox.org/index.php?topic=4239.0)) and then it just sort of went from there  :)

I'm pretty pleased with the results but please let me know what you think and point out possible improvements before I upload it to the nano wps section.

Fancy features:

Screen dumps:

(http://pics.viharpander.dk/posts/jack_dump1.png)

(http://pics.viharpander.dk/posts/jack_dump2.png)

And a link to the theme:
http://files.viharpander.dk/jack.rar (http://files.viharpander.dk/jack.rar)

Check out the earlier post for info on the workings of the theme. Or just ask.

Things I would like to improve:
Title: Re: Nano theme: "Jack"
Post by: senab on May 17, 2006, 02:31:17 PM
To do the volume I use 11 images at different intervals of battery, then load the ten images and use this:

Code: [Select]
%?pv<%xda|%xdb|%xdc|%xdd|%xde|%xdf|%xdg|%xdh|%xdi|%xdj|%xdk>
Title: Re: Nano theme: "Jack"
Post by: madsic on May 17, 2006, 02:40:36 PM
To do the volume I use 11 images at different intervals of battery, then load the ten images and use this:

Code: [Select]
%?pv<%xda|%xdb|%xdc|%xdd|%xde|%xdf|%xdg|%xdh|%xdi|%xdj|%xdk>

I'm not sure I understand... What does the battery level images have to do with volume level?
Title: Re: Nano theme: "Jack"
Post by: senab on May 17, 2006, 03:24:21 PM
Sorry forget the word battery, I meant volume ;)
Title: Re: Nano theme: "Jack"
Post by: madsic on May 17, 2006, 04:06:47 PM
Sorry forget the word battery, I meant volume ;)

Ah... I thought that maybe there was some secret switch between the two that would unlock the ability to use more levels  ;D No such luck... Well that's pretty much what I'm doing. Out of the thirty images I only kept every third so I got back down to ten-eleven again.
Title: Re: Nano theme: "Jack"
Post by: madsic on May 18, 2006, 04:09:01 AM
New battery icon:

(http://pics.viharpander.dk/posts/jack_dump3.png)

http://files.viharpander.dk/jack_0.2.rar (http://files.viharpander.dk/jack_0.2.rar)
Title: Re: Nano theme: "Jack"
Post by: madsic on May 18, 2006, 05:59:59 AM
The theme's been uploaded to the nano section (http://www.rockbox.org/twiki/bin/view/Main/WpsIpodNano#Jack) of the ipod wps listing.

Oh and the odd  "l/orbell" - I have no idea what that is. The other tracks from the album display correctly. Just a fluke, I think.
Title: Re: Nano theme: "Jack"
Post by: madsic on May 18, 2006, 11:51:37 AM
A bit prematurely it would seem...  :(

I just recharged it (under 'rockbox info' it says 98 %) and it still showing the same halfway-icon as before... I have checked the icons which all seem to be correct and properly named. Which leads me to conclude that there must be some problem with the wps-file:

The images are loaded:
Code: [Select]
%xl|G|batt01.bmp|152|3|
%xl|H|batt02.bmp|152|3|
%xl|I|batt03.bmp|152|3|
%xl|J|batt04.bmp|152|3|
%xl|K|batt05.bmp|152|3|
%xl|L|batt06.bmp|152|3|
%xl|M|batt07.bmp|152|3|
%xl|N|batt08.bmp|152|3|
%xl|O|batt09.bmp|152|3|

And displayed:
Code: [Select]
%?bl<%xdG|%xdH|%xdI|%xdJ|%xdK|%xdL|%xdM|%xdN|%xdO>
Anybody readin the wps file will notice the gap from the last volume icon (image 'k') up to the first battery icon ('G'). The interval was origally assigned for some twenty more volume images for a more smooth transition effect. These were abandoned (see above) I can't imagine this to have any effect but I thought I would mention it just for completeness.

Any ideas? Or if anybody has been using the set, have you seen the same thing?

EDIT: I just inserted an extra non-grpahic measure:
%?bl<0|1|2|3|4|5|6|7|8|9>
which translates 90% (rockbox info) into a '4'... I guess it makes sense if you can only have five levels... Again I seem to have misinterpreted the CustomWPS page... And you can't really complain about a wiki without doing something yourself.... Damn  >:(
Title: Re: Nano theme: "Jack"
Post by: RedBreva on May 18, 2006, 01:19:06 PM
From http://www.rockbox.org/twiki/bin/view/Main/CustomWPS#Power_related_information

%bl - Show numeric battery level in percent.
Can also be used in a conditional: %?bl<0|1|2|3|4>

Only 5 levels of battery are available ...
Title: Re: Nano theme: "Jack"
Post by: madsic on May 19, 2006, 05:33:37 AM
Yes, so I gathered. My mistake was that I took it to be an example of how you could divide the continuum 0-100 % into X discrete categories where X just happened to be five here. After all, it's just a bit of long division if you wanted say 9 instead. I think that could be clearer.

Or, as an afterthought, changed. If the idea is to let the user customize as much as possible why hardwire 10 volume levels and 5 battery states? I don't know anything about this sort of thing but surely you could just add the number of intervals you wanted as a first parameter (which would then be divided into 100 % or can't-remember-how-many-dB) and then go on to specify them.
Title: Re: Nano theme: "Jack"
Post by: madsic on May 20, 2006, 01:45:29 PM
For anybody interested, I updated the Nano section of whe WPS gallery (http://www.rockbox.org/twiki/bin/view/Main/WpsIpodNano#Jack) with two more versions. Hope you like them  :)
Title: Re: Nano theme: "Jack"
Post by: omne on July 24, 2006, 07:33:14 AM
I love this theme but got two problems :
- I'm frensh, and in my language, there's accents, like this : éàâîê, the font you choose don't have them (i use an other font...)
- There's strange things on the screen something like :
50|10|xx|
I don't have the cover art hack, don't know how to do with this, maybe it's linked ?

Thank's a lot. I can play my ogg files and have a great look an my nano.

Omné
Title: Re: Nano theme: "Jack"
Post by: travishayes89 on July 24, 2006, 08:42:01 AM
I love this theme but got two problems :
- I'm frensh, and in my language, there's accents, like this : éàâîê, the font you choose don't have them (i use an other font...)
- There's strange things on the screen something like :
50|10|xx|
I don't have the cover art hack, don't know how to do with this, maybe it's linked ?

Thank's a lot. I can play my ogg files and have a great look an my nano.

Omné

http://www.senab.co.uk/rockbox/ click on download, click on the part for the Nano, and the unzip it like a normal build
Title: Re: Nano theme: "Jack"
Post by: omne on July 25, 2006, 04:10:10 AM
Thx, it work's, but only with a non accentuated font.
I need to find one with accent and the same size.

Rockbox is realy great !
Title: Re: Nano theme: "Jack"
Post by: madsic on July 30, 2006, 08:30:39 AM
Quote
I love this theme but got two problems :
- I'm frensh, and in my language, there's accents, like this : éàâîê, the font you choose don't have them (i use an other font...)
- There's strange things on the screen something like :
50|10|xx|
I don't have the cover art hack, don't know how to do with this, maybe it's linked ?

Thank's a lot. I can play my ogg files and have a great look an my nano.

Omné

Merci - suis bien content que tu l'aime :)

I seem to recall that I didn't go through a lot of fonts - just found one that looked fitting and went with it. So there might very well be others that are just as suitable or better. Please let me know if you find one that works and has more 'foreign language' characters. I'm Danish myself - a langauage that has a few character quirks of it's one :)

As pointed out above senab's builds are excellent (I'm using an old one of his myself) I would however like to have a somewhat smoother animation for the volume wheel and battery levels which requires me to make a special build.... When I get the time :)
Title: Nano theme: "Jack"
Post by: madsic on August 19, 2006, 06:40:05 AM
Summer's almost gone to quote Jim Morrison and I got bored.... So I decided to give the pretty tame main version a workover. Album art is gone (I can't really be bothered to do the whole download-compress-convert-rename-routine-anymore) but the main point is still to cram information in there without it getting ugly. Feedback/suggestions = welcome :)

Screendump  (colour somewhat distorted, more faded red than uhm cherry):
(http://pics.viharpander.dk/posts/jack3dump.jpg)

Download: http://files.viharpander.dk/jack3.zip (http://files.viharpander.dk/jack3.zip)

EDIT: I just took the opportunity to upgrade to the latest senab version and realized that scrolling margins were part of the package. Duly implemented (just replaced the file).

EDIT: I'm getting a little enamoured by the swirl graphic...  :-[ so I'd just point out that a quite nice lite version which reveals more of the graphic can be created by deleting the codec info and the 'next' lines... that's all :)
Title: Re: Nano theme: "Jack"
Post by: Tiis on August 19, 2006, 07:22:49 AM
Yeah, very nice! Your Themes are my favorite, so I edited it few days ago and made it foreigen characters confirm by choosing nimbus-12 as the new font, and today I see you did the same. I also applied some other minor changes to fit my expections ;)

(http://home.arcor.de/Tiis/nano1.bmp)

(http://home.arcor.de/Tiis/nano2.bmp)
(Coverart works fine, besides the simulator..)

But next track feature is missing, so im going to have a deep look at your new one  ::)

Thx madsic!
Title: Re: Nano theme: "Jack"
Post by: madsic on August 19, 2006, 07:36:13 AM
Thanks, Tiis - and feel free to tinker all you want :)

The time in the status bar is an excellent idea - i wonder if it could be done in graphics.... Hmmm... And I really like the branch graphic, very stylish :)
Title: Re: Nano theme: "Jack"
Post by: denis_std on September 08, 2006, 03:57:22 PM
I have the latest senab built but the Jack theme doesn't fit into the screen of my Nano 4GB.

Over the art image I get something like

34|34|345 ...

What can I do to let the theme fit for my iPod Nano screen?
Title: Re: Nano theme: "Jack"
Post by: madsic on September 08, 2006, 05:12:01 PM
I have the latest senab built but the Jack theme doesn't fit into the screen of my Nano 4GB.

Over the art image I get something like

34|34|345 ...

What can I do to let the theme fit for my iPod Nano screen?

Thanks for bringing it to my attention. I'm not sure I'm entirely up to speed on the builds - at any rate I don't get that. The most likely explanation seems to be that the album art patch has changed the parameters used which would probably result in something like you're getting. I'll look into it - at any rate I'm working on new versions which will require a few other patches so I'll soon post some updates.
Title: Re: Nano theme: "Jack"
Post by: madsic on September 08, 2006, 06:11:55 PM
As I suspected, the syntax for the patch has been changed - the cover art bitmap is now first loaded and then placed. Which means that the line (in the file jack_white.wps)

Code: [Select]
%C<%C|5|77|50|50|
Should be replaced by the lines:

Code: [Select]
%Cl|5|77|50|50|
%C

I'll try to do the new versions soon but my own nano has been acting up lately due to having been out in a rain storm  :( So testing is gonna take some patience....
Title: Re: Nano theme: "Jack"
Post by: denis_std on September 09, 2006, 06:38:52 AM
Thank you for your fast response. I will test that right now and post my experience.

Denis

Update:

Yeah with the fix it works just fine.
Title: Re: Nano theme: "Jack"
Post by: mightybrick on September 09, 2006, 07:15:22 PM
Yeah, very nice! Your Themes are my favorite, so I edited it few days ago and made it foreigen characters confirm by choosing nimbus-12 as the new font, and today I see you did the same. I also applied some other minor changes to fit my expections ;)

(http://home.arcor.de/Tiis/nano1.bmp)

(http://home.arcor.de/Tiis/nano2.bmp)
(Coverart works fine, besides the simulator..)

But next track feature is missing, so im going to have a deep look at your new one  ::)

Thx madsic!

Would you mind posting your altered version on the Nano WPS page on the wiki?  With  madsic's permission, of course! ;)
Title: Re: Nano theme: "Jack"
Post by: madsic on September 10, 2006, 07:19:39 AM
Would you mind posting your altered version on the Nano WPS page on the wiki?  With  madsic's permission, of course! ;)

Post it, peel it, pump it - as long as I get some kind of credit, I'm a happy camper :)
Title: Re: Nano theme: "Jack"
Post by: madsic on September 13, 2006, 01:00:04 PM
As promised, project Jackrabbit is underway...  ;) There's alot of stuff I've found out that can't be done (the many-volume-levels-bitmaps patch, antialiasing....) but some improvements are finding their way into this.

Using Pijulius quartet of patches all themes are going to be converted to using multiple fonts and exact y-coordinate locations. If anybody's interested, here's a mugshot:

(http://pics.viharpander.dk/posts/jib_dump.jpg)

And if you want a testdrive:

Jackrabbit.zip (http://files.viharpander.dk/jackrabbit.zip)

And as Company Flow says I could use some help: If anybody can confirm for me that it works with senab (http://www.senab.co.uk/rockbox/download.htm)'s julius-build, I would be very grateful. For various reasons (long story) I am having difficulties with his builds.

Oh and one final thing. I should warn you that there might be some issues with changing back to a WPS that does not use the options the patches enable. Nothing that a restart shouldn't fix, I believe.


Title: Re: Nano theme: "Jack"
Post by: madsic on September 18, 2006, 05:03:05 AM
Just wanted to add that I found out that it did.... This one won't though (uses a forgotten patch that let's you specify the y-coordinate of the progress bar) but I thought I'd post a screenshot for the benefit of anybody who cares:

(http://pics.viharpander.dk/posts/jib_dump2.jpg)

The idea is to combine this with something like the screenshot from the prior post. The former should display when there is no album art, the latter when there is (using the newly introduced conditional album art tag, i.e. 'this should be displayed if there is album art to be found, this should be displayed if there isn't any') but the combination of pijulius' patches and the album art patch is not without problems so I'm awaiting that he tries to the same trick himself.
Title: Re: Nano theme: "Jack"
Post by: madcow on September 19, 2006, 10:02:19 AM
Hi!
Just informing I've ported and modded your nice theme to the iAudio X5.
The credits to you are in the archive.
http://www.rockbox.org/twiki/bin/view/Main/WpsIaudioX5#JeroenKlomp
Title: Re: Nano theme: "Jack"
Post by: madsic on September 19, 2006, 07:15:53 PM
Hi!
Just informing I've ported and modded your nice theme to the iAudio X5.
The credits to you are in the archive.
http://www.rockbox.org/twiki/bin/view/Main/WpsIaudioX5#JeroenKlomp

Nice work :) And thanks.
Title: Re: Nano theme: "Jack"
Post by: madsic on October 26, 2006, 07:49:35 PM
I finally got down to giving the themes (http://www.rockbox.org/twiki/bin/view/Main/WpsIpodNano#Jack) an overhaul. There is now a new main line with a focus on layout (Jackinabox) and updated editions of some of the other versions I've made down the line.

The Jackinabox version has specified y-coordinates for text lines as well as the progress bar which makes it a lot easier getting the wps to look neat and utilizes the mulitple font patch for a more logical WPS structure (artist, song and album info in big, bold letters; somewhat smaller and lighter letters for playlist info and a small, heavy font for time and track length/progress). I have also tried to keep the status bar uncluttered by moving pause and lock icons out of it. These now take the place of other info when activated but don't I think anything important is lost in the move.

If you want to use Jackinabox, please download this build (http://files.viharpander.dk/rb/rockbox_jackrabbitbuild_20060916.zip) or make your own by using pijulius' patches (http://pijulius.com/julius/rockbox/patches/) (1 through 5 should suffice) and glitter's progressbar ycoordinate patch (http://www.rockbox.org/tracker/task/4783). Please note that my custom build is over a month old as the patches are in need of upgrading and that it will distort other themes due to the presence of the progress bar y coordinate patch (since no y coordinate is specified for 'normal' theme progress bars, they are displayed at y=0).

If you prefer not to use a specialised build or still want album art, the older ones have been updated and tidied up, so that they should be compatible with current daily builds.

I hope you like the new themes.

P.S. A big thanks to pijulius for the patches and help offered.
Title: Re: Nano theme: "Jack"
Post by: ryran on October 26, 2006, 10:45:39 PM
My nano's dead now, but I just wanted to acknowledge all the great work you did on this dude. They look nice. :)
Title: Re: Nano theme: "Jack"
Post by: madsic on October 26, 2006, 10:57:45 PM
Thanks :) And my respects to your nano....  The Lord giveth and the Lord taketh away...  :-\
Title: Re: Nano theme: "Jack"
Post by: ryran on October 27, 2006, 01:02:19 AM
haha... indeed. :D
Title: Re: Nano theme: "Jack"
Post by: Vulcan on October 28, 2006, 05:41:02 PM
Finally, a WPS that is actually on par with what the 5g has had.  I'm goign to be doing some customizations of my own.

BTW, I tried to compile the CVS with the pijulius patches and did not succeed.  So, the patches need to be updated it looks like.  Does anyone have an idea what the newest version I might have success compiling with?
Title: Re: Nano theme: "Jack"
Post by: madsic on October 29, 2006, 05:33:52 AM
Does anyone have an idea what the newest version I might have success compiling with?

Well, the patches were updated last time late september so in theory you should try with source code from around there maybe into early october. However, I should say that I tried myself and was able to patch successfully against source from the 30th september and around there (BTW be aware that one of the multifonts patches will always give a hunk failure so you'll need to insert the .rej file manually: see http://www.rockbox.org/tracker/task/5901) but got a persistent error whenever i tried to build it. When I asked pijulius about this, he replied october 16th that he was going to put up the patched source code on his own site - which we're still waiting for  :)

Don't know if that answered your question . Personally I don't think it's worth the bother until an updated source/patch arrives (check this thread (http://forums.rockbox.org/index.php?topic=4417.0) for clues) but I hope this helps. Let me know if you're having any success/difficulty.
Title: Re: Nano theme: "Jack"
Post by: madsic on November 15, 2006, 08:39:38 AM
During pijulius' absence, psndcsrv has apparently adopted his patches. Or perhaps just babysitting them :) At any rate I've used the updated patches to do an updated build that can be used with jackinabox. Thanks to pijulius and psndcsrv.

Download jackrabbitbuild_20061112 (http://files.viharpander.dk/rb/rockbox_jackrabbitbuild_20061112.zip)

EDIT: Just thought I'd link to the jbuild thread (http://forums.rockbox.org/index.php?topic=4417.msg57870#new) that psndcsrv posted the news to.
Title: Re: Nano theme: "Jack"
Post by: madsic on November 15, 2006, 10:34:59 AM
And due to a question from mightybrick I just had a look at the customwps page. As I've pointed out in another thread (http://forums.rockbox.org/index.php?topic=7372.0) there are no longer any restrictions on the number of intervals that make up the 0-100% of battery and volume levels. So I uploaded a new version of jackinabox to the WPS gallery (http://www.rockbox.org/twiki/bin/view/Main/WpsIpodNano#Jack) with 30 volume and 10 battery increments. It's no great improvement but I like the way it makes the whole thing feel responsive to user input (as opposed to an update every second or so....).
Title: Re: Nano theme: "Jack"
Post by: Tatey on November 21, 2006, 09:05:24 AM
Great theme, thanks very much!
Title: Re: Nano theme: "Jack"
Post by: madsic on February 22, 2007, 08:29:21 AM
A minor update: All the 'old style' versions have been updated with better code and more battery/volume levels. Also the wps gallery entry now refers to IpodFoos build (http://ipodfoo.blogspot.com/) for a build that should support all features of all versions. The multifont patches are currently in a bit of a limbo so updating is hard but I hope it'll get resolved sometime soon.
Title: Re: Nano theme: "Jack"
Post by: madsic on February 27, 2007, 07:22:22 PM
And yet another one: I made my own hold, shuffle and various repeat icons to substitute the inverted firmware ones. I think it's an improvement but tastes vary  :)
Title: Re: Nano theme: "Jack"
Post by: madsic on April 24, 2007, 12:17:20 PM
YAJU (yet another jack update). Paired the variations down to three fairly self-explanatory: Basic, Info and Album Art. Enjoy.