Rockbox Development > Starting Development and Compiling
Possible to change default settings when building?
madsic:
I'm recently having to clear settings a lot, so I was wondering if there was a(n easy) way to change the default settings when compiling, say by adding switches to the make command?
bluebrother:
No, you would need to adjust the sources.
But why don't you create a configuration file with your settings from time to time? Changing the defaults doesn't make too much sense here as Rockbox will store (and load) your current settings -- why bother with the defaults?
madsic:
--- Quote from: bluebrother on March 04, 2007, 03:03:03 PM ---No, you would need to adjust the sources.
But why don't you create a configuration file with your settings from time to time? Changing the defaults doesn't make too much sense here as Rockbox will store (and load) your current settings -- why bother with the defaults?
--- End quote ---
Uhm I figured I had to go to the defaults because that's what I get whenever it resets (e.g. by booting with the 'hold' lock in place; it's an ipod) I'm not sure I understand your point. Would Rockbox use this configuration file instead if there was such a file, e.g. in the .rockbox directory? And how would I go about making one?
Llorean:
Let's start with the first thing:
Why exactly are you booting with the hold switch on to clear your settings, if you don't want them cleared?
Rincewind:
you can create a fixed.cfg config file in .rockbox with the settings you want to have everytime. This will then get loaded and replace the defaults. But I don't know exactly how it works. You might find something about in the wiki or the manual.
btw, I don't think that reseting settings at boot is still needed with the new settings system.
I renamed a few settings and added and removed some from the code when I was programming a patch recently and never had to reset between loading the builds on my player.
Navigation
[0] Message Index
[#] Next page
Go to full version