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
| | |-+  Mrobe 500i 640x480x32 WPS help needed
« previous next »
  • Print
Pages: [1]

Author Topic: Mrobe 500i 640x480x32 WPS help needed  (Read 902 times)

Offline chansthename

  • Member
  • *
  • Posts: 8
Mrobe 500i 640x480x32 WPS help needed
« on: June 18, 2010, 11:44:47 PM »
hi guys,

I'm still a noob at creating WPS files and I am having trouble getting a WPS that I made to work.

It is for the Mrobe MR-500i and there is a simulator available http://rasher.dk/rockbox/simulator/mrobe500-sim-w32.zip

Attached is the WPS and here is a copy of the debug info from the sim (I am not sure what it means)
Code: [Select]
=====================
Loading '/.rockbox/wps/Brushedrobe.wps'
=====================
Viewport: '|'
  Subline: tokens 0 => 0
        [  0] = ( 2) Character '\n'
  Subline: tokens 1 => 1
        [  1] = ( 2) Character '\n'
  Subline: tokens 2 => 3
        [  2] = (72) backdrop image
        [  3] = ( 2) Character '\n'
  Subline: tokens 4 => 4
        [  4] = ( 2) Character '\n'
  Subline: tokens 5 => 5
        [  5] = ( 2) Character '\n'
  Subline: tokens 6 => 6
        [  6] = ( 2) Character '\n'
  Subline: tokens 7 => 6
Viewport: '-'
  Subline: tokens 7 => 8
        [  7] = (78) track album art conditional
        [  8] = ( 2) Character '\n'
  Subline: tokens 9 => 9
        [  9] = ( 2) Character '\n'
  Subline: tokens 10 => 9
Viewport: '-'
  Subline: tokens 10 => 10
        [ 10] = ( 2) Character '\n'
  Subline: tokens 11 => 12, progressbar
        [ 11] = (95) progressbar
        [ 12] = ( 2) Character '\n'
  Subline: tokens 13 => 13
        [ 13] = ( 2) Character '\n'
  Subline: tokens 14 => 13
Viewport: '-'
  Subline: tokens 14 => 14
        [ 14] = ( 2) Character '\n'
  Subline: tokens 15 => 16
        [ 15] = ( 5) align left
        [ 16] = ( 2) Character '\n'
  Subline: tokens 17 => 16
Viewport: '-'
  Subline: tokens 17 => 17
        [ 17] = ( 2) Character '\n'
  Subline: tokens 18 => 20
        [ 18] = ( 7) align center
        [ 19] = ( 3) String 'Now Playing'
        [ 20] = ( 2) Character '\n'
  Subline: tokens 21 => 20
Viewport: '-'
  Subline: tokens 21 => 25
        [ 21] = ( 3) String '     '
        [ 22] = (18) FIXME: TOKEN_MARKER_CONTROL_TOKENS + 19

        [ 23] = ( 3) String ' '
        [ 24] = (19) FIXME: TOKEN_MARKER_CONTROL_TOKENS + 20

        [ 25] = ( 2) Character '\n'
  Subline: tokens 26 => 28, scrolled
        [ 26] = ( 7) align center
        [ 27] = (88) track title
        [ 28] = ( 2) Character '\n'
  Subline: tokens 29 => 31, scrolled
        [ 29] = ( 7) align center
        [ 30] = (84) track album
        [ 31] = ( 2) Character '\n'
  Subline: tokens 32 => 34, scrolled
        [ 32] = ( 7) align center
        [ 33] = (80) track artist
        [ 34] = ( 2) Character '\n'
  Subline: tokens 35 => 34
Viewport: '-'
  Subline: tokens 35 => 37
        [ 35] = ( 7) align center
        [ 36] = ( 3) String 'Next Up'
        [ 37] = ( 2) Character '\n'
  Subline: tokens 38 => 37
Viewport: '-'
  Subline: tokens 38 => 42
        [ 38] = ( 3) String '    '
        [ 39] = (18) FIXME: TOKEN_MARKER_CONTROL_TOKENS + 19

        [ 40] = ( 3) String ' '
        [ 41] = (19) FIXME: TOKEN_MARKER_CONTROL_TOKENS + 20

        [ 42] = ( 2) Character '\n'
  Subline: tokens 43 => 45, scrolled
        [ 43] = ( 7) align center
        [ 44] = (88) next track title
        [ 45] = ( 2) Character '\n'
  Subline: tokens 46 => 48, scrolled
        [ 46] = ( 7) align center
        [ 47] = (84) next track album
        [ 48] = ( 2) Character '\n'
  Subline: tokens 49 => 51, scrolled
        [ 49] = ( 7) align center
        [ 50] = (80) next track artist
        [ 51] = ( 2) Character '\n'
  Subline: tokens 52 => 52
        [ 52] = ( 2) Character '\n'
  Subline: tokens 53 => 52
ERR: Failed parsing on line 62 : ERR: Invalid parameter list for token 54: "No token"
Skin buffer usage: 624916/2476348

Thanks a lot
* brushedrobe.wps (1.54 kB - downloaded 88 times.)
Logged

Offline mc2739

  • Developer
  • Member
  • *
  • Posts: 262
Re: Mrobe 500i 640x480x32 WPS help needed
« Reply #1 on: June 19, 2010, 09:21:55 AM »
It appears to me that the viewport definitions in lines 63, 67, 71, and 75 go beyond the boundaries of the lcd.

For example (line 63):

Code: [Select]
%V(420,402,73,100,1)

The viewport starts 402 pixels down with a height of 100 pixels.  The bottom of the viewport would be at 502 pixels.  Since the height of the lcd is 480 pixels, this is out of bounds.
Logged

Offline chansthename

  • Member
  • *
  • Posts: 8
Re: Mrobe 500i 640x480x32 WPS help needed
« Reply #2 on: June 19, 2010, 11:08:50 PM »
thanks a lot for that (I reversed the height and width)

Now I have fixed that up but I am still not having it display. I am now going through disabling as much code as I can to try and isolate the problem.

EDIT: it works, yay.

Turned out progressbar.bmp was named with a space.

However I am unhappy with the buttons used so I shall do some photoshop work before it is released (screenshots when completed)

EDIT again:

I have almost finished, A theme is ready to go other than a problem I have.

Whenever the fastforward command is used the play rewinds and freezes, the same happens with rewind(it rewinds but freezes). I have been able to sort out everything else.

Also would it be ok if I went through the wiki and edited it for the new coding structure?
* Brushedrobe.wps (2.44 kB - downloaded 81 times.)
« Last Edit: June 20, 2010, 04:15:11 AM by chansthename »
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Mrobe 500i 640x480x32 WPS help needed
 

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

Page created in 1.071 seconds with 15 queries.