VOGONS

Common searches


First post, by tfabris

User metadata
Rank Newbie
Rank
Newbie

When I run DosBox, I either let it run with a base configuration I've carefully specified in dosbox.conf, or I add "-conf myfile" so that it will pick up whatever settings are in "myfile".

So far, "myfile" is a complete copy of dosbox.conf with specific changes made to existing lines.

What if I did this... What if "myfile" contained ONLY the edited lines?

Would it pick up all the base settings in dosbox.conf, and then add only the changes from "myfile"?

The idea is that I could have a base set of configurations (not the program defaults, but my *specific* base configurations) in dosbox.conf, and then I could put ONLY "dpmi=true" or "cycles=2500" or some such in the specific configuration files for individual games that needed it.

If dosBox did this, that would be really cool. Any chance it does this already?

Reply 1 of 7, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

yeps only the changes are fine
as long they are placed in the proper [section]
so
[dos]
ems=false

is a valid configfile

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

Reply 3 of 7, by tfabris

User metadata
Rank Newbie
Rank
Newbie

I just tried this, and it does not work.

It picks up the settings in my alternate config file, but it ignores any settings I've specified in dosbox.conf. It simply runs the program defaults plus the alternate config file. That's not what I was asking: I was asking if it would use dosbox.conf plus the alternate config file.

Reply 4 of 7, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

short anser no.
it uses only the file specified at commandline by -conf.
if none given it looks in the current directory for dosbox.conf

next version
none found parse
windows $HOME/dosbox.conf
linux $HOME/.dosboxrc
MACOSX some long ....

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

Reply 6 of 7, by XulChris

User metadata
Rank Member
Rank
Member
Qbix wrote:
short anser no. it uses only the file specified at commandline by -conf. if none given it looks in the current directory for dos […]
Show full quote

short anser no.
it uses only the file specified at commandline by -conf.
if none given it looks in the current directory for dosbox.conf

next version
none found parse
windows $HOME/dosbox.conf
linux $HOME/.dosboxrc
MACOSX some long ....

may i suggest for linux:

first check /etc/dosbox.conf
next check $HOME/.dosboxrc

the config file in $HOME should override the one in /etc/ if it's found.

Reply 7 of 7, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author
Anonymous wrote:

Then why did you say "yes" to my first message?

as you stated yourself. I misunderstood your message.

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