Rockbox Technical Forums
Support and General Use => Theming and Appearance Customization => Topic started by: motionman95 on April 25, 2009, 12:48:46 PM
-
I have an idea for a WPS for the Sansa C250. I've created some images as to how it would look. (See below)
WPS:
(http://coderkid.co.cc/Rockbox/SansaPod.jpg)
WPS Volume:
(http://coderkid.co.cc/Rockbox/SansaPodVol.gif)
I was wondering if anyone would be willing to collaborate with me to get this made. I'm more of a graphics kinda guy, and less of a coder one. But either way, I'll be very happy to help whoever decides to help me in any way I can!
Thanks in advance,
motionman95
EDIT:
I've added the zip that contains the cut-up images. Thanks for pointing that out, BigBambi!
http://uploading.com/files/27NVZXR9/SansaPodWPS.zip.html
-
That looks pretty simple to do, and it would probably be quicker to do it yourself. See www.rockbox.org/wiki/CustomWps
Even if someone does decide to do it, it would help them immensely if you could actually prepare the images for them, seeing as you are the "graphics guy".
P.S. Please use real, full words such as collaborate (I'm guessing that is what you mean by "colab")
-
I already have made a zip containing the cutup images. I'll try to make sure to use complete words.
-
i'll help you no problem. how about you finish that plugin i suggested while i do your wps ;) PS since you already have a zip file, can't you just attach it to this topic and change the extension rather than posting it on mediafire? i can't access that page somehow.
-
Your plugin's pretty much finished, it just that I'm having one HUGE problem that I need help with. When I get the chance I'll upload the zip.
-
i'll help you no problem. how about you finish that plugin i suggested while i do your wps ;) PS since you already have a zip file, can't you just attach it to this topic and change the extension rather than posting it on mediafire? i can't access that page somehow.
If zips were wanted attached to the forum the .zip extension would be allowed...
-
hm, then try re-uploading it. that link seems bad.
-
Re-uploaded! 8)
-
I could try giving this a shot, if you want. I just downloaded the .zip of the graphics; and I'll get started on the WPS code tomorrow. (Current time is 9:25 PM, EST) :)
-
Sure, I'd love it if you did. ;D
-
http://uploading.com/files/8MUNDA2K/SansaPod.zip.html
You still have to create a Backdrop, and remove the ff00ff colour from the play and hold button. it's best if you just paste th icons on the background and copy it with the background, no need to fill it with ff00ff, the files will not be bigger and it's easier to handle. if you don't change the dimensions and filenames, you're good to go. if you're having problems, get back to me. i used nimbus 10, didn't know which font you used...
-
Do you mean bitmap backdrop, or color backdrop?
-
You still have to create a Backdrop
a backdrop in rockbox is the image that is displayed in the main menu.
remove the ff00ff colour from the play and hold button. it's best if you just paste th icons on the background and copy it with the background, no need to fill it with ff00ff, the files will not be bigger and it's easier to handle. if you don't change the dimensions and filenames, you're good to go. if you're having problems, get back to me. i used nimbus 10, didn't know which font you used...
i mean the background of the playmode and hold bitmaps. replace it with the background of the wps background or else it will look like what i sent you.
-
Wow, you've done an awesome job! Do I have to create a backdrop? I don't really care... ???
Re-uploaded.
http://uploading.com/files/J5HRW3NU/SansaPodWPS.zip.html
-
You beat me to the punch, BdN3504. My code was having problems anyway.
Can anyone tell me where I went wrong?
#Remove the Staus Bar.
%wd
#Load the backdrop.
%X|/.rockbox/backdrops/WpsBackground.bmp|
#Load the battery strip.
%xl|B|battery.bmp|3|4|13|
#Battery Icon viewport. Shows the battey graphic.
%V|3|4|11|5|-|-|-|
%?bl<%xdBa|%xdBb|%xdBc|%xdBd|%xdBe|%xdBf|%xdBg|%xdBh|%xdBi|%xdBj|%xdBk|%xdBl|%xdBm>
#Preload the progress bar viewport.
%Vl|b|26|61|80|7|-|-|-|
%pb|PlayBar.bmp|0|0|78|5|
#Preload the volume graphics.
%xl|V|volumeaa.bmp|26|61|26|
%xl|W|volumebb.bmp|26|61|11|
%Vl|a|26|61|80|7|-|-|-|
%pv<%xdVa|%xdVb|%xdVc|%xdVd|%xdVe|%xdVf|%xdVg|%xdVh|%xdVi|%xdVj|%xdVk|%xdVl|%xdVm|%xdVn|%xdVo|%xdVp|%xdVq|%xdVr|%xdVs|%xdVt|%xdVu|%xdVv|%xdVw|%xdVx|%xdVy|%xdVz|%xdWa|%xdWb|%xdWc|%xdWd|%xdWe|%xdWf|%xdWg|%xdWh|%xdWi|%xdWj|%xdWk|>
#Show viewport A if volume is changing; viewport B otherwise.
%?mv<%Vda|%Vdb>
#Hold Icon
%xl|L|Lock.bmp|103|4|2|
%V|103|4|7|8|-|-|-|
%?mh<%xdLb|%xdLa>
#Playback Status Icon
%xl|P|123|4|5|
%V|123|4|6|7|-|-|-|
%?mp<%xdPa|%xdPb|%xdPc|%xdPd|%xdPe>
#Track time.
%V|35|2|64|9|1|-|-|
%ac%pc/%pt
#The song information.
%V|23|20|87|36|1|-|-|
%s%ac%?ia<%ia|Artist Untagged>
%s%ac%?id<%id|%d1>
%s%ac%?%it<%it|%fn>
ERR: Failed parsing on line 18 : ERR: Conditional syntax error after token 31: "
volume"
-
The way I understand %xd you would need:
%xdVy|%xdVz|%xdVA|%xdVB|
Using lowercase and uppercase sub-image ID giving you 52 possible sub-images.
-
I don't know if this is causing the problem you describe, but it came to my attention that the volume images are being placed exceeding the viewport limits:
%xl|V|volumeaa.bmp|26|61|26|
%xl|W|volumebb.bmp|26|61|11|
%Vl|a|26|61|80|7|-|-|-|
(the |26|61| coordinates seem to be redundant, perhaps the %xl tag should have |0|0| instead)
-
i tried incorporating the volume level with bitmapstrips using two different descriptors. But the problem is that the image size of the volume bitmap exceeds the buffer size, so i removed some of the bars to make the bitmap smaller. You might end up with the same problem after you're done coding, so save yourself some frustration and resize the image!
-
BdN3504, you've done an awesome job. The only problem is that when the file has no ID3 tags, the WPS displays nothing. I was wondering if you could change it so that when there's no ID data, the WPS just displays the name of the mp3 file, like "REC_01.mp3", etc. Thanks!
-
Hey, motionman95 did you not get my zip file of this theme that I made for you when you messaged me before you started all this or did you just want a better wps? Here is a screenshot of the one I made for you before:
-
Yeah...I was kinda looking for something that looked more like the image I posted...
(http://coderkid.co.cc/Rockbox/SansaPod.jpg)
-
I've got the font that I used in the image origanally. How do I change the WPS code so that it displays properly?
I've attached the font...
(Hint: change the extension to .zip)
-
You can change the font in the theme's .cfg file (located in /.rockbox/themes/).
-
I know that, I've already done it. But for some reason in the WPS doesn't display the font correctly - it's bottom part is cut off.
-
that's because your font won't fit into the viewports.
move the viewports containing written info (time, artist etc) up a little and make them higher like this:
old:
%Vl|X|123|456|789|123|1|XXXXXX|XXXXXX|
new:
%Vl|X|123|450|789|129|1|XXXXXX|XXXXXX|
This example will move the viewport up 6pxs and increase it's height 6 pxs
-
I've removed the attached font from the post. Please do not attempt to bypass our restrictions. if you think something should be allowed that isn't, contact us first.
-
Thanks, bdn3504! WPS is perfect!
-
Can someone modify this for the e2x0? If it had album art support that would be great
-
Well, I could provide the image(s)...but only if some one here agrees to writing the WPS code.
-
Why "only if"?
That's not very community spirited :(
-
When and if this makes it to the theme site you can download it and then it should be relatively easy to resize the icons and tweak the code for the new size of screen.
-
Well, here's the image of how the theme for the E200 is going to look. I still have to cut up the images though.
-
Are you considering porting it to other targets like the iPod Video*? I think it would be cool to see a WPS that looks similar to the OF. I know I would use this when i let my friends use it (so they have a familiar theme).
* If you want help with some of the pictures for it, I am farily good with the GIMP, and would be more than happy to help get a new theme going for the Video.
-
That seems like a good idea, although I have to finish cutting the images up for the E200 first (which may take some time, depending on my schedule), and then I'll move on to the iPod Video...
-
That seems like a good idea, although I have to finish cutting the images up for the E200 first (which may take some time, depending on my schedule), and then I'll move on to the iPod Video...
if you would like, I could size up the images for iPod video, and if taught I could even cut them up and get the WPS working for it.
So, would you mind uploading it to an upload site, and post the link on here?
-
Here's how the WPS for the iPod Video looks, next I have to cut up the images...
-
Heres the current SansaPod theme but I made it so it displays album art when the hold switch is on: