2 .TH WINE.CONF 5 "December 5, 2000" "Version 20001202" "Wine Configuration File"
4 wine.conf \- Wine configuration file
7 expects a configuration file (
8 .I @sysconfdir@/wine.conf
9 ), which should conform to the following rules. Common locations are
10 /usr/local/etc/wine.conf or (in some distributions)
11 /etc/wine.conf. The actual directory where that file resides may be
12 specified during the execution of the
14 script with the --sysconfdir option. Alternatively, you may have a
17 in this format in your ~/.wine directory or in the directory named in
20 environment variable. A sample configuration file is available as
21 .I documentation/samples/config
22 in the Wine source distribution.
23 .SH CONFIGURATION FILE FORMAT
24 All entries are grouped in sections; a section begins with the line
28 and continues until the next section starts. Individual entries
29 consist of lines of the form
31 .I """entry""=""value"""
33 The entry and value can be any text strings, included in double
34 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 This section is used to specify the root directory and type of each
45 drive, since most Windows applications require a DOS/MS-Windows based
46 disk drive & directory scheme. There is one such section for every
47 drive you want to configure.
49 .I format: """Path""=""<rootdirectory>"""
53 If you mounted your dos partition as
55 and installed Microsoft Windows in
56 C:\\WINDOWS then you should specify
57 .I """Path""=""/dos"""
62 .I format: """Type""=""<type>"""
66 Used to specify the drive type this drive appears as in Windows
67 or DOS programs; supported types are "floppy", "hd", "cdrom"
70 .I format: """Label""=""<label>"""
74 Used to specify the drive label; limited to 11 characters.
76 .I format: """Serial""=""<serial>"""
80 Used to specify the drive serial number, as an 8-character hexadecimal
83 .I format: """Filesystem""=""<fstype>"""
87 Used to specify the type of the file system Wine should emulate on a given
88 directory structure/underlying file system.
90 Supported types are "msdos" (or "fat"), "win95" (or "vfat"), "unix".
94 "win95" for ext2fs, VFAT and FAT32
96 "msdos" for FAT16 (ugly)
98 You definitely do not want to use "unix" unless you intend to port
99 programs using Winelib. Always try to avoid using FAT16. Use the
100 VFAT/FAT32 OS file system driver instead.
102 .I format: """FailReadOnly""=""<boolean>"""
104 Read-only files may not be opened in write mode (the default is to
105 allow opening read-only files for writing, because most Windows
106 programs always request read-write access, even on CD-ROM drives...).
110 .I format: """windows""=""<directory>"""
112 default: "C:\\\\WINDOWS"
114 Used to specify a different Windows directory; make sure to double the
117 .I format: """system""=""<directory>"""
119 default: "C:\\\\WINDOWS\\\\SYSTEM"
121 Used to specify a different system directory; make sure to double the
124 .I format: """temp""=""<directory>"""
126 default: "C:\\\\TEMP"
128 Used to specify a directory where Windows applications can store
131 .I format: """profile""=""<directory>"""
135 Used to specify a directory where Windows stores special folders and
136 the user-registry files (user.dat or ntuser.dat). Mapped to
137 environment variable %USERPROFILE%. Set this value when running with
138 a native NT or a native win95 directory with per-user settings.
140 .I format: """path""=""<directories separated by semi-colons>"""
142 default: "C:\\\\WINDOWS;C:\\\\WINDOWS\\\\SYSTEM"
144 Used to specify the path which will be used to find executables and
145 dlls. Make sure to double all the backslashes.
149 .I format: """modulename""=""native,so,builtin"""
152 can be any valid module name, without extension. The specified value
153 is a comma separated list of module-types to try to load in that
154 specific order. Case is not important and only the first letter of
155 each type is enough to identify the type n[ative], s[o],
156 b[uiltin]. Also whitespace is ignored. See also commandline option
158 for details about the allowable types.
162 specifies the load order to use for modules not explicitly
163 mentioned. If the wildcard entry is not found, then the order
164 "native,builtin,so" is used.
168 .I """kernel32""=""builtin"""
170 .I """kernel""=""builtin"""
172 .I """comdlg32""=""native,builtin"""
174 .I """*""=""builtin,native"""
176 Changing the load order of kernel/kernel32 and gdi/gdi32 to
177 anything other than builtin will cause wine to fail because wine cannot
178 use native versions for these libraries.
180 Always make sure that you have some kind of strategy in mind when you start
181 fiddling with the current defaults and needless to say that you must know
186 .I format: """com[12345678]""=""<devicename>"""
190 Used to specify the devices which are used as COM1 - COM8.
194 .I format: """lpt[12345678]""=""<devicename>"""
198 Used to specify the devices which are used as LPT1 - LPT8.
202 .I format: """exclude""=""<message names separated by semicolons>"""
206 Used to specify which messages will be excluded from the logfile.
208 .I format: """include""=""<message names separated by semicolons>"""
211 .br Used to specify which messages will be included in the logfile.
215 .I format: """WineLook""=""<Win31|Win95|Win98>"""
219 Use Win95-like window displays or Win3.1-like window displays.
223 .I format: """LoadGlobalRegistryFiles""=""<boolean>"""
225 Global registries (stored in /etc)
227 .I format: """LoadHomeRegistryFiles""=""<boolean>"""
229 Home registries (stored in ~user/.wine/)
231 .I format: """WritetoHomeRegistryFiles""=""<boolean>"""
233 TRY to write all changes to the home registry files
235 .I format: """LoadWindowsRegistryFiles""=""<boolean>"""
237 Load Windows registry from the current Windows directory.
239 booleans: Y/y/T/t/1 are true, N/n/F/f/0 are false.
241 Defaults are read all, write to home files.
243 .B [AppDefaults\\\\\\\\<appname>\\\\\\\\...]
245 This section allows specifying application-specific values for
246 the other sections described above.
248 is the name of the application exe file, without path. The "..."
249 should be replaced by the name of one of the above configuration
254 .I [AppDefaults\\\\\\\\sol.exe\\\\\\\\DllOverrides]
256 .I """shell32""" = """native"""
258 means that Solitaire will use "native" load order for the shell32
259 dll. All other applications will continue to use what was specified in
264 The only section that supports application-specific information at the
268 Make sure to use double backslashes in the section name.
270 .SH SAMPLE CONFIGURATION FILE
271 A sample configuration file is distributed as
272 .B documentation/samples/config
273 in the Wine source distribution.
276 .I @sysconfdir@/wine.conf
277 Global configuration file for wine.
280 User-specific configuration file
281 .SH ENVIRONMENT VARIABLES
284 Specifies the directory that contains the per-user
286 file, the registry files, and the wineserver socket. The default is