VOGONS

Common searches


First post, by PooshhMao

User metadata
Rank Newbie
Rank
Newbie

Hi,

I use a Litestep-based shell with a dosbox frontend built in.
Every DOS game has it's own .conf file, with the autoexec section launching the game. Apart from that, the rest of the files are mostly identical (save for some differences in cycles and such). Is it possible to launch DOSBOX with two config files (the first one being the default, the second one with game specific settings)? This does not seem possible using the command line...

Reply 1 of 4, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

nope that isn't possible.
although DOSBox itself works that way.
you only have to save the changes you make to the configfile.
not the the total one.

Water flows down the stream
How to ask questions the smart way!

Reply 3 of 4, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

yes, AFAIK, this is how it works.

Pooshh, you can also set a lot of settings in bat files since 0.65. I have a run.bat in each of my games folders, that set core and additional needed mounts (iso files for example).

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 4 of 4, by rcblanke

User metadata
Rank Oldbie
Rank
Oldbie

Hi all,

I've made a small and simple patch (for CVS or v0.65) that will allow for multiple Dosbox config files. Simply start dosbox with more than one -conf parameter, like so:

dosbox.exe -conf dosbox.conf -conf dosbox2.conf -conf dosbox3.conf

That will apply the setting from dosbox.conf first, then override the settings specified in dosbox2.conf, and finally those in dosbox3.conf. Please note that autoexec commands are cumulative.

I'm attaching a patched CVS binary for convenience as well, for those who are not able to compile it themselves.

Regards,
Ronald

Attachments

  • Filename
    addconfpatch.diff
    File size
    452 Bytes
    Downloads
    220 downloads
    File comment
    patch for multiple conf files
    File license
    Fair use/fair dealing exception
  • Filename
    dosbox.zip
    File size
    666.71 KiB
    Downloads
    218 downloads
    File comment
    Win32 patched binary
    File license
    Fair use/fair dealing exception