Fixed some issues found by winapi_check.
[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 ;; "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.
19 ;;   Recommended:
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)
24 ;;
25 [Drive A]
26 "Path" = "/mnt/fd0"
27 "Type" = "floppy"
28 "Label" = "Floppy"
29 "Filesystem" = "win95"
30 "Serial" = "87654321"
31 "Device" = "/dev/fd0"
32
33 [Drive C]
34 "Path" = "/c"
35 "Type" = "hd"
36 "Label" = "MS-DOS"
37 "Filesystem" = "win95"
38
39 [Drive D]
40 "Path" = "/cdrom"
41 "Type" = "cdrom"
42 "Label" = "CD-Rom"
43 "Filesystem" = "win95"
44 ; make sure that device is correct and has proper permissions !
45 "Device" = "/dev/cdrom"
46
47 [Drive E]
48 "Path" = "/tmp"
49 "Type" = "hd"
50 "Label" = "Tmp Drive"
51 "Filesystem" = "win95"
52
53 [Drive F]
54 "Path" = "${HOME}"
55 "Type" = "network"
56 "Label" = "Home"
57 "Filesystem" = "win95"
58
59 [wine]
60 "Windows" = "c:\\windows"
61 "System" = "c:\\windows\\system"
62 "Temp" = "e:\\"
63 "Path" = "c:\\windows;c:\\windows\\system;e:\\;e:\\test;f:\\"
64 "Profile" = "c:\\windows\\Profiles\\Administrator"
65 "GraphicsDriver" = "x11drv"
66 ;"ShowDirSymlinks" = "1"
67 ;"ShowDotFiles" = "1"
68 "ShellLinker" = "wineshelllink"
69
70 # <wineconf>
71
72 [Version]
73 ; Windows version to imitate (win95,win98,winme,nt351,nt40,win2k,winxp,win20,win30,win31)" },
74 ;"Windows" = "win98"
75 ; DOS version to imitate
76 ;"DOS" = "6.22"
77
78 ; Be careful here, wrong DllOverrides settings have the potential
79 ; to pretty much kill your setup.
80 [DllOverrides]
81 "rpcrt4"       = "builtin, native"
82 "oleaut32"     = "builtin, native"
83 "ole32"        = "builtin, native"
84 "commdlg"      = "builtin, native"
85 "comdlg32"     = "builtin, native"
86 "ver"          = "builtin, native"
87 "version"      = "builtin, native"
88 "shell"        = "builtin, native"
89 "shell32"      = "builtin, native"
90 "shfolder"     = "builtin, native"
91 "shlwapi"      = "builtin, native"
92 "shdocvw"      = "builtin, native"
93 "lzexpand"     = "builtin, native"
94 "lz32"         = "builtin, native"
95 "comctl32"     = "builtin, native"
96 "commctrl"     = "builtin, native"
97 "advapi32"     = "builtin, native"
98 "crtdll"       = "builtin, native"
99 "mpr"          = "builtin, native"
100 "winspool.drv" = "builtin, native"
101 "ddraw"        = "builtin, native"
102 "dinput"       = "builtin, native"
103 "dsound"       = "builtin, native"
104 "opengl32"     = "builtin, native"
105 "msvcrt"       = "native, builtin"
106 "msvideo"      = "builtin, native"
107 "msvfw32"      = "builtin, native"
108 "mcicda.drv"   = "builtin, native"
109 "mciseq.drv"   = "builtin, native"
110 "mciwave.drv"  = "builtin, native"
111 "mciavi.drv"   = "native, builtin"
112 "mcianim.drv"  = "native, builtin"
113 "msacm.drv"    = "builtin, native"
114 "msacm"        = "builtin, native"
115 "msacm32"      = "builtin, native"
116 "midimap.drv"  = "builtin, native"
117 ; you can specify applications too
118 "notepad.exe"  = "native, builtin"
119 ; default for all other dlls
120 "*" = "native, builtin"
121
122 [x11drv]
123 ; Number of colors to allocate from the system palette
124 "AllocSystemColors" = "100"
125 ; Use a private color map
126 "PrivateColorMap" = "N"
127 ; Favor correctness over speed in some graphics operations
128 "PerfectGraphics" = "N"
129 ; Color depth to use on multi-depth screens
130 ;;"ScreenDepth" = "16"
131 ; Name of X11 display to use
132 ;;"Display" = ":0.0"
133 ; Allow the window manager to manage created windows
134 "Managed" = "Y"
135 ; Use a desktop window of 640x480 for Wine
136 ;"Desktop" = "640x480"
137 ; Use XFree86 DGA extension if present
138 ; (make sure /dev/mem is accessible by you !)
139 "UseDGA" = "Y"
140 ; Use XShm extension if present
141 "UseXShm" = "Y"
142 ; Use XVidMode extension if present
143 "UseXVidMode" = "Y"
144 ; Use the take focus protocol
145 "UseTakeFocus" = "Y"
146 ; Enable DirectX mouse grab
147 "DXGrab" = "N"
148 ; Create the desktop window with a double-buffered visual
149 ; (useful to play OpenGL games)
150 "DesktopDoubleBuffered" = "N"
151 ; Code page used for captions in managed mode
152 ; 0 means default ANSI code page (CP_ACP == 0)
153 "TextCP" = "0"
154 ; Use this if you have more than one port for video on your setup
155 ; (Wine uses for now the first 'input image' it finds).
156 ;; "XVideoPort" = "43"
157 ; Run in synchronous mode (useful for debugging X11 problems)
158 ;;"Synchronous" = "Y"
159
160 [fonts]
161 ;Read the Fonts topic in the Wine User Guide before adding aliases
162 ;See a couple of examples for russian users below
163 "Resolution" = "96"
164 "Default" = "-adobe-helvetica-"
165 "DefaultFixed" = "fixed"
166 "DefaultSerif" = "-adobe-times-"
167 "DefaultSansSerif" = "-adobe-helvetica-"
168
169 ;; default TrueType fonts with russian koi8-r encoding
170 ;"Default" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
171 ;"DefaultFixed" = "-monotype-courier new-*-*-*--*-*-*-*-*-*-koi8-r"
172 ;"DefaultSerif" = "-monotype-times new roman-*-*-*--*-*-*-*-*-*-koi8-r"
173 ;"DefaultSansSerif" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
174 ;; default cyrillic bitmap X fonts
175 ;"Default" = "-cronyx-helvetica-"
176 ;"DefaultFixed" = "fixed"
177 ;"DefaultSerif" = "-cronyx-times-"
178 ;"DefaultSansSerif" = "-cronyx-helvetica-"
179
180 ; the TrueType font dirs you want to make accessible to wine
181 [FontDirs]
182 ;"dir1" = "/usr/X11R6/lib/X11/fonts/TrueType"
183 ;"dir2" = "/usr/share/fonts/truetype"
184 ;"dir3" = "/usr/X11R6/lib/X11/fonts/TT"
185 ;"dir4" = "/usr/share/fonts/TT"
186
187 [serialports]
188 "Com1" = "/dev/ttyS0"
189 "Com2" = "/dev/ttyS1"
190 "Com3" = "/dev/ttyS2"
191 "Com4" = "/dev/modem"
192
193 [parallelports]
194 "Lpt1" = "/dev/lp0"
195
196 [ppdev]
197 ;; key:  io-base of the emulated port
198 ;; value : parport-device{,timeout}
199 ;; timeout for auto closing an open device ( not yet implemented)
200 ;"378" = "/dev/parport0"
201 ;"278" = "/dev/parport1"
202 ;"3bc" = "/dev/parport2"
203
204 [spooler]
205 "FILE:" = "tmp.ps"
206 "LPT1:" = "|lpr"
207 "LPT2:" = "|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -"
208 "LPT3:" = "/dev/lp3"
209
210 [ports]
211 ;"read"  = "0x779,0x379,0x280-0x2a0"
212 ;"write" = "0x779,0x379,0x280-0x2a0"
213
214 [Debug]
215 ;"RelayExclude" = "RtlEnterCriticalSection;RtlLeaveCriticalSection"
216 ;"RelayInclude" = "user32.CreateWindowA"
217 ;"SnoopExclude" = "RtlEnterCriticalSection;RtlLeaveCriticalSection"
218 ;"SpyExclude" = "WM_SIZE;WM_TIMER;"
219
220 [registry]
221 ;These are all booleans.  Y/y/T/t/1 are true, N/n/F/f/0 are false.
222 ;Defaults are read all, write to Home
223 ; Where to find the global registries
224 ;"GlobalRegistryDir" = "/etc";
225 ; Global registries (stored in /etc)
226 "LoadGlobalRegistryFiles" = "Y"
227 ; Home registries (stored in ~user/.wine/)
228 "LoadHomeRegistryFiles" = "Y"
229 ; Load Windows registries from the Windows directory
230 "LoadWindowsRegistryFiles" = "Y"
231 ; TRY to write all changes to home registries
232 "WritetoHomeRegistryFiles" = "Y"
233 ; Registry periodic save timeout in seconds
234 ; "PeriodicSave" = "600"
235 ; Save only modified keys
236 "SaveOnlyUpdatedKeys" = "Y"
237
238 [Tweak.Layout]
239 ;; supported styles are 'Win31'(default), 'Win95', 'Win98'
240 ;; this has *nothing* to do with the windows version Wine returns:
241 ;; set the "Windows" value in the [Version] section if you want that.
242 "WineLook" = "Win95"
243
244 [Console]
245 ;"Drivers" = "tty"
246 ;"XtermProg" = "nxterm"
247 ;"InitialRows" = "25"
248 ;"InitialColumns" = "80"
249 ;"TerminalType" = "nxterm"
250
251 [Clipboard]
252 "ClearAllSelections" = "0"
253 "PersistentSelection" = "1"
254
255 ; List of all directories directly contain .AFM files
256 [afmdirs]
257 "1" = "/usr/share/ghostscript/fonts"
258 "2" = "/usr/share/a2ps/afm"
259 "3" = "/usr/share/enscript"
260 "4" = "/usr/X11R6/lib/X11/fonts/Type1"
261
262 [WinMM]
263 "Drivers" = "wineoss.drv"
264 #"Drivers" = "winearts.drv"
265 "WaveMapper" = "msacm.drv"
266 "MidiMapper" = "midimap.drv"
267
268 [dsound]
269 ;; HEL only: Number of waveOut fragments ahead to mix in new buffers.
270 ;"HELmargin" = "5"
271 ;; HEL only: Number of waveOut fragments ahead to queue to driver.
272 ;"HELqueue" = "5"
273 ;; Max number of fragments to prebuffer
274 ;"SndQueueMax" = "28"
275 ;; Min number of fragments to prebuffer
276 ;"SndQueueMin" = "12"
277
278 ;; sample AppDefaults entries
279 ;[AppDefaults\\iexplore.exe\\DllOverrides]
280 ;"shlwapi" = "native"
281 ;"rpcrt4" = "native"
282 ;"ole32" = "native"
283 ;"shdocvw" = "native"
284 ;"wininet" = "native"
285 ;"shfolder" = "native"
286 ;"shell32" = "native"
287 ;"shell" = "native"
288 ;"comctl32" = "native"
289 ;
290 ;[AppDefaults\\setup.exe\\x11drv]
291 ;"Desktop" = "800x600"
292 ;
293 ;[AppDefaults\\sol.exe\\Version]
294 ;"Windows" = "nt40"
295 ;
296 ;; Some games (Quake 2, UT) refuse to accept emulated dsound devices.
297 ;; You can add an AppDefault entry like this for such cases.
298 ;[AppDefaults\\pickygame.exe\\dsound]
299 ;"EmulDriver" = "N"
300
301 # </wineconf>