VOGONS


First post, by pjburnhill

User metadata
Rank Newbie
Rank
Newbie

Hi,

Just wondering if it's possible at all to use the command prompt to change .conf parameter during launch?

For instance

dosbox.com -conf url\to\dosbox.conf %1 %2 %3

etc. and in dosbox.conf you could have

mapper=%1

for instance.

This would mean you could have game-specific .map files without having to change the .conf or create game-specific .conf for each game to point to the correct .map.

Is this sort of thing supported by dosbox launch parameters?

Cheers,
PJ

Reply 1 of 4, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

Yes, -conf and -userconf, you need to read up what does what (I'm always confusing them) but the last one overrides the first one (except maybe mapper needs to be defined in only one conf - idk) and whatever is written in the autoexec section stacks up.

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 2 of 4, by pjburnhill

User metadata
Rank Newbie
Rank
Newbie

I'm aware of -userconf but unfortunately that's not quite what I'm after.. I'd like to change the .conf settings from command prompt, without creating a secondary .conf to override it.. I assume this is not possible?

Reply 4 of 4, by pjburnhill

User metadata
Rank Newbie
Rank
Newbie

Command prompt..