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: path = <directories separated by semi-colons>
123 default: C:\\WINDOWS;C:\\WINDOWS\\SYSTEM
125 Used to specify the path which will be used to find executables and .DLL's.
127 .I format: symboltablefile = <filename>
131 Used to specify the path and file name of the symbol table used by the built-in
136 .I format: EXTRA_LD_LIBRARY_PATH=@prefix@/lib/wine[:/more/path/to/search[:...]]
138 The path will be appended to any existing LD_LIBRARY_PATH from the
139 environment for the search of elfdlls and .so libraries.
141 .I format: DefaultLoadOrder=native,elfdll,so,builtin
143 A comma separated list of module-types to try to load in that specific
144 order. The DefaultLoadOrder key is used as a fallback when a module is
145 not specified explicitely. If the DefaultLoadOrder key is not found,
146 then the order "native,elfdll,so,builtin" is used.
148 Case is not (yet) important and only the first letter of each type is enough
149 to identify the type n[ative], e[lfdll], s[o], b[uiltin]. Also whitespace is
150 ignored. Keep everything in lower case to be sure that your entries keep the
151 same meaning. See also commandline option
153 for details about the allowable types.
157 There are no explicit keys defined other than module/library names. A comma
158 separated list of modules is followed by an assignment of the load order
159 for these specific modules. See above for possible types. You should not
160 specify an extension.
164 .I kernel32, gdi32, user32 = builtin
166 .I kernel, gdi, user = builtin
168 .I comdlg32 = elfdll, native, builtin
170 .I commdlg = native, builtin
172 .I version, ver = elfdll, native, builtin
174 Changing the load order of kernel/kernel32 and gdi/gdi32 to
175 anything other than builtin will cause wine to fail because wine cannot
176 use native versions for these libraries (gdi[32] might work native someday,
177 but kernel[32] will never work native). These libraries are also the last
178 to be converted to elfdlls and will live as builtins for quite some time
180 Note that using the native versions of user[32] isn't recommended right now,
181 as these modules face nearly the same problems as kernel/gdi and we only
182 just managed to make them work partially. But trying to use it might get
183 your program running.
185 Always make sure that you have some kind of strategy in mind when you start
186 fiddling with the current defaults and needless to say that you must know
191 This is a simple pairing in the form 'name1 = name2'. It is supposed to
192 identify the dlls that cannot live without eachother unless they are
193 loaded in the same format. Examples are common dialogs and controls,
194 shell, kernel, gdi, user, etc...
196 The code will issue a warning if the loadorder of these pairs are different
197 and might cause hard-to-find bugs due to incompatible pairs loaded at
198 run-time. Note that this pairing gives
200 guarantee that the pairs
201 actually get loaded as the same type, nor that the correct versions are
202 loaded (might be implemented later). It merely notes obvious trouble.
208 .I commdlg = comdlg32
210 The implementation will probably change in a later stage to force pairs to
211 be loaded correctly, but there are also drawbacks with such an approach.
215 .I format: com[12345678] = <devicename>
219 Used to specify the devices which are used as COM1 - COM8.
223 .I format: lpt[12345678] = <devicename>
227 Used to specify the devices which are used as LPT1 - LPT8.
231 .I format: file = <filename or CON when logging to stdout>
235 Used to specify the file which will be used as
238 .I format: exclude = <message names separated by semicolons>
242 Used to specify which messages will be excluded from the logfile.
244 .I format: include = <message names separated by semicolons>
247 .br Used to specify which messages will be included in the logfile.
251 .I format: WineLook=<Win31|Win95|Win98>
255 Use Win95-like window displays or Win3.1-like window displays.
256 .SH SAMPLE CONFIGURATION FILE
257 A sample configuration file is distributed as
259 in the top-level directory of the source distribution.
263 .I @sysconfdir@/wine.conf
264 Global configuration file for wine.
267 User-specific configuration file