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:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  newbie working on a new theme for the gigabeat f
« previous next »
  • Print
Pages: [1] 2

Author Topic: newbie working on a new theme for the gigabeat f  (Read 5845 times)

Offline sevenwords

  • Member
  • *
  • Posts: 25
    • j-dubs.net
newbie working on a new theme for the gigabeat f
« on: March 19, 2007, 08:23:58 PM »
Hello, I'm new here.  I just installed Rockbox on my Gigabeat F40 about a week ago and I must say that this is one of the best things I've come across in a long time and I would like to say thank you to all the people involved in making such an awesome thing.  I have decided to give back by designing a new theme.  I have no prior coding knowledge but it seems pretty easy to pick up after reading the manual and looking at some of the other themes I've installed for reference points.  I already have most of the wps file done but I had a little question.

I'm attempting to do a new theme for the Gigabeat F and I was wondering about the date & time tags.  I looked in the manual and I didn't see those listed, does anyone have a complete list of tags for the WPS?  Also does anyone have any pointers about making themes that isn't listed in the manual such as album art and placement of custom bmp's (like how many pixels = 1 line?  I tried to make sure I searched around 1st before asking questions, so be easy on me!  ;D  Thanks!
Logged

Offline Flake

  • Member
  • *
  • Posts: 21
Re: newbie working on a new theme for the gigabeat f
« Reply #1 on: March 19, 2007, 09:50:43 PM »
Quote from: sevenwords on March 19, 2007, 08:23:58 PM
I was wondering about the date & time tags

http://www.rockbox.org/twiki/bin/view/Main/CustomWPS#Real_Time_Clock
Logged
Sansa e280 ver 1.03.01

Offline sevenwords

  • Member
  • *
  • Posts: 25
    • j-dubs.net
Re: newbie working on a new theme for the gigabeat f
« Reply #2 on: March 19, 2007, 10:32:32 PM »
Thank you, I was going off the PDF and it wasn't in there.  I almost have it done.  I have it running on my Gigabeat now, I just need to get an ok from the artist who made the background (which shouldn't be a problem) and make some minor cosmetic changes.  It's pretty simple but very clean & nice looking.
Logged

Offline Hweb21

  • Member
  • *
  • Posts: 164
Re: newbie working on a new theme for the gigabeat f
« Reply #3 on: March 19, 2007, 11:48:39 PM »
Quote from: Flake on March 19, 2007, 09:50:43 PM
http://www.rockbox.org/twiki/bin/view/Main/CustomWPS#Real_Time_Clock

Maybe this should be added to the PDFs.
Logged

Offline sevenwords

  • Member
  • *
  • Posts: 25
    • j-dubs.net
Re: newbie working on a new theme for the gigabeat f
« Reply #4 on: March 20, 2007, 07:53:55 PM »
Here's the screen shots I have so far.  I'm still going to change a couple things before I release it.  No set date yet.  Let me know what you guys think and if and what you'd like to see implemented.  I don'treally know how to add album art functionality, maybe someone could help me out with that?

Logged

Offline Hweb21

  • Member
  • *
  • Posts: 164
Re: newbie working on a new theme for the gigabeat f
« Reply #5 on: March 20, 2007, 11:23:25 PM »
http://www.rockbox.org/twiki/bin/view/Main/AlbumArt

if you need help with the code just paste it, tell me where you want it and how big you want it and i will write the code.
Logged

Offline sevenwords

  • Member
  • *
  • Posts: 25
    • j-dubs.net
Re: newbie working on a new theme for the gigabeat f
« Reply #6 on: March 21, 2007, 12:31:55 AM »
Quote from: HWEB21 on March 20, 2007, 11:23:25 PM
http://www.rockbox.org/twiki/bin/view/Main/AlbumArt

if you need help with the code just paste it, tell me where you want it and how big you want it and i will write the code.

Well isn't the standard now 100x100 since the resize doesn't work?  I'm thinking about moving everything below "Now Playing:" down more and putting the album art centered in the middle under "Now Playing".  But I'm also open to have the album art in the same position but left alinged with the artist & track info next to it.  Here's the code.

Code: [Select]
%wd
%X|bg.bmp|
%al%bl%% power%ar%ca, b d l:MPc
%al Track %pp of %pe



%acNow Playing:

%s%ac%?ia<%ia|Unknown Artist>
%s%ac%?id<%id|Unknown Album> (%?iy<%iy|Unknown Year>)
%s%ac%?it<%it|Unknown Track Name>
%ac%fb kbps %fc


%pb|10|10|230|

%al%pc%ac%pt%ar%pr
%ac%?mp

%acNext Track:

%s%ac%?Ia<%Ia|Unknown Artist>
%s%ac%?Id<%Id|Unknown Album> (%?Iy<%Iy|Unknown Year>)
%s%ac%?It<%It|Unknown Track Name>








%al %?mm%ar%?ps

For some reason it's not allowing me to add the last line of code.
« Last Edit: March 21, 2007, 09:21:36 PM by sevenwords »
Logged

Offline Job Van Dam

  • Member
  • *
  • Posts: 167
Re: newbie working on a new theme for the gigabeat f
« Reply #7 on: March 21, 2007, 02:11:59 AM »
Holy crap I'm so gonna teef that backdrop.

I guess I'm part of the minority but I don't like knowing the next song and I don't like album art.

Still for your first theme that's really good. 4/5 stars.
Logged

Offline Nate!

  • Member
  • *
  • Posts: 235
Re: newbie working on a new theme for the gigabeat f
« Reply #8 on: March 21, 2007, 07:48:33 PM »
sevenwords:

