Prevent some segfaults in msrle32.
[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 ; some dlls you may want to change
82 "oleaut32"     = "builtin, native"
83 "ole32"        = "builtin, native"
84 "commdlg"      = "builtin, native"
85 "comdlg32"     = "builtin, native"
86 "shell"        = "builtin, native"
87 "shell32"      = "builtin, native"
88 "shfolder"     = "builtin, native"
89 "shlwapi"      = "builtin, native"
90 "shdocvw"      = "builtin, native"
91 "advapi32"     = "builtin, native"
92 "msvcrt"       = "native, builtin"
93 "mciavi.drv"   = "native, builtin"
94 "mcianim.drv"  = "native, builtin"
95 ; you can specify applications too
96 "notepad.exe"  = "native, builtin"
97 ; default for all other dlls
98 "*" = "builtin, native"
99
100 [x11drv]
101 ; Number of colors to allocate from the system palette
102 "AllocSystemColors" = "100"
103 ; Use a private color map
104 "PrivateColorMap" = "N"
105 ; Favor correctness over speed in some graphics operations
106 "PerfectGraphics" = "N"
107 ; Color depth to use on multi-depth screens
108 ;;"ScreenDepth" = "16"
109 ; Name of X11 display to use
110 ;;"Display" = ":0.0"
111 ; Allow the window manager to manage created windows
112 "Managed" = "Y"
113 ; Use a desktop window of 640x480 for Wine
114 ;"Desktop" = "640x480"
115 ; Use XFree86 DGA extension if present
116 ; (make sure /dev/mem is accessible by you !)
117 "UseDGA" = "Y"
118 ; Use XShm extension if present
119 "UseXShm" = "Y"
120 ; Use XVidMode extension if present
121 "UseXVidMode" = "Y"
122 ; Use the take focus protocol
123 "UseTakeFocus" = "Y"
124 ; Enable DirectX mouse grab
125 "DXGrab" = "N"
126 ; Create the desktop window with a double-buffered visual
127 ; (useful to play OpenGL games)
128 "DesktopDoubleBuffered" = "N"
129 ; Code page used for captions in managed mode
130 ; 0 means default ANSI code page (CP_ACP == 0)
131 "TextCP" = "0"
132 ; Use this if you have more than one port for video on your setup
133 ; (Wine uses for now the first 'input image' it finds).
134 ;; "XVideoPort" = "43"
135 ; Run in synchronous mode (useful for debugging X11 problems)
136 ;;"Synchronous" = "Y"
137
138 [fonts]
139 ;Read the Fonts topic in the Wine User Guide before adding aliases
140 ;See a couple of examples for russian users below
141 "Resolution" = "96"
142 "Default" = "-adobe-helvetica-"
143 "DefaultFixed" = "fixed"
144 "DefaultSerif" = "-adobe-times-"
145 "DefaultSansSerif" = "-adobe-helvetica-"
146
147 ;; default TrueType fonts with russian koi8-r encoding
148 ;"Default" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
149 ;"DefaultFixed" = "-monotype-courier new-*-*-*--*-*-*-*-*-*-koi8-r"
150 ;"DefaultSerif" = "-monotype-times new roman-*-*-*--*-*-*-*-*-*-koi8-r"
151 ;"DefaultSansSerif" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
152 ;; default cyrillic bitmap X fonts
153 ;"Default" = "-cronyx-helvetica-"
154 ;"DefaultFixed" = "fixed"
155 ;"DefaultSerif" = "-cronyx-times-"
156 ;"DefaultSansSerif" = "-cronyx-helvetica-"
157
158 ; the TrueType font dirs you want to make accessible to wine
159 [FontDirs]
160 ;"dir1" = "/usr/X11R6/lib/X11/fonts/TrueType"
161 ;"dir2" = "/usr/share/fonts/truetype"
162 ;"dir3" = "/usr/X11R6/lib/X11/fonts/TT"
163 ;"dir4" = "/usr/share/fonts/TT"
164
165 [serialports]
166 "Com1" = "/dev/ttyS0"
167 "Com2" = "/dev/ttyS1"
168 "Com3" = "/dev/ttyS2"
169 "Com4" = "/dev/modem"
170
171 [parallelports]
172 "Lpt1" = "/dev/lp0"
173
174 [ppdev]
175 ;; key:  io-base of the emulated port
176 ;; value : parport-device{,timeout}
177 ;; timeout for auto closing an open device ( not yet implemented)
178 ;"378" = "/dev/parport0"
179 ;"278" = "/dev/parport1"
180 ;"3bc" = "/dev/parport2"
181
182 [spooler]
183 "FILE:" = "tmp.ps"
184 "LPT1:" = "|lpr"
185 "LPT2:" = "|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -"
186 "LPT3:" = "/dev/lp3"
187
188 [ports]
189 ;"read"  = "0x779,0x379,0x280-0x2a0"
190 ;"write" = "0x779,0x379,0x280-0x2a0"
191
192 [Debug]
193 ;"RelayExclude" = "RtlEnterCriticalSection;RtlLeaveCriticalSection"
194 ;"RelayInclude" = "user32.CreateWindowA"
195 ;"SnoopExclude" = "RtlEnterCriticalSection;RtlLeaveCriticalSection"
196 ;"SpyExclude" = "WM_SIZE;WM_TIMER;"
197
198 [registry]
199 ;These are all booleans.  Y/y/T/t/1 are true, N/n/F/f/0 are false.
200 ;Defaults are read all, write to Home
201 ; Where to find the global registries
202 ;"GlobalRegistryDir" = "/etc";
203 ; Global registries (stored in /etc)
204 "LoadGlobalRegistryFiles" = "Y"
205 ; Home registries (stored in ~user/.wine/)
206 "LoadHomeRegistryFiles" = "Y"
207 ; Load Windows registries from the Windows directory
208 "LoadWindowsRegistryFiles" = "Y"
209 ; TRY to write all changes to home registries
210 "WritetoHomeRegistryFiles" = "Y"
211 ; Registry periodic save timeout in seconds
212 ; "PeriodicSave" = "600"
213 ; Save only modified keys
214 "SaveOnlyUpdatedKeys" = "Y"
215
216 [Tweak.Layout]
217 ;; supported styles are 'Win31'(default), 'Win95', 'Win98'
218 ;; this has *nothing* to do with the windows version Wine returns:
219 ;; set the "Windows" value in the [Version] section if you want that.
220 "WineLook" = "Win95"
221
222 [Console]
223 ;"Drivers" = "tty"
224 ;"XtermProg" = "nxterm"
225 ;"InitialRows" = "25"
226 ;"InitialColumns" = "80"
227 ;"TerminalType" = "nxterm"
228
229 [Clipboard]
230 "ClearAllSelections" = "0"
231 "PersistentSelection" = "1"
232
233 ; List of all directories directly contain .AFM files
234 [afmdirs]
235 "1" = "/usr/share/ghostscript/fonts"
236 "2" = "/usr/share/a2ps/afm"
237 "3" = "/usr/share/enscript"
238 "4" = "/usr/X11R6/lib/X11/fonts/Type1"
239
240 [WinMM]
241 "Drivers" = "wineoss.drv"
242 #"Drivers" = "winearts.drv"
243 "WaveMapper" = "msacm.drv"
244 "MidiMapper" = "midimap.drv"
245
246 [dsound]
247 ;; HEL only: Number of waveOut fragments ahead to mix in new buffers.
248 ;"HELmargin" = "5"
249 ;; HEL only: Number of waveOut fragments ahead to queue to driver.
250 ;"HELqueue" = "5"
251 ;; Max number of fragments to prebuffer
252 ;"SndQueueMax" = "28"
253 ;; Min number of fragments to prebuffer
254 ;"SndQueueMin" = "12"
255
256 ;; sample AppDefaults entries
257 ;[AppDefaults\\iexplore.exe\\DllOverrides]
258 ;"shlwapi" = "native"
259 ;"rpcrt4" = "native"
260 ;"ole32" = "native"
261 ;"shdocvw" = "native"
262 ;"wininet" = "native"
263 ;"shfolder" = "native"
264 ;"shell32" = "native"
265 ;"shell" = "native"
266 ;"comctl32" = "native"
267 ;
268 ;[AppDefaults\\setup.exe\\x11drv]
269 ;"Desktop" = "800x600"
270 ;
271 ;[AppDefaults\\sol.exe\\Version]
272 ;"Windows" = "nt40"
273 ;
274 ;; Some games (Quake 2, UT) refuse to accept emulated dsound devices.
275 ;; You can add an AppDefault entry like this for such cases.
276 ;[AppDefaults\\pickygame.exe\\dsound]
277 ;"EmulDriver" = "N"
278
279 # </wineconf>