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
| | |-+  Theme development using a simulator
« previous next »
  • Print
Pages: [1]

Author Topic: Theme development using a simulator  (Read 2475 times)

Offline Carson Dyle

  • Member
  • *
  • Posts: 80
Theme development using a simulator
« on: December 10, 2010, 05:12:26 PM »
I discovered the various Rockbox simulators and am now using one for my Sansa Fuze v2.  I think it has a bug or two, but overall it's making theming much easier than loading and testing themes on the device itself.

One question, though: Is there a quick way to reload the current theme?  I make changes, test, change, test.  Each time I have to get back to the Main Menu, Settings, Theme Settings, Browse Theme Files, scroll, select.  Then back to the WPS,  And much of the time I break something and end up looking at the default WPS and have to repeat all of the above again.

I read somewhere in either the manual or wiki saying that 'playing' a theme will load it, but I'm not sure what that means, or if it would be any quicker.  A hotkey like Ctrl-R to reload a theme would be ideal.  Does such a thing exist?
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Theme development using a simulator
« Reply #1 on: December 10, 2010, 05:26:28 PM »
Can't you just quit and relaunch the sim?
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Theme development using a simulator
« Reply #2 on: December 10, 2010, 05:31:55 PM »
"Playing a theme" means to navigate to its location using the file browser and "launch" it by pressing Select.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline Carson Dyle

  • Member
  • *
  • Posts: 80
Re: Theme development using a simulator
« Reply #3 on: December 10, 2010, 06:01:34 PM »
Quote from: saratoga on December 10, 2010, 05:26:28 PM
Can't you just quit and relaunch the sim?

Ah, that works for the WPS.  Thanks.  It doesn't reload the theme's cfg, though.  I imagine that's to keep from clobbering user selected customizations of things like font, scroll bar position, etc.
Logged

Offline karltpb

  • Member
  • *
  • Posts: 40
Re: Theme development using a simulator
« Reply #4 on: December 10, 2010, 11:27:59 PM »
Navigate to .rockbox/themes/ and "play" the desired cfg file. Press play button equivalent to go to WPS. Make necessary changes to your theme. Press select button equivalent to switch to the last visited directory (which would be .rockbox/themes/ in this case) and "play" the cfg file associated with the theme.
Logged

Offline Carson Dyle

  • Member
  • *
  • Posts: 80
Re: Theme development using a simulator
« Reply #5 on: December 11, 2010, 06:46:46 AM »
Nice.  Just three key presses to reload the theme and get back to the WPS.  Thanks.
Logged

Offline karltpb

  • Member
  • *
  • Posts: 40
Re: Theme development using a simulator
« Reply #6 on: December 11, 2010, 07:39:21 AM »
A handy trick I've been using for a while now.  8)
Logged

Offline Carson Dyle

  • Member
  • *
  • Posts: 80
Re: Theme development using a simulator
« Reply #7 on: December 26, 2010, 01:32:10 AM »
Is there any way to reload tagnavi.config and tagnavi_custom.config, or does it require a restart?
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Theme development using a simulator
« Reply #8 on: December 26, 2010, 02:41:54 AM »
For developing themes you can also use the ThemeEditor which was developed about half a year ago as part of Googles Summer of Code. It might be missing a few tags that have been added / changed since then, but from my understanding this shouldn't make it unusable.
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Theme development using a simulator
« Reply #9 on: December 26, 2010, 03:38:40 AM »
As a note neither tagnavi.config nor tagnavi_custom.config are considered theme files and shouldn't be included as part of a theme.
Logged

Offline Carson Dyle

  • Member
  • *
  • Posts: 80
Re: Theme development using a simulator
« Reply #10 on: December 26, 2010, 03:49:32 AM »
No, no, I realize that... it was more of a related question given the discussion above.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Theme development using a simulator
 

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

Page created in 0.103 seconds with 14 queries.