Firstly, %mm will only show the letter m.  I think the tag you want to use is: %?mm
Example here: http://www.rockbox.org/twiki/bin/view/Main/CustomWPS#Repeat_mode
This will show the words corresponding to the Repeat mode you have set.

You can also load small bmp images in place of the words.  Replace the word 'OFF' above with %xd(a-zA-Z)  where (a-zA-Z) = the letter used in the corresponding %xl tag.  (Hope that made sense.)  ???
Looking here gives you an example of exactly what you are trying to do except with images: http://www.rockbox.org/twiki/bin/view/Main/CustomWPS#Using_images

Unless you intend on having a space in front of the Repeat Mode display you should use: %al%?mm

Lastly, try deleting a few of the lines above the %al%?mm tag.  It may be displaying, just far below the dimensions of your display.

Hope that helps.

Logged

Offline sevenwords

  • Member
  • *
  • Posts: 25
    • j-dubs.net
Re: newbie working on a new theme for the gigabeat f
« Reply #9 on: March 21, 2007, 08:56:18 PM »
Quote from: Nate! on March 21, 2007, 07:48:33 PM
sevenwords:

Firstly, %mm will only show the letter m.  I think the tag you want to use is: %?mm
Example here: http://www.rockbox.org/twiki/bin/view/Main/CustomWPS#Repeat_mode
This will show the words corresponding to the Repeat mode you have set.

You can also load small bmp images in place of the words.  Replace the word 'OFF' above with %xd(a-zA-Z)  where (a-zA-Z) = the letter used in the corresponding %xl tag.  (Hope that made sense.)  ???
Looking here gives you an example of exactly what you are trying to do except with images: http://www.rockbox.org/twiki/bin/view/Main/CustomWPS#Using_images

Unless you intend on having a space in front of the Repeat Mode display you should use: %al%?mm

Lastly, try deleting a few of the lines above the %al%?mm tag.  It may be displaying, just far below the dimensions of your display.

Hope that helps.



Nate,

thanks for the image tags, as far as the mm tag, I know about that, I mentioned that the code box for some reason on the BB messed up the code for the last line for some reason.  I have no clue as to why but I tried editing my post about 5 times and it would still display what you see for some reason.
Logged

Offline sevenwords

  • Member
  • *
  • Posts: 25
    • j-dubs.net
Re: newbie working on a new theme for the gigabeat f
« Reply #10 on: March 21, 2007, 09:15:26 PM »
hey nate (or anyone really),

1 more question.  what would you recommend for making custom icons?  I have photoshop and i'm pretty good using it but are there other programs more better equipped at making custom icons?

also, thanks for the compliments job van dam.  as for the next song playing tags, I really only added them because I personally use shuffle ALOT.  It's good to see what's coming up next, especially for parties with custom playlists.
« Last Edit: March 21, 2007, 09:19:17 PM by sevenwords »
Logged

Offline Nate!

  • Member
  • *
  • Posts: 235
Re: newbie working on a new theme for the gigabeat f
« Reply #11 on: March 21, 2007, 10:39:38 PM »
aww dang, so you were just showing your code.  Well in that case, umm, yeah looks good. :-[

Towards the top, under the %X, use: %Cl|160|125||| to define coordinates.

I put my tag to actually show the album art, at the bottom of the wps file to make sure it doesn't interfere with the Album Art itself.  I had this invisible line through album art in the beginning and it took me hours to figure it out.

Anyway, use: %?C<%C|%xdy> to show album art.
The %xdy loads a 255,0,255 square the same size as the Album art.  Just to wipe things clean if there isn't any album art present for a song/album.  I think you could just leave that last part off and it would probably do the same thing.  Have to test that myself. I may be loading something unnecessarily.

As for icon making: The Gimp is GNU licensed.  (Free for personal use.)  The Gimp is pretty powerful for all types of image editing/creation.  mtPaint is also of the same license and is more specifically for icon creating/editing, but is a decent image editor in general.

Sorry for the long posts.
« Last Edit: March 21, 2007, 10:42:20 PM by Nate! »
Logged

Offline jmsunlinenet

  • Member
  • *
  • Posts: 22
Re: newbie working on a new theme for the gigabeat f
« Reply #12 on: March 21, 2007, 11:19:11 PM »
Personally I don't like your background at all, but I guess that is a matter of taste. You might want to check the functionality and legibility in different lighting environments, for example in a car in sunlight, under fluorescent lighting, in darkness etc.
Logged

Offline Hweb21

  • Member
  • *
  • Posts: 164
Re: newbie working on a new theme for the gigabeat f
« Reply #13 on: March 21, 2007, 11:49:02 PM »
resizing works for me (use moded build though)

%?C<%C|>
%Cl|x|y|scZ|scZ|

sc = resize and center

Z = how big it is

ex.
%Cl|6|24|sc55|sc55|
so it would display a 55 X 55 album art at 6 to the right and 24 down.

would look like this
« Last Edit: March 21, 2007, 11:55:24 PM by HWEB21 »
Logged

Offline Mad Cow

  • Member
  • *
  • Posts: 445
Re: newbie working on a new theme for the gigabeat f
« Reply #14 on: March 22, 2007, 05:24:00 PM »
Yea, yhere's a resize patch that work perfectly, my build has it.
Logged
iRiver H10 5GB, Gigabeat F40, Gigabeat S60, all rockboxed. :P

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  newbie working on a new theme for the gigabeat f
 

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

Page created in 0.111 seconds with 14 queries.