First post, by effigy345
I've been trying to figure out how to launch DOSBox with an alternative config file for some time on my Mac. I've got a few games that I want to specify an alternative keymap for and, if my understanding is correct, that can only be done by having a separate config file for these few games. Everything I can find online pertaining to DOSBox specifically skips over how to do this on Mac or gives only the vaguest of details. I've found some instructions online for adding command line arguments to an application on Mac that weren't specific to DOXBox, but I'm having trouble adapting them to DOSBox. For the longest time, I thought my arguments weren't getting passed to DOSBox, but now I understand that they are, but the "-conf" CLA (command line argument) is being ignored. If I use "-startmapper", then it works without issue. But no matter what I try, I can't get it to use a config file I specify. I've tried this from the Terminal window, and I get no errors indicating what the problem is. The command I'm using is:
/Applications/DOSBox.app/Contents/MacOS/DOSBox -conf /Users/<username>/Documents/DOSBox/DOSBox 0.74-2 Preferences
I modified it for pasting here to omit my username since its my IRL first name. Also, before running this, I copied my DOSBox config file to this place and made an alteration to the auto exec section so I can tell which config is loading. But no matter how I format this command (I tried using the "open -a" command, too), it keeps telling me:
Loading primary settings from config file /Users/<username>/Library/Preferences/DOSBox 0.74-2 Preferences
Can anyone offer some advice on how to get DOSBox to load my alternative config file?