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