2 .TH WINE.CONF 5 "April 2004" "Version 20040408" "Wine Configuration File"
4 wine.conf \- Wine configuration file
7 expects a configuration file (
10 ), which should conform to the following rules.
11 A sample configuration file is available as
12 .I documentation/samples/config
13 in the Wine source distribution.
14 .SH CONFIGURATION FILE FORMAT
15 The config file needs to start with the header line
17 .I WINE REGISTRY Version 2
22 All entries (excepting the header) are grouped in sections; a section
27 and continues until the next section starts. Individual entries
28 consist of lines of the form
30 .I """entry""=""value"""
32 The entry and value can be any text strings, included in double
33 quotes; it can also contain references to environment variables
37 Inside the double quotes, special characters, backslashes and quotes
38 must be escaped with backslashes. Supported section names and entries
43 .I format: """GraphicsDriver""=""<x11drv|ttydrv>"""
47 Tells Wine which graphics driver to use. Normally you'd want to use
48 x11drv (for X11). In case you want to run programs as text console/TTY only
49 without having Wine rely on X11 support, then use ttydrv.
51 .I format: """ShowDirSymlinks""=""<0|1>"""
55 Wine doesn't pass directory symlinks to Windows programs by default.
56 Enabling this may crash some programs that do recursive lookups of a whole
57 subdir tree in case of a symlink pointing back to itself.
59 .I format: """ShowDotFiles""=""<0|1>"""
63 Under Unix, files starting with a dot, are considered hidden,
64 and should not be shown in directory listing (unless explicitly asked for),
65 just like DOS-style hidden files. If you want them treated as regular
66 files, set this value to 1.
70 .I format: """Windows""=""<version string>"""
72 default: none; chosen by semi-intelligent detection mechanism based on DLL environment
74 Used to specify which Windows version to return to programs (forced value,
75 overrides standard detection mechanism !).
76 Valid settings are e.g. "win31", "win95", "win98", "win2k", "winxp".
77 Also valid as an AppDefaults setting (recommended/preferred use).
79 .I format: """DOS""=""<version string>"""
81 default: "<Windows version specific>"
83 Used to specify the DOS version that should be returned to programs.
84 Only takes effect in case Wine acts as "win31" Windows version !
85 Common DOS version settings include 6.22, 6.20, 6.00, 5.00, 4.00, 3.30, 3.10.
86 Also valid as an AppDefaults setting (recommended/preferred use).
90 .I format: """modulename""=""native,builtin"""
93 can be any valid DLL module name. If no extension is specified .dll is
94 assumed. The specified value is a comma separated list of module-types
95 to try to load in that specific order. Case is not important and only
96 the first letter of each type is enough to identify the type n[ative]
97 or b[uiltin]. Also whitespace is ignored. See also the description of
100 environment variable in
102 for details about the allowed types.
106 specifies the load order to use for modules not explicitly
107 mentioned. If the wildcard entry is not found, then the order
108 "native,builtin" is used.
112 .I """kernel32""=""builtin"""
114 .I """comdlg32""=""native,builtin"""
116 .I """*""=""builtin,native"""
118 When the specified module name does not contain a path, it matches
119 only dlls loaded from the Windows system directory. If the application
120 explicitly loads a dll from a different directory, it has to be
121 configured separately. This can be done either by specifying the full
122 path in the module name, or by using a path wildcard of the form
123 .I """*modulename""".
125 For instance, the following will load the native shell32 when loaded
126 from C:\\Program Files, and the builtin when loaded from any other
129 .I """C:\\\\\\\\Program Files\\\\\\\\shell32"" = ""native"""
131 .I """*shell32"" = ""builtin"""
133 Changing the load order of low-level dlls like kernel32, gdi32 or
134 user32 to anything other than builtin will cause wine to fail because
135 wine cannot use native versions for these libraries.
137 Always make sure that you have some kind of strategy in mind when you start
138 fiddling with the current defaults and needless to say that you must know
140 WINEDEBUG=loaddll might come in handy for experimenting with that stuff.
144 .I format: """SpyExclude""=""<message names separated by semicolons>"""
148 Used to specify which messages will be excluded from the logfile.
150 .I format: """SpyInclude""=""<message names separated by semicolons>"""
153 .br Used to specify which messages will be included in the logfile.
155 .I format: """RelayFromExclude""=""<module names separated by semicolons>"""
159 Used to specify a set of modules whose calls are excluded from a relay debug log.
161 .I format: """RelayFromInclude""=""<module names separated by semicolons>"""
163 default: include all modules
165 Used to specify the set of modules whose calls are included in a relay debug log.
167 .I format: """RelayExclude""=""<functions or dll.functions separated by semicolons>"""
171 Used to specify which functions will be excluded from a relay debug log.
173 .I format: """RelayInclude""=""<functions or dll.functions separated by semicolons>"""
175 default: include all functions
177 Used to specify which functions will be included in a relay debug log.
179 .I format: """SnoopExclude""=""<functions or dll.functions separated by semicolons>"""
183 Used to specify which functions will be excluded from the snoop debug log.
185 .I format: """SnoopInclude""=""<functions or dll.functions separated by semicolons>"""
187 default: include all functions
189 Used to specify which functions will be included in the snoop debug log.
191 For Relay and Snoop <dllname>.* includes or excludes the whole dll. Exclude
192 entries have priority over Include entries.
196 .I format: """UseDnsComputerName""=""<boolean>"""
198 If Y, always override the registry setting for ComputerName
199 with the Unix hostname.
201 .B [AppDefaults\\\\\\\\<appname>\\\\\\\\...]
203 This section allows specifying application-specific values for
204 the other sections described above.
206 is the name of the application exe file, without path. The "..."
207 should be replaced by the name of one of the above configuration
212 .I [AppDefaults\\\\\\\\sol.exe\\\\\\\\DllOverrides]
214 .I """shell32""" = """native"""
216 means that Solitaire will use "native" load order for the shell32
217 dll. All other applications will continue to use what was specified in
222 The only sections that support application-specific information at the
224 .I DllOverrides, dsound, Version
228 Make sure to use double backslashes in the section name.
230 .SH SAMPLE CONFIGURATION FILE
231 A sample configuration file is distributed as
232 .B documentation/samples/config
233 in the Wine source distribution.
234 .SH ENVIRONMENT VARIABLES
237 Specifies the directory that contains the per-user
239 file, the registry files, and the DOS device mappings. The default is
243 .I $WINEPREFIX/config
244 User-specific configuration file