vogons - very old games on new systems Last Visit : never :: 2010-8-01 @ 01:44 am : Now
?FAQ sSearch mMemberlist uUsergroups
rRegister pProfile "Messages lLog in
View posts : unanswered
Forum Index :: DOSBox General ::
up Dosbox.conf override (or don't in some cases?)
Reply with quote Dosbox.conf override (or don't in some cases?) :: 2009-9-10 @ 11:57 pm
pacifist
Newbie
no avatar
Joined: 2009-09-10
Posts: 1
Evening. Currently using DOSBox 0.73.

I know that if you have an additional .conf file specifed in the -conf argument, any sections within the conf override the default dosbox.conf.

Erm... I think I could have explained that better. .conf files specified on the command line don't have to contain every section - those they don't are taken from dosbox.conf

Is there a way to set-up DOSBox to disallow certain sections from being overridden?

Say I have a few games from GOG.com which use DOSBox and I've linked them all together to a single install of DOSBox. In dosbox.conf I've set up my SDL configuration to just the way I like it. But whenever I play one of these games the supplied .conf file overrides it and uses their own settings.

Is there a way to make it so that the [SDL] part of DOSBox.conf can't be overriden by an additional .conf file? Or should I just edit all the .conf files from the games and remove the [SDL] sections?

I realise that this is quite a specific request and is unlikely to even be considered as a future feature, but if there was a way of doing it with the current release it would be terribly useful!
Post new topicReply to topic
Offline
Reply with quote Re: Dosbox.conf override (or don't in some cases?) :: 2009-9-11 @ 12:18 am
MiniMax
Flatulent member, Janitor
[avatar]
Joined: 2004-01-18
Posts: 5127
Location: Stockholm, Sweden, Europe, Earth Interests: Old games & young women
I think, if you use the -conf switch when launching DOSBox, you can point to a specific configuration file, and in that config file you can set some securemode or something that will prevent it from changing the configuration further.

Not the answer you are looking for though.

_________________
DOSBox 0.73 ReadMe | DOSBox Wiki | DOSBox 60 seconds guide | How to ask questions
_________________
Inspiron 9400 | Core Duo T2400 @ 1.83 GHz | GeForce Go 7800 | SONY DVD+-RW DW-Q58A | Win XP Pro/SP2
Post new topicReply to topic
Offline
Reply with quote Re: Dosbox.conf override (or don't in some cases?) :: 2009-9-11 @ 06:59 am
Qbix
DOSBox Author
[avatar]
Joined: 2002-11-27
Posts: 8229
Location: Fryslan
the last loaded configuration file "wins"
However there is another winner and that are environemntvariables
so if you set on your system DOSBOX_SDL_OUTPUT=ddraw
then that should always "win" from any configfile setting

_________________
Water flows down the stream
How to ask questions the smart way
Post new topicReply to topic
Hidden
page 1 of 1
All times are GMT
Moderate
Quick Reply & Options
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Powered by phpBB © 2001-2003 phpBB Group.
vogons and vogons site design and content herein is under a creative commons license 2002-2003 zetafleet.dom.
This site hosts no abandonware. There is no material that is knowingly illegal here.
zetafleet.dom will not be held responsible for users' posts.
This disclaimer is brought to you thanks to the BSA.