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