1 WINE REGISTRY Version 2
2 ;; All keys relative to \\Machine\\Software\\Wine\\Wine\\Config
4 ;; If you think it is necessary to show others your complete config for a
5 ;; bug report, filter out empty lines and comments with
6 ;; grep -v "^;" ~/.wine/config | grep '.'
8 ;; MS-DOS drives configuration
10 ;; Each section has the following format:
12 ;; "Path"="xxx" (Unix path for drive root)
13 ;; "Type"="xxx" (supported types are 'floppy', 'hd', 'cdrom' and 'network')
14 ;; "Label"="xxx" (drive label, at most 11 characters)
15 ;; "Serial"="xxx" (serial number, 8 characters hexadecimal number)
16 ;; "Filesystem"="xxx" (supported types are 'msdos'/'dos'/'fat', 'win95'/'vfat', 'unix')
17 ;; This is the FS Wine is supposed to emulate on a certain
18 ;; directory structure.
20 ;; - "win95" for ext2fs, VFAT and FAT32
21 ;; - "msdos" for FAT16 (ugly, upgrading to VFAT driver strongly recommended)
22 ;; DON'T use "unix" unless you intend to port programs using Winelib !
23 ;; "Device"="/dev/xx" (only if you want to allow raw device access)
29 "Filesystem" = "win95"
37 "Filesystem" = "win95"
43 "Filesystem" = "win95"
44 ; make sure that device is correct and has proper permissions !
45 "Device" = "/dev/cdrom"
51 "Filesystem" = "win95"
57 "Filesystem" = "win95"
63 "Filesystem" = "win95"
66 "Windows" = "c:\\windows"
67 "System" = "c:\\windows\\system"
69 "Path" = "c:\\windows;c:\\windows\\system;e:\\;e:\\test;f:\\"
70 "Profile" = "c:\\windows\\Profiles\\Administrator"
71 "GraphicsDriver" = "x11drv"
72 ;"ShowDirSymlinks" = "1"
74 "ShellLinker" = "wineshelllink"
79 ; Windows version to imitate (win95,win98,winme,nt351,nt40,win2k,winxp,win20,win30,win31)
81 ; DOS version to imitate
84 ; Be careful here, wrong DllOverrides settings have the potential
85 ; to pretty much kill your setup.
87 ; some dlls you may want to change
88 "oleaut32" = "builtin, native"
89 "ole32" = "builtin, native"
90 "commdlg" = "builtin, native"
91 "comdlg32" = "builtin, native"
92 "shell" = "builtin, native"
93 "shell32" = "builtin, native"
94 "shfolder" = "builtin, native"
95 "shlwapi" = "builtin, native"
96 "shdocvw" = "builtin, native"
97 "advapi32" = "builtin, native"
98 "msvcrt" = "native, builtin"
99 "mciavi.drv" = "native, builtin"
100 "mcianim.drv" = "native, builtin"
101 ; you can specify applications too
102 ; this one will apply for all notepad.exe
103 ;"*notepad.exe" = "native, builtin"
104 ; this one will apply only for a particular file
105 ;"C:\\windows\\regedit.exe" = "native, builtin"
106 ; default for all other dlls
107 "*" = "builtin, native"
110 ; Number of colors to allocate from the system palette
111 "AllocSystemColors" = "100"
112 ; Use a private color map
113 "PrivateColorMap" = "N"
114 ; Favor correctness over speed in some graphics operations
115 "PerfectGraphics" = "N"
116 ; Color depth to use on multi-depth screens
117 ;;"ScreenDepth" = "16"
118 ; Name of X11 display to use
120 ; Allow the window manager to manage created windows
122 ; Use a desktop window of 640x480 for Wine
123 ;"Desktop" = "640x480"
124 ; Use XFree86 DGA extension if present
125 ; (make sure /dev/mem is accessible by you !)
127 ; Use XVidMode extension if present
129 ; Use the take focus protocol
131 ; Enable DirectX mouse grab
133 ; Create the desktop window with a double-buffered visual
134 ; (useful to play OpenGL games)
135 "DesktopDoubleBuffered" = "N"
136 ; Run in synchronous mode (useful for debugging X11 problems)
137 ;;"Synchronous" = "Y"
139 ; Use the Render extension to render client side fonts (default "Y")
140 ;;"ClientSideWithRender" = "Y"
141 ; Fallback on X core requests to render client side fonts (default "Y")
142 ;;"ClientSideWithCore" = "Y"
143 ; Set both of the previous two to "N" in order to force X11 server side fonts
145 ; Anti-alias fonts if using the Render extension (default "Y")
146 ;;"ClientSideAntiAliasWithRender" = "Y"
147 ; Anti-alias fonts if using core requests fallback (default "Y")
148 ;;"ClientSideAntiAliasWithCore" = "Y"
152 ;Read the Fonts topic in the Wine User Guide before adding aliases
153 ;See a couple of examples for russian users below
155 "Default" = "-adobe-helvetica-"
156 "DefaultFixed" = "fixed"
157 "DefaultSerif" = "-adobe-times-"
158 "DefaultSansSerif" = "-adobe-helvetica-"
160 ;; default TrueType fonts with russian koi8-r encoding
161 ;"Default" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
162 ;"DefaultFixed" = "-monotype-courier new-*-*-*--*-*-*-*-*-*-koi8-r"
163 ;"DefaultSerif" = "-monotype-times new roman-*-*-*--*-*-*-*-*-*-koi8-r"
164 ;"DefaultSansSerif" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
165 ;; default cyrillic bitmap X fonts
166 ;"Default" = "-cronyx-helvetica-"
167 ;"DefaultFixed" = "fixed"
168 ;"DefaultSerif" = "-cronyx-times-"
169 ;"DefaultSansSerif" = "-cronyx-helvetica-"
171 ; the TrueType font dirs you want to make accessible to wine
173 ;"dir1" = "/usr/X11R6/lib/X11/fonts/TrueType"
174 ;"dir2" = "/usr/share/fonts/truetype"
175 ;"dir3" = "/usr/X11R6/lib/X11/fonts/TT"
176 ;"dir4" = "/usr/share/fonts/TT"
179 "Com1" = "/dev/ttyS0"
180 "Com2" = "/dev/ttyS1"
181 "Com3" = "/dev/ttyS2"
182 "Com4" = "/dev/modem"
188 ;; key: io-base of the emulated port
189 ;; value : parport-device{,timeout}
190 ;; timeout for auto closing an open device ( not yet implemented)
191 ;"378" = "/dev/parport0"
192 ;"278" = "/dev/parport1"
193 ;"3bc" = "/dev/parport2"
198 "LPT2:" = "|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -"
202 ;"read" = "0x779,0x379,0x280-0x2a0"
203 ;"write" = "0x779,0x379,0x280-0x2a0"
206 ;"RelayExclude" = "RtlEnterCriticalSection;RtlLeaveCriticalSection"
207 ;"RelayInclude" = "user32.CreateWindowA"
208 ;"RelayFromExclude" = "user32;x11drv"
209 ;"RelayFromInclude" = "sol.exe"
210 ;"SnoopExclude" = "RtlEnterCriticalSection;RtlLeaveCriticalSection"
211 ;"SpyExclude" = "WM_SIZE;WM_TIMER;"
214 ;These are all booleans. Y/y/T/t/1 are true, N/n/F/f/0 are false.
215 ;Defaults are read all, write to Home
216 ; Where to find the global registries
217 ;"GlobalRegistryDir" = "/etc";
218 ; Global registries (stored in /etc)
219 "LoadGlobalRegistryFiles" = "Y"
220 ; Home registries (stored in ~user/.wine/)
221 "LoadHomeRegistryFiles" = "Y"
222 ; Load Windows registries from the Windows directory
223 "LoadWindowsRegistryFiles" = "Y"
224 ; TRY to write all changes to home registries
225 "WritetoHomeRegistryFiles" = "Y"
226 ; Registry periodic save timeout in seconds
227 ; "PeriodicSave" = "600"
228 ; Save only modified keys
229 "SaveOnlyUpdatedKeys" = "Y"
232 ;; supported styles are 'Win31'(default), 'Win95', 'Win98'
233 ;; this has *nothing* to do with the windows version Wine returns:
234 ;; set the "Windows" value in the [Version] section if you want that.
238 "ClearAllSelections" = "0"
239 "PersistentSelection" = "1"
241 ; List of all directories directly contain .AFM files
243 "1" = "/usr/share/ghostscript/fonts"
244 "2" = "/usr/share/a2ps/afm"
245 "3" = "/usr/share/enscript"
246 "4" = "/usr/X11R6/lib/X11/fonts/Type1"
249 ; Uncomment the "Drivers" line matching your sound setting.
251 "Drivers" = "wineoss.drv" ; default for most common configurations
252 ;"Drivers" = "winearts.drv" ; for KDE
253 ;"Drivers" = "winealsa.drv" ; for ALSA users
254 ;"Drivers" = "winejack.drv" ; for Jack sound server
255 ;"Drivers" = "winenas.drv" ; for NAS sound system
256 ;"Drivers" = "wineaudioio.drv" ; for Solaris machines
257 ;"Drivers" = "" ; to disable sound
258 "WaveMapper" = "msacm.drv"
259 "MidiMapper" = "midimap.drv"
262 ;; HEL only: Number of waveOut fragments ahead to mix in new buffers.
264 ;; HEL only: Number of waveOut fragments ahead to queue to driver.
266 ;; Max number of fragments to prebuffer
267 ;"SndQueueMax" = "28"
268 ;; Min number of fragments to prebuffer
269 ;"SndQueueMin" = "12"
270 ;; Forces emulation mode (using wave api)
271 ;"HardwareAcceleration" = "Emulation"
272 ;; Sets default playback device (0 - number of devices - 1)
273 ;"DefaultPlayback" = "0" ; use first device (/dev/dsp)
274 ;"DefaultPlayback" = "1" ; use second device (/dev/dsp1)
275 ;"DefaultPlayback" = "2" ; use third device (/dev/dsp2)
276 ;; Sets default capture device (0 - number of devices - 1)
277 ;"DefaultCapture" = "0" ; use first device (/dev/dsp)
278 ;"DefaultCapture" = "1" ; use second device (/dev/dsp1)
279 ;"DefaultCapture" = "2" ; use third device (/dev/dsp2)
282 ;; Use the DNS (Unix) host name always as NetBIOS "ComputerName" (boolean, default "Y").
283 ;; Set to N if you need a persistent NetBIOS ComputerName that possibly differs
284 ;; from the Unix host name. You'll need to set ComputerName in
285 ;; HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\ComputerName\ComputerName, too.
286 ;"UseDnsComputerName" = "N"
288 ;; sample AppDefaults entries
290 ; 3 InstallShield versions who like to put their full screen window in front,
291 ; without any chance to switch to another X11 application.
292 ; So just catch them in a desktop window.
294 [AppDefaults\\_INS0432._MP\\x11drv]
295 "Desktop" = "640x480"
297 [AppDefaults\\_INS0466._MP\\x11drv]
298 "Desktop" = "640x480"
300 [AppDefaults\\_INS0576._MP\\x11drv]
301 "Desktop" = "640x480"
303 [AppDefaults\\_INS5176._MP\\x11drv]
304 "Desktop" = "640x480"
306 [AppDefaults\\_INS5576._MP\\x11drv]
307 "Desktop" = "640x480"
309 ; force it to install even though wine has a newer version
310 [AppDefaults\\dcom98.exe\\DllOverrides]
313 [AppDefaults\\dcom95.exe\\DllOverrides]
317 ;[AppDefaults\\iexplore.exe\\DllOverrides]
318 ;"shlwapi" = "native"
321 ;"shdocvw" = "native"
322 ;"wininet" = "native"
323 ;"shfolder" = "native"
324 ;"shell32" = "native"
326 ;"comctl32" = "native"
328 ;[AppDefaults\\setup.exe\\x11drv]
329 ;"Desktop" = "800x600"
331 ;[AppDefaults\\sol.exe\\Version]
334 ;; Some games (Quake 2, UT) refuse to accept emulated dsound devices.
335 ;; You can add an AppDefault entry like this for such cases.
336 ;[AppDefaults\\pickygame.exe\\dsound]