VOGONS

Common searches


First post, by steve.mackinney

User metadata
Rank Newbie
Rank
Newbie

How can I get dosbox to use a configuration file that I distribute with my free basketball stats program instead of having dosbox create a config file and use it? For my own use, I have no problem with finding the config file that dosbox created and customizing it, but I want to make it simple for ignorant users to install and run my program without having to find and edit (or replace) the config file.

I have tried putting the config file in the same folder with the dosbox program (program files (x86)/dosbox-0.74) but it doesn't seem to find it. I have also put it in the same folder with my application and using a command line parameter to point to it (-userconf c:\dos\stats, also tried -conf c:\dos\stats) but it does not find it there either. I tried naming the config file dosbox-0.74.conf and dosbox.conf but neither one worked. I also made sure to delete the config file that had been built in users/myname/appdata/local/dosbox but it just got rebuilt again each time I ran dosbox.

The items I customize in the config file are:
fullscreen=true
cycles=max
mount c c:\dos\stats
c
bbstat

I have tried doing these same things in the command line but could not get it to run my program and could not find a way to tell it to make cycles=max.

Thanks for any suggestions you may have.

Reply 2 of 3, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

if you are looking for a full fledged installer, take a look at the installers for sierrahelp.com

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