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 !
100 .I format: FailReadOnly=<boolean>
102 Read-only files may not be opened in write mode (the default is to
103 allow opening read-only files for writing, because most Windows
104 programs always request read-write access, even on CD-ROM drives...).
108 .I format: windows = <directory>
112 Used to specify a different Windows directory
114 .I format: system = <directory>
116 default: C:\\WINDOWS\\SYSTEM
118 Used to specify a different system directory
120 .I format: temp = <directory>
124 Used to specify a directory where Windows applications can store
127 .I format: profile = <directory>
131 Used to specify a directory where Windows stores special folders and the user-registry files (user.dat or ntuser.dat).
132 Mapped to environment variable %USERPROFILE%.
133 Set this value when running with a native NT or a native win95 directory with per-user settings.
135 .I format: path = <directories separated by semi-colons>
137 default: C:\\WINDOWS;C:\\WINDOWS\\SYSTEM
139 Used to specify the path which will be used to find executables and .DLL's.
141 .I format: symboltablefile = <filename>
145 Used to specify the path and file name of the symbol table used by the built-in
150 .I format: EXTRA_LD_LIBRARY_PATH=@prefix@/lib/wine[:/more/path/to/search[:...]]
152 The path will be appended to any existing LD_LIBRARY_PATH from the
153 environment for the search of .so libraries.
155 .I format: DefaultLoadOrder=native,so,builtin
157 A comma separated list of module-types to try to load in that specific
158 order. The DefaultLoadOrder key is used as a fallback when a module is
159 not specified explicitely. If the DefaultLoadOrder key is not found,
160 then the order "native,builtin,so" is used.
162 Case is not (yet) important and only the first letter of each type is
163 enough to identify the type n[ative], s[o], b[uiltin]. Also whitespace
164 is ignored. Keep everything in lower case to be sure that your entries
165 keep the same meaning. See also commandline option
167 for details about the allowable types.
171 There are no explicit keys defined other than module/library names. A
172 module namd is followed by an assignment of the load order for this
173 specific module. See above for possible types. You should not specify
178 .I kernel32 = builtin
182 .I comdlg32 = native, builtin
184 .I commdlg = native, builtin
186 Changing the load order of kernel/kernel32 and gdi/gdi32 to
187 anything other than builtin will cause wine to fail because wine cannot
188 use native versions for these libraries (gdi[32] might work native someday,
189 but kernel[32] will never work native).
190 Note that using the native versions of user[32] isn't recommended right now,
191 as these modules face nearly the same problems as kernel/gdi and we only
192 just managed to make them work partially. But trying to use it might get
193 your program running.
195 Always make sure that you have some kind of strategy in mind when you start
196 fiddling with the current defaults and needless to say that you must know
201 .I format: com[12345678] = <devicename>
205 Used to specify the devices which are used as COM1 - COM8.
209 .I format: lpt[12345678] = <devicename>
213 Used to specify the devices which are used as LPT1 - LPT8.
217 .I format: file = <filename or CON when logging to stdout>
221 Used to specify the file which will be used as
224 .I format: exclude = <message names separated by semicolons>
228 Used to specify which messages will be excluded from the logfile.
230 .I format: include = <message names separated by semicolons>
233 .br Used to specify which messages will be included in the logfile.
237 .I format: WineLook=<Win31|Win95|Win98>
241 Use Win95-like window displays or Win3.1-like window displays.
245 .I format: LoadGlobalRegistryFiles=<boolean>
247 Global registries (stored in /etc)
249 .I format: LoadHomeRegistryFiles=<boolean>
251 Home registries (stored in ~user/.wine/)
253 .I format: WritetoHomeRegistryFiles=<boolean>
255 TRY to write all changes to alt registries
257 .I format: LoadWindowsRegistryFiles=<boolean>
259 Load Windows registry from the current Windows directory.
261 booleans: Y/y/T/t/1 are true, N/n/F/f/0 are false.
263 Defaults are read all, write to Home
265 .SH SAMPLE CONFIGURATION FILE
266 A sample configuration file is distributed as
268 in the top-level directory of the source distribution.
272 .I @sysconfdir@/wine.conf
273 Global configuration file for wine.
276 User-specific configuration file