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