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:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  checkwps support broken on actual UI simulators?
« previous next »
  • Print
Pages: [1]

Author Topic: checkwps support broken on actual UI simulators?  (Read 6101 times)

Offline heinrichh

  • Member
  • *
  • Posts: 16
checkwps support broken on actual UI simulators?
« on: March 05, 2011, 08:11:45 AM »
Sorry my first post here looks like a complaint...

Wanted to update my Classical_dark theme for Ipod Video 5G and used the RB UI simulator I downloaded compiled from here. After starting the simulator with the --checkwps option, the dos window of the simulator told the option is set but when selecting my old theme which is in fact not compatible with the actual builds the simualtor didn't mark any error or even a warning.

When creating the the original theme the simulator was a very helpful tool but now it can't help in making an error free theme. Any hints or what am I doing wrong?
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: checkwps support broken on actual UI simulators?
« Reply #1 on: March 05, 2011, 07:20:15 PM »
Quote from: heinrichh on March 05, 2011, 08:11:45 AM
When creating the the original theme the simulator was a very helpful tool but now it can't help in making an error free theme. Any hints or what am I doing wrong?

No idea about checkwps, haven't checked but you might be interested in the Theme Editor which also gives error messages on wrong / broken tags. It's not 100% up to date with the current syntax though.
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: checkwps support broken on actual UI simulators?
« Reply #2 on: March 06, 2011, 02:13:00 AM »
im not sure what the status of the debug output from the sim is, I need to make sure it all gets back, but yes, as bluebrother said, you should try the theme editor (although it gets slightly out of date sometimes as it doesnt have any real active maintainers and it is c++ and I'd rather stab myself in the face than have to work in it :D )
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: checkwps support broken on actual UI simulators?
« Reply #3 on: March 06, 2011, 03:01:05 AM »
Quote from: JdGordon on March 06, 2011, 02:13:00 AM
im not sure what the status of the debug output from the sim is...

Absolutely none.


[St.]
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline heinrichh

  • Member
  • *
  • Posts: 16
Re: checkwps support broken on actual UI simulators?
« Reply #4 on: March 06, 2011, 04:45:01 PM »
Quote from: JdGordon on March 06, 2011, 02:13:00 AM
...theme editor...

Not reliable / usable for me. It complains about non existing errors - didn't find any images - which are infact there and are loadable for the UI. So how shall I test my theme for errors with the theme editor if the program didn't find the images which you should load fist?
Logged

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: checkwps support broken on actual UI simulators?
« Reply #5 on: March 07, 2011, 12:59:53 AM »
Quote from: heinrichh on March 06, 2011, 04:45:01 PM
Not reliable / usable for me. It complains about non existing errors - didn't find any images - which are infact there and are loadable for the UI. So how shall I test my theme for errors with the theme editor if the program didn't find the images which you should load fist?

It sounds like the directory structure for your project is wrong.

I use the theme editor to develop my themes, and, I have no troubles in this respect.



[St.]
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline heinrichh

  • Member
  • *
  • Posts: 16
Re: checkwps support broken on actual UI simulators?
« Reply #6 on: March 07, 2011, 12:54:12 PM »
It's exactly the directory structure for the upload and realistic use. The wps file Classical_Dark.wps is in the .rockbox/wps folder and the related images reside in .rockbox/wps/Classical_Dark/ so I don't know what there might be wrong. The UI simulator does find the images.

Has the theme editor to be in a specific folder? Actually it is outside .rockbox.
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: checkwps support broken on actual UI simulators?
« Reply #7 on: March 07, 2011, 01:22:52 PM »
Quote from: heinrichh on March 07, 2011, 12:54:12 PM
Has the theme editor to be in a specific folder? Actually it is outside .rockbox.

No, not that I'm aware of. Is that theme available somewhere so I can take a look?
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline heinrichh

  • Member
  • *
  • Posts: 16
Re: checkwps support broken on actual UI simulators?
« Reply #8 on: March 07, 2011, 03:12:24 PM »
with a lot trial and error it's ready now. Have prepared a zip for the upload to the theme site. In the meantime you can download it from this location:

http://www.multiupload.com/FPTQGK7CGN

Even if it's ready now I'm very interested if you can look into because I want to convert it for the smaller screen of the Sansa Fuze which I own actually.

Update: Have uploaded the theme to the theme gallery (Classical_Dark).


« Last Edit: March 08, 2011, 11:27:06 AM by heinrichh »
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: checkwps support broken on actual UI simulators?
« Reply #9 on: March 08, 2011, 01:52:46 PM »
Quote from: heinrichh on March 06, 2011, 04:45:01 PM
Not reliable / usable for me. It complains about non existing errors - didn't find any images - which are infact there and are loadable for the UI. So how shall I test my theme for errors with the theme editor if the program didn't find the images which you should load fist?

Ok, I've looked into that issue. It seems to fail *only* if you load the wps directly, it works fine if you load the theme configuration (File / Open Project). However, if you load the wps other things will also be missing (most notably the font) since the wps file doesn't know about this.

Can you confirm this behaviour? From what I can see the problem arises when the Theme Editor tries to construct the base path when loading a wps file directly. This should be rather easy to fix. Without loading the theme cfg it will always look broken though. It might be a good idea to automatically search for a cfg file and load that if found.

Edit: I've changed the mentioned issue and uploaded binaries for Windows and OS X built from svn. Can you retry with that version again? Get it at http://www.alice-dsl.net/dominik.riebeling/rockbox/themeeditor/
« Last Edit: March 08, 2011, 04:22:49 PM by bluebrother »
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline heinrichh

  • Member
  • *
  • Posts: 16
Re: checkwps support broken on actual UI simulators?
« Reply #10 on: March 08, 2011, 04:23:21 PM »
Thanks for the hint! You are right, when opening a projekt it will find all pics. However the pictures look distorted in the preview...
Logged

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: checkwps support broken on actual UI simulators?
« Reply #11 on: March 08, 2011, 07:13:57 PM »
Quote from: heinrichh on March 08, 2011, 04:23:21 PM
Thanks for the hint! You are right, when opening a projekt it will find all pics. However the pictures look distorted in the preview...


You need to set the screen size in the rendering options tab.


[St.]
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: checkwps support broken on actual UI simulators?
« Reply #12 on: March 09, 2011, 02:38:54 AM »
Quote from: heinrichh on March 08, 2011, 04:23:21 PM
Thanks for the hint! You are right, when opening a projekt it will find all pics. However the pictures look distorted in the preview...

Can you provide a screenshot of that distorted rendering? It look ok for me, at least from what I can judge (haven't compared with the original bitmaps yet)
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline heinrichh

  • Member
  • *
  • Posts: 16
Re: checkwps support broken on actual UI simulators?
« Reply #13 on: March 09, 2011, 04:19:20 PM »
First let me thank you for your assistance! Here are the pics:

First when opening the .wps file, second when opening the .cfg file and the third pic is the real thing.



You will see differences to the reality even when opening the .cfg file. For me it looks like there is some scaling and the scaling is incorrect.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  checkwps support broken on actual UI simulators?
 

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

Page created in 0.09 seconds with 15 queries.