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
| | |-+  need help in writing WPS
« previous next »
  • Print
Pages: [1]

Author Topic: need help in writing WPS  (Read 3346 times)

Offline Zivo

  • Member
  • *
  • Posts: 66
need help in writing WPS
« on: December 07, 2006, 05:16:52 AM »
i search the forums read the rockbox manual i even open some WPS in text editor

but still i havent learn much
i know the tags meanings according to the manual

but i need some way to know how to wirte it , what is the order
how to control the info placement on the screen ( like the title artist etc)

where can if find some tutorial of the work through of how to write a WPS
i allready understand to concept but i need the way

so link me please i am a designer so it will be great if i understand how to write and how the wps built so ill know his disadvantages & advantages

thank you
 
 
Logged

Offline Genre9mp3

  • Artist
  • Member
  • *
  • Posts: 146
Re: need help in writing WPS
« Reply #1 on: December 07, 2006, 06:35:39 AM »
Quote from: Zivo on December 07, 2006, 05:16:52 AM
but i need some way to know how to wirte it , what is the order
how to control the info placement on the screen ( like the title artist etc)

Just for the start, let me tell you that the wps code is line based. This means that the information you want to be displayed on screen will be placed depending on the line you've added them in the .wps file.

Download a simulator from here: http://rasher.dk/rockbox/simulator and start experimenting. This is the right way to learn. ;)
Logged

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: need help in writing WPS
« Reply #2 on: December 07, 2006, 06:38:04 AM »
http://www.rockbox.org/twiki/bin/view/Main/SimpleGuideToWPSMaking

The clue is in the title :)

You should not need any more than this to start off...
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline Zivo

  • Member
  • *
  • Posts: 66
Re: need help in writing WPS
« Reply #3 on: December 07, 2006, 09:16:09 AM »
what about text color or size
Logged

Offline Genre9mp3

  • Artist
  • Member
  • *
  • Posts: 146
Re: need help in writing WPS
« Reply #4 on: December 07, 2006, 09:32:32 AM »
The text colour depends on what you choose in General Settings > Display Options > LCD Settings > Set Foreground Colour

The text size depends on the font you will choose for your wps
Logged

Offline Yotto

  • Artist
  • Member
  • *
  • Posts: 826
  • Every Silver Lining has a Cloud
    • My Blog
Re: need help in writing WPS
« Reply #5 on: December 07, 2006, 10:20:57 AM »
You can also set your font, background, and foreground in the config file that frequently is distributed with your wps.  If you look at any of my wps's for the apple iPod 5g, they each contain a config file as well as a wps.  It's in /.rockbox/themes/ and has a CFG extension.

As an example, here's the cfg file for my theme WLights:

Code: [Select]
# WLights.cfg (White Lights)
# Made by Wesley Clifford (PlanetRetcon)

wps: /.rockbox/wps/WLights.wps
font: /.rockbox/fonts/nimbus-12.fnt
backdrop: /.rockbox/backdrops/WLights.bmp
statusbar: on
foreground color: 000000
background color: FFFFFF
I'm actually a bit surprised this isn't in the wiki, at least not in the two places I know to look for wps stuff.  Granted, it's not in the wps file but it goes hand-in-hand with it.
Logged
Pulp Audio Weekly - Where we talk about News, Reviews, and pretty much anything else we feel like discussing.

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  need help in writing WPS
 

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

Page created in 0.082 seconds with 15 queries.