dosbox-core
dosbox-core copied to clipboard
Option to use the default onion configuration for dosbox.conf files
This might already be done and if that is the case, leave a message and close the issue please.
If you start upstream dosbox with dosbox -conf -userconf GAME.conf you'll have a merge of the default dosbox.conf and GAME.conf, with GAME.conf overriding any duplicates. This is handy to have minimal game confs that you can easily change 'master' settings, a bit like the retroarch config override.
Now, i don't know how this core handles config, but i wouldn't appreciate to have to do per game configurations to replicate the same effect if the core already can load existing dosbox.confs. Only instead of using 'dosbox.conf' like the original dosbox, maybe the retroarch core options GUI should butt in.
if there is a 'actual' dosbox.conf (say in the retroarch system/bios dir):
//system/dosbox.conf -merge/overridenby-> 'core options' -merge/overridenby-> 'game options' -merge/overridenby-> start game conf file
if there isn't a 'upper' conf file (a viable idea to make the core more like the others):
'core options' -merge/overridenby-> 'game options' -merge/overridenby-> start game conf file
I want to clarify that if you feel confident that the GUI is 'good enough' to change most settings, a conf file in the system dir looks unnecessary to me, users hate editing config files. The main 'weird' setting ([autoexec] section) is/should always overridden by the game conf so the conf file doesn't appear critical to anything if the GUI/core options are good enough.
Sorry for the delay.
If DOSBox-core.conf exists in the frontend's save directory, the core will load that. Does that work?
Nope, I take that back. That only gets loaded when loading the core without content. Never mind.
Will need to look into it.
IMO placing it on save is weird too, these kinds of things usually go into system (i call it bios in my install, because i'm contrary like that and it has all bios).
Cores doing that are scummvm, the pc-98 cores, libretro-uae, etc.
Stuff that the core writes should go in save. other cores are doing it wrong.
Many of those cores appear to consider config files not 'core writable' then. Since they're user edited I bet.
libretro-uae even separates the optional config files (in system) from the core written 'whdload.hdf' (in saves).
This is now supported. It's disabled by default but can be enabled in the core options.