First post, by StefSOFT
Hello guys and girls,
I'm trying to make a simple shell script which runs a dosbox instance and a custom configuration file.
The script currently looks like this:
#!/bin/bash
BASEDIR="$( dirname "$0" )"
cd "$BASEDIR"
open -a DOSBox --args -conf conf/preferences.conf
When running the script DOSBox opens, but still uses the preference file from ~/Library/Preferences/DOSBox 0.74 Preferences.
The last command in the script I got from this wiki page: http://www.dosbox.com/wiki/DOSBox_and_Mac_OS_X
The .conf file is a copy of the original preference file, with full screen changed to 'true' and some custom autoexec commands.
Anybody knows what I'm doing wrong?
Goal of this exercise is to make dosbox run with all the contents in it's own folder, so I can create multiple folders for different games and run them with a simple double click in OS X.