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
| | |-+  Making a Theme / WPS - Struggling (please don't flame me)
« previous next »
  • Print
Pages: [1]

Author Topic: Making a Theme / WPS - Struggling (please don't flame me)  (Read 2635 times)

Offline Niles

  • Member
  • *
  • Posts: 23
Making a Theme / WPS - Struggling (please don't flame me)
« on: September 23, 2008, 10:25:40 AM »
Hi,

First off thanks to all the people who've made Rockbox possible. I used it to death on my iRiver H140 and have since moved to an iPod 5G and am using Rockbox with the same pleasing results.

Problem is I've got adventurous but I'm failing.

Basically, I wanted a simple Theme w/WPS that has the same look as my website.

The end idea is for the WPS to look like this.



Album art on the left, basic details on the right, nice and simple.

I thought I knew what I was doing but I cannot sort out how to get the album art on the left and have been pluggin and ejecting my ipod over the last 2 days almost continuously it seems.

I'm at the point now where I'm further away than where I started and my wps (or theme although this is unchanged) although basic gives me a fault message when I try to shut down.

*PANIC*
Write 718303681 after data []

This isn't happening when i load any other themes either prepackaged or downloaded.


I'm loath to keep meddling and brick my iPod so was wondering if anyone could help and point me in the right direction (other than the direction of the wiki  ;))

My theme is

wps: /.rockbox/wps/cosmicdisco.wps
browserfont: /.rockbox/fonts/nimbus-14.fnt
wpsfont: /.rockbox/fonts/nimbus-14.fnt
menufont: /.rockbox/fonts/nimbus-14.fnt
font: /.rockbox/fonts/nimbus-14.fnt
iconset: /.rockbox/icons/tango_small.bmp
viewers iconset: /.rockbox/icons/tango_small_viewers.bmp
line selector start color: fde89e
line selector end color: b58c00
selector type: bar (gradient)
line selector text color: 000000
foreground color: 000000
background color: FFFFFF
backdrop: /.rockbox/backdrops/cosmicdisco.bmp
statusbar: on
scrollbar: on

WPS at present (nowhere near what I want)

%wd

%X|cosmic.bmp|







%ar          %ia
%ar          %it
%ar          %id
%ar          %iy
%ar          Volume:%pv



Dimensions are 320 x 240 with artwork at 100 by 100.

Thanks in advance and apologies for the collosal newbiesness of this post.

« Last Edit: September 23, 2008, 10:27:58 AM by Niles »
Logged
iRiver - H140

Offline evilnick

  • Rockbox Expert
  • Member
  • *
  • Posts: 431
Re: Making a Theme / WPS - Struggling (please don't flame me)
« Reply #1 on: September 23, 2008, 10:28:47 AM »
You might want to try using a simulator build so that you don't have to keep testing on the ipod itself.
Also, it looks as if you're not using viewports, the use of which should be detailed in the Wiki.
Logged

Offline Niles

  • Member
  • *
  • Posts: 23
Re: Making a Theme / WPS - Struggling (please don't flame me)
« Reply #2 on: September 23, 2008, 10:32:59 AM »
I did look into the viewports without much success.
Like I say, the wps at the bottom is, I realise, nowhere near what I need.

Logged
iRiver - H140

Offline audio-i

  • Artist
  • Member
  • *
  • Posts: 266
Re: Making a Theme / WPS - Struggling (please don't flame me)
« Reply #3 on: September 23, 2008, 12:15:11 PM »
Besides using the simulator, and of course reading the wiki to learn and really know what you're doing (also taking a look to working themes .wps files is very helpful), you could define 3 viewports as shown in the image, one for album art, one for the song info, and another for volume and battery.



That could be something like this then:

%Cl|0|0|c100|c100|
%V|14|77|100|100|0|-|-|
%C
%V|129|91|177|72|1|yourfontcolour|000000|
%ar%ia
%ar%it
%ar%id
%ar%iy
(you didn't put the genre tag in your example)
%V|14|219|292|13|1|yourfontcolour|000000|
%alVolume: %pv%arBattery: %bl%%

Honestly, some things suggest that you might not have really tried to learn what to do before posting (you didn't even put the genre tag, or the battery % tag, or the album art displaying tag... volume tag is aligned to the wrong side...) and that might discourage people from helping, but... there you go.

Edit: there are some *unnecessary* lines in the .cfg file:

browserfont: /.rockbox/fonts/nimbus-14.fnt
wpsfont: /.rockbox/fonts/nimbus-14.fnt
menufont: /.rockbox/fonts/nimbus-14.fnt




« Last Edit: September 23, 2008, 04:05:41 PM by akahhannah »
Logged

Offline Niles

  • Member
  • *
  • Posts: 23
Re: Making a Theme / WPS - Struggling (please don't flame me)
« Reply #4 on: September 24, 2008, 03:27:31 AM »
Ok guys, apologies. The last .wps file was terrible.
I've had a good read up now and the simulator certainly helps.

I appreciate the assistance, seems viewports were the way forward.

Any ideas what the error message above was?

*PANIC*
Write 718303681 after data []

Logged
iRiver - H140

Offline MarcGuay

  • Rockbox Expert
  • Member
  • *
  • Posts: 1065
Re: Making a Theme / WPS - Struggling (please don't flame me)
« Reply #5 on: September 24, 2008, 07:15:54 AM »
Quote from: Niles on September 24, 2008, 03:27:31 AM
*PANIC*
Write 718303681 after data []

This has nothing to do with the WPS - it's a problem with the build.  If you can reproduce the bug, i.e. it didn't just happen once, you can open a report.

http://www.rockbox.org/twiki/bin/view/Main/FlySprayHowto
« Last Edit: September 24, 2008, 08:05:14 AM by MarcGuay »
Logged

Offline Niles

  • Member
  • *
  • Posts: 23
Re: Making a Theme / WPS - Struggling (please don't flame me)
« Reply #6 on: September 24, 2008, 07:47:00 AM »
I'll do that.
It's happening everytime.


Thanks.

:)
Logged
iRiver - H140

Offline BdN3504

  • Artist
  • Member
  • *
  • Posts: 323
Re: Making a Theme / WPS - Struggling (please don't flame me)
« Reply #7 on: September 24, 2008, 12:15:58 PM »
http://www.sendspace.com/file/7jdon4

now please create some buttons and icons, so you won't be the only person in the world to use this theme.
Logged

Offline Niles

  • Member
  • *
  • Posts: 23
Re: Making a Theme / WPS - Struggling (please don't flame me)
« Reply #8 on: September 25, 2008, 03:34:52 AM »
I'll get onto that this weekend.
Thanks for ze assistance.
 8)
Logged
iRiver - H140

Offline pixelma

  • Rockbox Expert
  • Member
  • *
  • Posts: 645
Re: Making a Theme / WPS - Struggling (please don't flame me)
« Reply #9 on: September 26, 2008, 08:25:23 AM »
Regarding the error message - could you please answer the following questions:
1) What Ipod do you use exactly (a 30GB or an 80GB Ipod Video)?
2) Which Rockbox build did you install (the one for the 30GB or the 80GB model)?
2a) Or: how did you install Rockbox?

Although I admit that the error message you quoted doesn't seem familiar and might point to something else, but answering those questions could help understanding what's going on and are needed for a proper bug report anyways, in case you want to do that.
Logged

Offline Niles

  • Member
  • *
  • Posts: 23
Re: Making a Theme / WPS - Struggling (please don't flame me)
« Reply #10 on: September 26, 2008, 11:28:23 AM »
Hi.
I use an 80GB ipod with Rockbox 3.0
The error message was caused, I believe, due to a drive error after I disconnected without safe disconnect.
A scandisk/fix errors seems to have sorted it and I cannot now recreate what was a frequently occuring issue.
Hope this helps.
Logged
iRiver - H140

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Making a Theme / WPS - Struggling (please don't flame me)
« Reply #11 on: September 26, 2008, 02:58:25 PM »
As you have found, it's important to always "Safely Remove Hardware".  I often have to force XP to do this as it likes to hide the icon from my system tray.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline MarcGuay

  • Rockbox Expert
  • Member
  • *
  • Posts: 1065
Re: Making a Theme / WPS - Struggling (please don't flame me)
« Reply #12 on: September 26, 2008, 03:14:00 PM »
There is a setting in Windows XP (and possibly other versions) that allows you to set the drive to "Optimize for quick removal" so you can simply remove it and not bother with all of that nonsense.  I'm not sure if there is a speed cost but I suspect there is.
« Last Edit: September 26, 2008, 04:17:10 PM by MarcGuay »
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Making a Theme / WPS - Struggling (please don't flame me)
 

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

Page created in 0.112 seconds with 15 queries.