1999-07-18 17:47:22 +02:00
|
|
|
.\" -*- nroff -*-
|
2004-04-29 02:27:57 +02:00
|
|
|
.TH WINE.CONF 5 "April 2004" "Version 20040408" "Wine Configuration File"
|
1999-07-18 17:47:22 +02:00
|
|
|
.SH NAME
|
|
|
|
wine.conf \- Wine configuration file
|
|
|
|
.SH DESCRIPTION
|
|
|
|
.B wine
|
|
|
|
expects a configuration file (
|
2001-08-06 19:49:11 +02:00
|
|
|
.I $WINEPREFIX/config
|
|
|
|
(~/.wine/config)
|
2002-06-25 02:23:23 +02:00
|
|
|
), which should conform to the following rules.
|
2001-08-06 19:49:11 +02:00
|
|
|
A sample configuration file is available as
|
2000-12-06 21:25:11 +01:00
|
|
|
.I documentation/samples/config
|
|
|
|
in the Wine source distribution.
|
1999-07-18 17:47:22 +02:00
|
|
|
.SH CONFIGURATION FILE FORMAT
|
2004-10-25 23:44:24 +02:00
|
|
|
The config file needs to start with the header line
|
|
|
|
.br
|
|
|
|
.I WINE REGISTRY Version 2
|
|
|
|
.br
|
|
|
|
to be recognized by
|
|
|
|
.B Wine.
|
|
|
|
.PP
|
|
|
|
All entries (excepting the header) are grouped in sections; a section
|
|
|
|
begins with the line
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
|
|
|
.I [section name]
|
|
|
|
.br
|
|
|
|
and continues until the next section starts. Individual entries
|
|
|
|
consist of lines of the form
|
|
|
|
.br
|
2000-12-06 21:25:11 +01:00
|
|
|
.I """entry""=""value"""
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
2000-12-06 21:25:11 +01:00
|
|
|
The entry and value can be any text strings, included in double
|
|
|
|
quotes; it can also contain references to environment variables
|
1999-07-18 17:47:22 +02:00
|
|
|
surrounded by
|
2004-04-29 02:27:57 +02:00
|
|
|
.I %
|
|
|
|
signs.
|
2000-12-06 21:25:11 +01:00
|
|
|
Inside the double quotes, special characters, backslashes and quotes
|
|
|
|
must be escaped with backslashes. Supported section names and entries
|
|
|
|
are listed below.
|
1999-07-18 17:47:22 +02:00
|
|
|
.PP
|
|
|
|
.B [wine]
|
|
|
|
.br
|
2000-12-06 21:25:11 +01:00
|
|
|
.I format: """windows""=""<directory>"""
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
2000-12-06 21:25:11 +01:00
|
|
|
default: "C:\\\\WINDOWS"
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
2002-02-02 19:03:55 +01:00
|
|
|
Used to specify where Wine is supposed to have its Windows directory
|
|
|
|
(which is an essential part of a Windows environment); make sure to double
|
|
|
|
the backslashes.
|
|
|
|
In case of e.g. C:\\WINDOWS, with drive C: being configured as
|
|
|
|
/home/user/wine_c, the /home/user/wine_c/WINDOWS directory would be used for
|
|
|
|
this.
|
1999-07-18 17:47:22 +02:00
|
|
|
.PP
|
2002-02-27 02:30:32 +01:00
|
|
|
.I format: """GraphicsDriver""=""<x11drv|ttydrv>"""
|
|
|
|
.br
|
|
|
|
default: "x11drv"
|
|
|
|
.br
|
|
|
|
Tells Wine which graphics driver to use. Normally you'd want to use
|
|
|
|
x11drv (for X11). In case you want to run programs as text console/TTY only
|
|
|
|
without having Wine rely on X11 support, then use ttydrv.
|
|
|
|
.PP
|
2002-09-17 20:27:32 +02:00
|
|
|
.I format: """ShowDirSymlinks""=""<0|1>"""
|
|
|
|
.br
|
|
|
|
default: "0"
|
|
|
|
.br
|
|
|
|
Wine doesn't pass directory symlinks to Windows programs by default.
|
|
|
|
Enabling this may crash some programs that do recursive lookups of a whole
|
|
|
|
subdir tree in case of a symlink pointing back to itself.
|
|
|
|
.PP
|
2002-09-17 00:44:38 +02:00
|
|
|
.I format: """ShowDotFiles""=""<0|1>"""
|
|
|
|
.br
|
|
|
|
default: "0"
|
|
|
|
.br
|
|
|
|
Under Unix, files starting with a dot, are considered hidden,
|
|
|
|
and should not be shown in directory listing (unless explicitly asked for),
|
|
|
|
just like DOS-style hidden files. If you want them treated as regular
|
|
|
|
files, set this value to 1.
|
|
|
|
.PP
|
2002-06-05 01:09:34 +02:00
|
|
|
.B [Version]
|
|
|
|
.br
|
|
|
|
.I format: """Windows""=""<version string>"""
|
|
|
|
.br
|
|
|
|
default: none; chosen by semi-intelligent detection mechanism based on DLL environment
|
|
|
|
.br
|
|
|
|
Used to specify which Windows version to return to programs (forced value,
|
|
|
|
overrides standard detection mechanism !).
|
|
|
|
Valid settings are e.g. "win31", "win95", "win98", "win2k", "winxp".
|
|
|
|
Also valid as an AppDefaults setting (recommended/preferred use).
|
|
|
|
.PP
|
|
|
|
.I format: """DOS""=""<version string>"""
|
|
|
|
.br
|
|
|
|
default: "<Windows version specific>"
|
|
|
|
.br
|
|
|
|
Used to specify the DOS version that should be returned to programs.
|
|
|
|
Only takes effect in case Wine acts as "win31" Windows version !
|
|
|
|
Common DOS version settings include 6.22, 6.20, 6.00, 5.00, 4.00, 3.30, 3.10.
|
|
|
|
Also valid as an AppDefaults setting (recommended/preferred use).
|
|
|
|
.PP
|
2001-03-21 21:33:11 +01:00
|
|
|
.B [DllOverrides]
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
2003-03-05 03:50:25 +01:00
|
|
|
.I format: """modulename""=""native,builtin"""
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
2001-03-21 21:33:11 +01:00
|
|
|
.I modulename
|
2002-06-25 02:23:23 +02:00
|
|
|
can be any valid DLL module name. If no extension is specified .dll is
|
|
|
|
assumed. The specified value is a comma separated list of module-types
|
|
|
|
to try to load in that specific order. Case is not important and only
|
2003-03-05 03:50:25 +01:00
|
|
|
the first letter of each type is enough to identify the type n[ative]
|
2004-01-05 22:19:22 +01:00
|
|
|
or b[uiltin]. Also whitespace is ignored. See also the description of
|
|
|
|
the
|
|
|
|
.I WINEDLLOVERRIDES
|
|
|
|
environment variable in
|
|
|
|
.BR wine (1)
|
|
|
|
for details about the allowed types.
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
2001-03-21 21:33:11 +01:00
|
|
|
The wildcard entry
|
|
|
|
.I """*"""
|
|
|
|
specifies the load order to use for modules not explicitly
|
|
|
|
mentioned. If the wildcard entry is not found, then the order
|
2003-03-05 03:50:25 +01:00
|
|
|
"native,builtin" is used.
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
|
|
|
Examples:
|
|
|
|
.br
|
2000-12-06 21:25:11 +01:00
|
|
|
.I """kernel32""=""builtin"""
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
2001-03-21 21:33:11 +01:00
|
|
|
.I """comdlg32""=""native,builtin"""
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
2001-03-21 21:33:11 +01:00
|
|
|
.I """*""=""builtin,native"""
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
2002-06-25 02:23:23 +02:00
|
|
|
When the specified module name does not contain a path, it matches
|
|
|
|
only dlls loaded from the Windows system directory. If the application
|
|
|
|
explicitly loads a dll from a different directory, it has to be
|
|
|
|
configured separately. This can be done either by specifying the full
|
|
|
|
path in the module name, or by using a path wildcard of the form
|
|
|
|
.I """*modulename""".
|
|
|
|
.br
|
|
|
|
For instance, the following will load the native shell32 when loaded
|
|
|
|
from C:\\Program Files, and the builtin when loaded from any other
|
|
|
|
directory:
|
|
|
|
.br
|
|
|
|
.I """C:\\\\\\\\Program Files\\\\\\\\shell32"" = ""native"""
|
|
|
|
.br
|
|
|
|
.I """*shell32"" = ""builtin"""
|
|
|
|
.br
|
|
|
|
Changing the load order of low-level dlls like kernel32, gdi32 or
|
|
|
|
user32 to anything other than builtin will cause wine to fail because
|
|
|
|
wine cannot use native versions for these libraries.
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
|
|
|
Always make sure that you have some kind of strategy in mind when you start
|
|
|
|
fiddling with the current defaults and needless to say that you must know
|
|
|
|
what you are doing.
|
2004-05-07 01:51:43 +02:00
|
|
|
WINEDEBUG=loaddll might come in handy for experimenting with that stuff.
|
1999-07-18 17:47:22 +02:00
|
|
|
.PP
|
2002-12-18 03:23:29 +01:00
|
|
|
.B [Debug]
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
2002-12-18 03:23:29 +01:00
|
|
|
.I format: """SpyExclude""=""<message names separated by semicolons>"""
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
|
|
|
default: none
|
|
|
|
.br
|
|
|
|
Used to specify which messages will be excluded from the logfile.
|
|
|
|
.PP
|
2002-12-18 03:23:29 +01:00
|
|
|
.I format: """SpyInclude""=""<message names separated by semicolons>"""
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
|
|
|
default: none
|
|
|
|
.br Used to specify which messages will be included in the logfile.
|
|
|
|
.PP
|
2003-10-16 02:24:49 +02:00
|
|
|
.I format: """RelayFromExclude""=""<module names separated by semicolons>"""
|
2002-12-18 03:23:29 +01:00
|
|
|
.br
|
|
|
|
default: none
|
|
|
|
.br
|
2003-10-16 02:24:49 +02:00
|
|
|
Used to specify a set of modules whose calls are excluded from a relay debug log.
|
2002-12-18 03:23:29 +01:00
|
|
|
.PP
|
2003-10-16 02:24:49 +02:00
|
|
|
.I format: """RelayFromInclude""=""<module names separated by semicolons>"""
|
2003-04-08 01:27:54 +02:00
|
|
|
.br
|
2003-10-16 02:24:49 +02:00
|
|
|
default: include all modules
|
2003-04-08 01:27:54 +02:00
|
|
|
.br
|
2003-10-16 02:24:49 +02:00
|
|
|
Used to specify the set of modules whose calls are included in a relay debug log.
|
2003-04-08 01:27:54 +02:00
|
|
|
.PP
|
2003-10-16 02:24:49 +02:00
|
|
|
.I format: """RelayExclude""=""<functions or dll.functions separated by semicolons>"""
|
2002-12-18 03:23:29 +01:00
|
|
|
.br
|
|
|
|
default: none
|
2003-04-08 01:27:54 +02:00
|
|
|
.br
|
2003-10-16 02:24:49 +02:00
|
|
|
Used to specify which functions will be excluded from a relay debug log.
|
2003-04-08 01:27:54 +02:00
|
|
|
.PP
|
2003-10-16 02:24:49 +02:00
|
|
|
.I format: """RelayInclude""=""<functions or dll.functions separated by semicolons>"""
|
2003-04-08 01:27:54 +02:00
|
|
|
.br
|
2003-10-16 02:24:49 +02:00
|
|
|
default: include all functions
|
2002-12-18 03:23:29 +01:00
|
|
|
.br
|
2003-10-16 02:24:49 +02:00
|
|
|
Used to specify which functions will be included in a relay debug log.
|
2002-12-18 03:23:29 +01:00
|
|
|
.PP
|
2003-10-16 02:24:49 +02:00
|
|
|
.I format: """SnoopExclude""=""<functions or dll.functions separated by semicolons>"""
|
2002-12-18 03:23:29 +01:00
|
|
|
.br
|
|
|
|
default: none
|
|
|
|
.br
|
2003-10-16 02:24:49 +02:00
|
|
|
Used to specify which functions will be excluded from the snoop debug log.
|
2002-12-18 03:23:29 +01:00
|
|
|
.PP
|
2003-10-16 02:24:49 +02:00
|
|
|
.I format: """SnoopInclude""=""<functions or dll.functions separated by semicolons>"""
|
2002-12-18 03:23:29 +01:00
|
|
|
.br
|
2003-04-08 01:27:54 +02:00
|
|
|
default: include all functions
|
2002-12-18 03:23:29 +01:00
|
|
|
.br
|
2003-10-16 02:24:49 +02:00
|
|
|
Used to specify which functions will be included in the snoop debug log.
|
2002-12-18 03:23:29 +01:00
|
|
|
.PP
|
|
|
|
For Relay and Snoop <dllname>.* includes or excludes the whole dll. Exclude
|
2003-10-16 02:24:49 +02:00
|
|
|
entries have priority over Include entries.
|
2002-12-18 03:23:29 +01:00
|
|
|
.PP
|
1999-12-12 00:22:52 +01:00
|
|
|
.B [Registry]
|
|
|
|
.br
|
2000-12-06 21:25:11 +01:00
|
|
|
.I format: """LoadGlobalRegistryFiles""=""<boolean>"""
|
1999-12-12 00:22:52 +01:00
|
|
|
.br
|
|
|
|
Global registries (stored in /etc)
|
|
|
|
.PP
|
2000-12-06 21:25:11 +01:00
|
|
|
.I format: """LoadHomeRegistryFiles""=""<boolean>"""
|
1999-12-12 00:22:52 +01:00
|
|
|
.br
|
|
|
|
Home registries (stored in ~user/.wine/)
|
|
|
|
.PP
|
2000-12-06 21:25:11 +01:00
|
|
|
.I format: """WritetoHomeRegistryFiles""=""<boolean>"""
|
1999-12-12 00:22:52 +01:00
|
|
|
.br
|
2000-12-06 21:25:11 +01:00
|
|
|
TRY to write all changes to the home registry files
|
1999-12-12 00:22:52 +01:00
|
|
|
.PP
|
2000-12-06 21:25:11 +01:00
|
|
|
.I format: """LoadWindowsRegistryFiles""=""<boolean>"""
|
1999-12-12 00:22:52 +01:00
|
|
|
.br
|
2002-06-25 02:23:23 +02:00
|
|
|
Load Windows registry from the current Windows directory.
|
1999-12-12 00:22:52 +01:00
|
|
|
.PP
|
|
|
|
booleans: Y/y/T/t/1 are true, N/n/F/f/0 are false.
|
|
|
|
.br
|
2000-12-06 21:25:11 +01:00
|
|
|
Defaults are read all, write to home files.
|
1999-12-12 00:22:52 +01:00
|
|
|
.PP
|
2002-11-15 02:01:47 +01:00
|
|
|
.B [Network]
|
|
|
|
.br
|
|
|
|
.I format: """UseDnsComputerName""=""<boolean>"""
|
|
|
|
.br
|
|
|
|
If Y, always override the registry setting for ComputerName
|
|
|
|
with the Unix hostname.
|
|
|
|
.PP
|
2001-03-21 21:33:11 +01:00
|
|
|
.B [AppDefaults\\\\\\\\<appname>\\\\\\\\...]
|
|
|
|
.PP
|
|
|
|
This section allows specifying application-specific values for
|
|
|
|
the other sections described above.
|
|
|
|
.I <appname>
|
|
|
|
is the name of the application exe file, without path. The "..."
|
|
|
|
should be replaced by the name of one of the above configuration
|
|
|
|
sections.
|
|
|
|
.br
|
|
|
|
Example:
|
|
|
|
.br
|
|
|
|
.I [AppDefaults\\\\\\\\sol.exe\\\\\\\\DllOverrides]
|
|
|
|
.br
|
|
|
|
.I """shell32""" = """native"""
|
|
|
|
.br
|
|
|
|
means that Solitaire will use "native" load order for the shell32
|
|
|
|
dll. All other applications will continue to use what was specified in
|
|
|
|
the general
|
|
|
|
.I DllOverrides
|
|
|
|
section.
|
|
|
|
.br
|
2002-01-14 20:44:30 +01:00
|
|
|
The only sections that support application-specific information at the
|
|
|
|
moment are
|
2003-05-01 02:00:28 +02:00
|
|
|
.I DllOverrides, dsound, Version
|
2002-06-25 02:23:23 +02:00
|
|
|
and
|
2002-01-14 20:44:30 +01:00
|
|
|
.I x11drv.
|
2001-03-21 21:33:11 +01:00
|
|
|
.br
|
|
|
|
Make sure to use double backslashes in the section name.
|
|
|
|
.PP
|
1999-07-18 17:47:22 +02:00
|
|
|
.SH SAMPLE CONFIGURATION FILE
|
|
|
|
A sample configuration file is distributed as
|
2000-12-06 21:25:11 +01:00
|
|
|
.B documentation/samples/config
|
|
|
|
in the Wine source distribution.
|
|
|
|
.SH ENVIRONMENT VARIABLES
|
2002-06-25 02:23:23 +02:00
|
|
|
.TP
|
2000-12-06 21:25:11 +01:00
|
|
|
.I WINEPREFIX
|
|
|
|
Specifies the directory that contains the per-user
|
|
|
|
.I config
|
2004-03-20 03:28:51 +01:00
|
|
|
file, the registry files, and the DOS device mappings. The default is
|
2000-12-06 21:25:11 +01:00
|
|
|
.I $HOME/.wine.
|
2004-03-20 03:28:51 +01:00
|
|
|
.SH FILES
|
|
|
|
.TP
|
|
|
|
.I $WINEPREFIX/config
|
|
|
|
User-specific configuration file
|
1999-07-18 17:47:22 +02:00
|
|
|
.SH "SEE ALSO"
|
|
|
|
.BR wine (1)
|