Fix subclassing to support nested messages.
[wine] / documentation / samples / config
1 WINE REGISTRY Version 2
2 ;; All keys relative to \\Machine\\Software\\Wine\\Wine\\Config
3
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 '.'
7 ;;
8 ;; MS-DOS drives configuration
9 ;;
10 ;; Each section has the following format:
11 ;; [Drive X]
12 ;; "Path"="xxx"       (Unix path for drive root)
13 ;; "Type"="xxx"       (supported types are 'floppy', 'hd', 'cdrom' and 'network')
14 ;; "Device"="/dev/xx" (only if you want to allow raw device access)
15 ;;
16 [Drive A]
17 "Path" = "/mnt/fd0"
18 "Type" = "floppy"
19 "Device" = "/dev/fd0"
20
21 [Drive C]
22 "Path" = "/c"
23 "Type" = "hd"
24
25 [Drive D]
26 "Path" = "/cdrom"
27 "Type" = "cdrom"
28 ; make sure that device is correct and has proper permissions !
29 "Device" = "/dev/cdrom"
30
31 [Drive E]
32 "Path" = "/tmp"
33 "Type" = "hd"
34
35 [Drive F]
36 "Path" = "%HOME%"
37 "Type" = "network"
38
39 [Drive Z]
40 "Path" = "/"
41 "Type" = "hd"
42
43 [wine]
44 "Windows" = "c:\\windows"
45 "System" = "c:\\windows\\system"
46 "Temp" = "e:\\"
47 "Path" = "c:\\windows;c:\\windows\\system;e:\\;e:\\test;f:\\"
48 "Profile" = "c:\\windows\\Profiles\\Administrator"
49 "GraphicsDriver" = "x11drv"
50 ;"ShowDirSymlinks" = "1"
51 ;"ShowDotFiles" = "1"
52 "ShellLinker" = "wineshelllink"
53
54 # [wineconf]
55
56 [Version]
57 ; Windows version to imitate (win95,win98,winme,nt351,nt40,win2k,winxp,win2k3,win20,win30,win31)
58 ;"Windows" = "win98"
59 ; DOS version to imitate
60 ;"DOS" = "6.22"
61
62 ; Be careful here, wrong DllOverrides settings have the potential
63 ; to pretty much kill your setup.
64 [DllOverrides]
65 ; some dlls you may want to change
66 "oleaut32"     = "builtin, native"
67 "ole32"        = "builtin, native"
68 "comdlg32"     = "builtin, native"
69 "shell32"      = "builtin, native"
70 "shfolder"     = "builtin, native"
71 "shlwapi"      = "builtin, native"
72 "shdocvw"      = "builtin, native"
73 "advapi32"     = "builtin, native"
74 "msvcrt"       = "native, builtin"
75 "mciavi.drv"   = "native, builtin"
76 "mcianim.drv"  = "native, builtin"
77 "msi"          = "native, builtin"
78 ; you can specify applications too
79 ; this one will apply for all notepad.exe
80 ;"*notepad.exe" = "native, builtin"
81 ; this one will apply only for a particular file
82 ;"C:\\windows\\regedit.exe" = "native, builtin"
83 ; default for all other dlls
84 "*" = "builtin, native"
85
86 [x11drv]
87 ; Number of colors to allocate from the system palette
88 "AllocSystemColors" = "100"
89 ; Use a private color map
90 "PrivateColorMap" = "N"
91 ; Favor correctness over speed in some graphics operations
92 "PerfectGraphics" = "N"
93 ; Color depth to use on multi-depth screens
94 ;;"ScreenDepth" = "16"
95 ; Allow the window manager to manage created windows
96 "Managed" = "Y"
97 ; Use a desktop window of 640x480 for Wine
98 ;"Desktop" = "640x480"
99 ; Use XFree86 DGA extension if present
100 ; (make sure /dev/mem is accessible by you !)
101 "UseDGA" = "Y"
102 ; Use XVidMode extension if present
103 "UseXVidMode" = "Y"
104 ; Use XRandR extension if present
105 "UseXRandR" = "Y"
106 ; Use the take focus protocol
107 "UseTakeFocus" = "Y"
108 ; Enable DirectX mouse grab
109 "DXGrab" = "N"
110 ; Create the desktop window with a double-buffered visual
111 ; (useful to play OpenGL games)
112 "DesktopDoubleBuffered" = "N"
113 ; Run in synchronous mode (useful for debugging X11 problems)
114 ;;"Synchronous" = "Y"
115 ;
116 ; Use the Render extension to render client side fonts (default "Y")
117 ;;"ClientSideWithRender" = "Y"
118 ; Fallback on X core requests to render client side fonts (default "Y")
119 ;;"ClientSideWithCore" = "Y"
120 ; Set both of the previous two to "N" in order to force X11 server side fonts
121 ;
122 ; Anti-alias fonts if using the Render extension (default "Y")
123 ;;"ClientSideAntiAliasWithRender" = "Y"
124 ; Anti-alias fonts if using core requests fallback (default "Y")
125 ;;"ClientSideAntiAliasWithCore" = "Y"
126 ;
127
128 [fonts]
129 ;Read the Fonts topic in the Wine User Guide before adding aliases
130 ;See a couple of examples for russian users below
131 "Resolution" = "96"
132 "Default" = "-adobe-helvetica-"
133 "DefaultFixed" = "fixed"
134 "DefaultSerif" = "-adobe-times-"
135 "DefaultSansSerif" = "-adobe-helvetica-"
136
137 ;; default TrueType fonts with russian koi8-r encoding
138 ;"Default" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
139 ;"DefaultFixed" = "-monotype-courier new-*-*-*--*-*-*-*-*-*-koi8-r"
140 ;"DefaultSerif" = "-monotype-times new roman-*-*-*--*-*-*-*-*-*-koi8-r"
141 ;"DefaultSansSerif" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
142 ;; default cyrillic bitmap X fonts
143 ;"Default" = "-cronyx-helvetica-"
144 ;"DefaultFixed" = "fixed"
145 ;"DefaultSerif" = "-cronyx-times-"
146 ;"DefaultSansSerif" = "-cronyx-helvetica-"
147
148 ; the TrueType font dirs you want to make accessible to wine
149 [FontDirs]
150 ;"dir1" = "/usr/X11R6/lib/X11/fonts/TrueType"
151 ;"dir2" = "/usr/share/fonts/truetype"
152 ;"dir3" = "/usr/X11R6/lib/X11/fonts/TT"
153 ;"dir4" = "/usr/share/fonts/TT"
154
155 [serialports]
156 "Com1" = "/dev/ttyS0"
157 "Com2" = "/dev/ttyS1"
158 "Com3" = "/dev/ttyS2"
159 "Com4" = "/dev/modem"
160
161 [parallelports]
162 "Lpt1" = "/dev/lp0"
163
164 [ppdev]
165 ;; key:  io-base of the emulated port
166 ;; value : parport-device{,timeout}
167 ;; timeout for auto closing an open device ( not yet implemented)
168 ;"378" = "/dev/parport0"
169 ;"278" = "/dev/parport1"
170 ;"3bc" = "/dev/parport2"
171
172 [spooler]
173 "FILE:" = "tmp.ps"
174 "LPT1:" = "|lpr"
175 "LPT2:" = "|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -"
176 "LPT3:" = "/dev/lp3"
177
178 [ports]
179 ;"read"  = "0x779,0x379,0x280-0x2a0"
180 ;"write" = "0x779,0x379,0x280-0x2a0"
181
182 [Debug]
183 ;"RelayExclude" = "RtlEnterCriticalSection;RtlLeaveCriticalSection"
184 ;"RelayInclude" = "user32.CreateWindowA"
185 ;"RelayFromExclude" = "user32;x11drv"
186 ;"RelayFromInclude" = "sol.exe"
187 ;"SnoopExclude" = "RtlEnterCriticalSection;RtlLeaveCriticalSection"
188 ;"SpyExclude" = "WM_SIZE;WM_TIMER;"
189
190 [registry]
191 ;These are all booleans.  Y/y/T/t/1 are true, N/n/F/f/0 are false.
192 ;Defaults are read all, write to Home
193 ; Where to find the global registries
194 ;"GlobalRegistryDir" = "/etc";
195 ; Global registries (stored in /etc)
196 "LoadGlobalRegistryFiles" = "Y"
197 ; Home registries (stored in ~user/.wine/)
198 "LoadHomeRegistryFiles" = "Y"
199 ; Load Windows registries from the Windows directory
200 "LoadWindowsRegistryFiles" = "Y"
201 ; TRY to write all changes to home registries
202 "WritetoHomeRegistryFiles" = "Y"
203 ; Registry periodic save timeout in seconds
204 ; "PeriodicSave" = "600"
205 ; Save only modified keys
206 "SaveOnlyUpdatedKeys" = "Y"
207
208 [Tweak.Layout]
209 ;; supported styles are 'Win31'(default), 'Win95', 'Win98'
210 ;; this has *nothing* to do with the windows version Wine returns:
211 ;; set the "Windows" value in the [Version] section if you want that.
212 "WineLook" = "Win95"
213
214 [Clipboard]
215 "ClearAllSelections" = "0"
216 "PersistentSelection" = "1"
217 "UsePrimary" = "0"
218
219 ; List of all directories directly contain .AFM files
220 [afmdirs]
221 "1" = "/usr/share/ghostscript/fonts"
222 "2" = "/usr/share/a2ps/afm"
223 "3" = "/usr/share/enscript"
224 "4" = "/usr/X11R6/lib/X11/fonts/Type1"
225
226 [WinMM]
227 ; Uncomment the "Drivers" line matching your sound setting.
228
229 "Drivers" = "wineoss.drv"      ; default for most common configurations
230 ;"Drivers" = "winearts.drv"    ; for KDE
231 ;"Drivers" = "winealsa.drv"    ; for ALSA users
232 ;"Drivers" = "winejack.drv"    ; for Jack sound server
233 ;"Drivers" = "winenas.drv"     ; for NAS sound system
234 ;"Drivers" = "wineaudioio.drv" ; for Solaris machines
235 ;"Drivers" = ""                ; to disable sound
236 "WaveMapper" = "msacm.drv"
237 "MidiMapper" = "midimap.drv"
238
239 [dsound]
240 ;; HEL only: Number of waveOut fragments ahead to mix in new buffers.
241 ;"HELmargin" = "5"
242 ;; HEL only: Number of waveOut fragments ahead to queue to driver.
243 ;"HELqueue" = "5"
244 ;; Max number of fragments to prebuffer
245 ;"SndQueueMax" = "28"
246 ;; Min number of fragments to prebuffer
247 ;"SndQueueMin" = "12"
248 ;; Forces emulation mode (using wave api)
249 ;"HardwareAcceleration" = "Emulation"
250 ;; Sets default playback device (0 - number of devices - 1)
251 ;"DefaultPlayback" = "0"        ; use first device (/dev/dsp)
252 ;"DefaultPlayback" = "1"        ; use second device (/dev/dsp1)
253 ;"DefaultPlayback" = "2"        ; use third device (/dev/dsp2)
254 ;; Sets default capture device (0 - number of devices - 1)
255 ;"DefaultCapture" = "0"         ; use first device (/dev/dsp)
256 ;"DefaultCapture" = "1"         ; use second device (/dev/dsp1)
257 ;"DefaultCapture" = "2"         ; use third device (/dev/dsp2)
258
259 [Network]
260 ;; Use the DNS (Unix) host name always as NetBIOS "ComputerName" (boolean, default "Y").
261 ;; Set to N if you need a persistent NetBIOS ComputerName that possibly differs 
262 ;; from the Unix host name. You'll need to set ComputerName in 
263 ;; HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\ComputerName\ComputerName, too.
264 ;"UseDnsComputerName" = "N"
265
266 ;; sample AppDefaults entries
267
268 ; 3 InstallShield versions who like to put their full screen window in front,
269 ; without any chance to switch to another X11 application.
270 ; So just catch them in a desktop window.
271
272 [AppDefaults\\_INS0432._MP\\x11drv]
273 "Desktop" = "640x480"
274
275 [AppDefaults\\_INS0466._MP\\x11drv]
276 "Desktop" = "640x480"
277
278 [AppDefaults\\_INS0576._MP\\x11drv]
279 "Desktop" = "640x480"
280
281 [AppDefaults\\_INS5176._MP\\x11drv]
282 "Desktop" = "640x480"
283
284 [AppDefaults\\_INS5576._MP\\x11drv]
285 "Desktop" = "640x480"
286
287 ;[AppDefaults\\iexplore.exe\\DllOverrides]
288 ;"shlwapi" = "native"
289 ;"rpcrt4" = "native"
290 ;"ole32" = "native"
291 ;"shdocvw" = "native"
292 ;"wininet" = "native"
293 ;"shfolder" = "native"
294 ;"shell32" = "native"
295 ;"shell" = "native"
296 ;"comctl32" = "native"
297 ;
298 ;[AppDefaults\\setup.exe\\x11drv]
299 ;"Desktop" = "800x600"
300 ;
301 ;[AppDefaults\\sol.exe\\Version]
302 ;"Windows" = "nt40"
303 ;
304 ;; Some games (Quake 2, UT) refuse to accept emulated dsound devices.
305 ;; You can add an AppDefault entry like this for such cases.
306 ;[AppDefaults\\pickygame.exe\\dsound]
307 ;"EmulDriver" = "N"
308
309 # [/wineconf]