2 .TH WINE.CONF 5 "July 16, 1999" "Version 990704" "Wine Configuration File"
4 wine.conf \- Wine configuration file
7 expects a configuration file (
8 .I @sysconfdir@/wine.conf
10 conform to the following rules (the format is just like a Windows .ini
11 file). Common locations are /usr/local/etc/wine.conf or
12 (in some distributions) /etc/wine.conf. The actual directory
13 where that file resides may be specified during the execution of the
15 script with the --sysconfdir option. Alternatively, you may have a
17 file of this format in your home directory or have the environment variable
19 pointing to a configuration file, or use the -config option on the command
21 A sample configuration file is available as wine.ini in the base directory
22 of 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
33 The value can be any text string, optionally included in single or
34 double quotes; it can also contain references to environment variables
37 Supported section names and entries are listed below.
41 This section is used to specify the root directory and type of each
43 drive, since most Windows applications require a DOS/MS-Windows based
44 disk drive & directory scheme. There is one such section for every
45 drive you want to configure.
47 .I format: Path = <rootdirectory>
51 If you mounted your dos partition as
53 and installed Microsoft Windows in
54 C:\\WINDOWS then you should specify
60 .I format: Type = <type>
64 Used to specify the drive type this drive appears as in Windows
65 or DOS programs; supported types are floppy, hd, cdrom
68 .I format: Label = <label>
72 Used to specify the drive label; limited to 11 characters.
74 .I format: Serial = <serial>
78 Used to specify the drive serial number, as an 8-character hexadecimal
81 .I format: Filesystem = <fstype>
85 Used to specify the type of the file system Wine should emulate on a given
86 directory structure/underlying file system.
88 Supported types are msdos (or fat), win95 (or vfat), unix.
92 win95 for ext2fs, VFAT and FAT32
94 msdos for FAT16 (ugly)
96 You definitely don't want to use "unix" unless you intend to port programs using Winelib.
98 Always try to avoid using FAT16. Use VFAT/FAT32 OS file system driver instead !
102 .I format: windows = <directory>
106 Used to specify a different Windows directory
108 .I format: system = <directory>
110 default: C:\\WINDOWS\\SYSTEM
112 Used to specify a different system directory
114 .I format: temp = <directory>
118 Used to specify a directory where Windows applications can store
121 .I format: profile = <directory>
125 Used to specify a directory where Windows stores special folders and the user-registry files (user.dat or ntuser.dat).
126 Mapped to environment variable %USERPROFILE%.
127 Set this value when running with a native NT or a native win95 directory with per-user settings.
129 .I format: path = <directories separated by semi-colons>
131 default: C:\\WINDOWS;C:\\WINDOWS\\SYSTEM
133 Used to specify the path which will be used to find executables and .DLL's.
135 .I format: symboltablefile = <filename>
139 Used to specify the path and file name of the symbol table used by the built-in
144 .I format: EXTRA_LD_LIBRARY_PATH=@prefix@/lib/wine[:/more/path/to/search[:...]]
146 The path will be appended to any existing LD_LIBRARY_PATH from the
147 environment for the search of elfdlls and .so libraries.
149 .I format: DefaultLoadOrder=native,elfdll,so,builtin
151 A comma separated list of module-types to try to load in that specific
152 order. The DefaultLoadOrder key is used as a fallback when a module is
153 not specified explicitely. If the DefaultLoadOrder key is not found,
154 then the order "native,elfdll,so,builtin" is used.
156 Case is not (yet) important and only the first letter of each type is enough
157 to identify the type n[ative], e[lfdll], s[o], b[uiltin]. Also whitespace is
158 ignored. Keep everything in lower case to be sure that your entries keep the
159 same meaning. See also commandline option
161 for details about the allowable types.
165 There are no explicit keys defined other than module/library names. A comma
166 separated list of modules is followed by an assignment of the load order
167 for these specific modules. See above for possible types. You should not
168 specify an extension.
172 .I kernel32, gdi32, user32 = builtin
174 .I kernel, gdi, user = builtin
176 .I comdlg32 = elfdll, native, builtin
178 .I commdlg = native, builtin
180 .I version, ver = elfdll, native, builtin
182 Changing the load order of kernel/kernel32 and gdi/gdi32 to
183 anything other than builtin will cause wine to fail because wine cannot
184 use native versions for these libraries (gdi[32] might work native someday,
185 but kernel[32] will never work native). These libraries are also the last
186 to be converted to elfdlls and will live as builtins for quite some time
188 Note that using the native versions of user[32] isn't recommended right now,
189 as these modules face nearly the same problems as kernel/gdi and we only
190 just managed to make them work partially. But trying to use it might get
191 your program running.
193 Always make sure that you have some kind of strategy in mind when you start
194 fiddling with the current defaults and needless to say that you must know
199 This is a simple pairing in the form 'name1 = name2'. It is supposed to
200 identify the dlls that cannot live without eachother unless they are
201 loaded in the same format. Examples are common dialogs and controls,
202 shell, kernel, gdi, user, etc...
204 The code will issue a warning if the loadorder of these pairs are different
205 and might cause hard-to-find bugs due to incompatible pairs loaded at
206 run-time. Note that this pairing gives
208 guarantee that the pairs
209 actually get loaded as the same type, nor that the correct versions are
210 loaded (might be implemented later). It merely notes obvious trouble.
216 .I commdlg = comdlg32
218 The implementation will probably change in a later stage to force pairs to
219 be loaded correctly, but there are also drawbacks with such an approach.
223 .I format: com[12345678] = <devicename>
227 Used to specify the devices which are used as COM1 - COM8.
231 .I format: lpt[12345678] = <devicename>
235 Used to specify the devices which are used as LPT1 - LPT8.
239 .I format: file = <filename or CON when logging to stdout>
243 Used to specify the file which will be used as
246 .I format: exclude = <message names separated by semicolons>
250 Used to specify which messages will be excluded from the logfile.
252 .I format: include = <message names separated by semicolons>
255 .br Used to specify which messages will be included in the logfile.
259 .I format: WineLook=<Win31|Win95|Win98>
263 Use Win95-like window displays or Win3.1-like window displays.
267 .I format: AltCurrentUserFile=<filename>
269 alternate registry file name: HKEY_CURRENT_USER
271 .I format: AltUserFile=<filename>
273 alternate registry file name: HKKEY_USERS
275 .I format: AltLocalMachineFile=<filename>
277 alternate registry file name: HKEY_LOCAL_MASCHINE
279 .I format: LoadAltRegistryFiles=<boolean>
281 Load above registries.
283 .I format: WritetoAltRegistryFiles=<boolean>
285 TRY to write all changes to alt registries
287 .I format: LoadGlobalRegistryFiles=<boolean>
289 Global registries (stored in /etc)
291 .I format: LoadHomeRegistryFiles=<boolean>
293 Home registries (stored in ~user/.wine/)
295 .I format: WritetoHomeRegistryFiles=<boolean>
297 TRY to write all changes to alt registries
299 .I format: LoadWindowsRegistryFiles=<boolean>
301 Load Windows registry from the current Windows directory.
303 booleans: Y/y/T/t/1 are true, N/n/F/f/0 are false.
305 Defaults are read all, write to Home and Alt
307 Note: it is pointless to specify alt files and neither load nor write to them.
309 .SH SAMPLE CONFIGURATION FILE
310 A sample configuration file is distributed as
312 in the top-level directory of the source distribution.
316 .I @sysconfdir@/wine.conf
317 Global configuration file for wine.
320 User-specific configuration file