VOGONS


First post, by JustRob

User metadata
Rank Member
Rank
Member

Generally there isn't one set of sound settings that universally works well across all DOS games, so I would like individual config files for each game. Is that possible? And how do I call them from the game shortcut? DOSBox 0.74-3.

Reply 2 of 6, by dreamer_

User metadata
Rank Member
Rank
Member

@JustRob in manual (README file) look for description of -conf option in section 3. On Linux the same info about command line parameters is also supplied in the man page: ($ man dosbox).

| ← Ceci n'est pas une pipe
dosbox-staging

Reply 3 of 6, by JustRob

User metadata
Rank Member
Rank
Member

I've read the readme, but I don't get it. I'm assuming I need this part:

-userconf
Start DOSBox with the users specific configuration file. Can be used
together with multiple -conf parameters, but -userconf will always be
loaded before them.

-conf configfilelocation
Start DOSBox with the options specified in "configfilelocation".
Multiple -conf options may be present.
See Section 13 for more details.

So I tried the latter part by going to my shortcut and using the -conf configfilelocation, replacing configfilelocation with the path to my config file in quotes. Didn't work. Now I don't know what to do.

Reply 4 of 6, by konc

User metadata
Rank l33t
Rank
l33t

Please provide the full call exactly as you write it, I'm pretty sure there's a small mistake in it

To speed things up, make sure it looks like
"C:\Program Files\...\Dosbox.exe" -conf "C:\...\myconf.conf"

Last edited by konc on 2020-01-10, 14:56. Edited 1 time in total.

Reply 5 of 6, by dreamer_

User metadata
Rank Member
Rank
Member

-conf <path> definitely does work, so you should double-check your path. All DOSBox versions confirm which file was used by printing a line prefixed with CONFIG to the log. e.g. for me, it looks like this:

CONFIG: Loading primary settings from config file /home/dreamer_/.dosbox/dosbox-staging-git.conf

| ← Ceci n'est pas une pipe
dosbox-staging

Reply 6 of 6, by JustRob

User metadata
Rank Member
Rank
Member

Okay, I think I did type something wrong, or I used a weird filename for my conf file. Now it works. Thank you