Now that there is a recent stable build I'm hacking my way through the release to bake in all of the settings I normally set via the cfg file.
I occasionally have a glitch where the .cfg file is not read and its frustrating to have to re-load the .cfg or reboot to apply custom settings.
I've managed to do everything I wanted:
1) replace max playlist entries to 99999
2) make sleeptimer_on_startup true
3) set keypress_restarts_sleeptimer to true
4) replace many lines in settings_list.c to set custom colors, fonts, wps, sbs etc. so that naranjada is always the default theme instead of cabbiev2.
I have issues with the idle shutdown not working (without reading the source I suspect its because I leave music playing)
Using the sleep timer saves my battery from emptying and degrading with the high draw of the msata mod!
If you're still reading, I'm having a bit of an issue with overriding the "root menu order" option.
I can see in settings_list.c:
CUSTOM_SETTING(0, root_menu_customized,
LANG_ROCKBOX_TITLE, /* lang string here is never actually used */
NULL, "root menu order",
root_menu_load_from_cfg, root_menu_write_to_cfg,
root_menu_is_changed, root_menu_set_default),
I've tried tried replacing the 4th 'default' parameter from NULL to "settings" etc. to try and customise the main menu but its not working out.
I've had a play with the contents of root_menu.c too but couldn't manage to override the default.
the structure of CUSTOM_SETTING:
#define CUSTOM_SETTING(flags, var, lang_id, default, name, load_from_cfg, write_to_cfg, is_change, set_default)
If anyone has any suggestions, it would be appreciated.
Thanks again to all who have contributed to rockbox!