1
0
Fork 0

Add platform-specific notes about config dir

This commit is contained in:
Patryk Obara 2020-04-18 20:33:20 +02:00 committed by Patryk Obara
parent 9924913e4a
commit c7281b1c48
2 changed files with 15 additions and 8 deletions

18
README
View file

@ -1556,6 +1556,18 @@ The default directories storing config file are:
(Linux) ~/.config/dosbox/
(macOS) ~/Library/Preferences/DOSBox/
Linux users:
The configuration's parent-directory can be customized by setting
the XDG_DATA_HOME environment variable, per the XDG Base Directory
Specification. If set, DOSBox will use $XDG_CONFIG_HOME/dosbox/ for
its configuration path.
Windows users:
In Windows Vista or newer, the configuration file won't work correctly
if it is located in "Windows" or "Program Files" folder or their subfolders,
or directly on C:\, so the best place for storing extra configuration files
is next to the default config directory or for example: C:\oldgames
The file is divided into several sections. Each section starts with a
[section name] line. The settings are the property=value lines where value can
be altered to customize DOSBox.
@ -1571,12 +1583,6 @@ specified, it will try to load "dosbox.conf" from the local directory.
If there is none, DOSBox will load the user configuration file.
This file will be created if it doesn't exist.
Important!: In Windows Vista/7 the configuration file won't work correctly
if it is located in "Windows" or "Program Files" folder or their subfolders,
or directly on c:\, so the best place for storing extra configuration files is
for example: C:\oldgames
======================
14. The Language File:

View file

@ -285,8 +285,9 @@ If no configfile is specified at the commandline, a file named
loaded automatically. If a configfile is specified at the commandline
that one will be used instead. If no configfile is specified or found
in the current directory
.RB " then dosbox will load one from " ~/.config/dosbox/ ". It will try to create "
one if there is none.
.RB " then dosbox will load one from " $XDG_CONFIG_HOME/dosbox/ "
.RB " (which defaults to " ~/.config/dosbox/ "). It will try to create a
new default config file if it does not exist yet.
.SH "SPECIAL KEYS"
.TP 12m
.IP ALT\-ENTER