dosbox-core icon indicating copy to clipboard operation
dosbox-core copied to clipboard

Option to use the default onion configuration for dosbox.conf files

Open i30817 opened this issue 5 years ago • 5 comments

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.

i30817 avatar Apr 26 '20 20:04 i30817

Sorry for the delay.

If DOSBox-core.conf exists in the frontend's save directory, the core will load that. Does that work?

realnc avatar May 06 '20 04:05 realnc

Nope, I take that back. That only gets loaded when loading the core without content. Never mind.

Will need to look into it.

realnc avatar May 06 '20 04:05 realnc

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.

i30817 avatar May 09 '20 14:05 i30817

Stuff that the core writes should go in save. other cores are doing it wrong.

andres-asm avatar May 09 '20 15:05 andres-asm

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).

i30817 avatar May 10 '20 09:05 i30817

This is now supported. It's disabled by default but can be enabled in the core options.

realnc avatar Nov 08 '22 13:11 realnc