- fix wrong hexadecimal GetLastError() output
[wine] / documentation / samples / config
1 WINE REGISTRY Version 2
2 ;; All keys relative to \\Machine\\Software\\Wine\\Wine\\Config
3
4 ;;
5 ;; MS-DOS drives configuration
6 ;;
7 ;; Each section has the following format:
8 ;; [Drive X]
9 ;; "Path"="xxx"       (Unix path for drive root)
10 ;; "Type"="xxx"       (supported types are 'floppy', 'hd', 'cdrom' and 'network')
11 ;; "Label"="xxx"      (drive label, at most 11 characters)
12 ;; "Serial"="xxx"     (serial number, 8 characters hexadecimal number)
13 ;; "Filesystem"="xxx" (supported types are 'msdos'/'dos'/'fat', 'win95'/'vfat', 'unix')
14 ;;   This is the FS Wine is supposed to emulate on a certain
15 ;;   directory structure.
16 ;;   Recommended:
17 ;;   - "win95" for ext2fs, VFAT and FAT32
18 ;;   - "msdos" for FAT16 (ugly, upgrading to VFAT driver strongly recommended)
19 ;;   DON'T use "unix" unless you intend to port programs using Winelib !
20 ;; "Device"="/dev/xx" (only if you want to allow raw device access)
21 ;;
22 [Drive A]
23 "Path" = "/mnt/fd0"
24 "Type" = "floppy"
25 "Label" = "Floppy"
26 "Serial" = "87654321"
27 "Device" = "/dev/fd0"
28
29 [Drive C]
30 "Path" = "/c"
31 "Type" = "hd"
32 "Label" = "MS-DOS"
33 "Filesystem" = "win95"
34
35 [Drive D]
36 "Path" = "/cdrom"
37 "Type" = "cdrom"
38 "Label" = "CD-Rom"
39 "Filesystem" = "win95"
40 ; make sure that device is correct and has proper permissions !
41 "Device" = "/dev/cdrom"
42
43 [Drive E]
44 "Path" = "/tmp"
45 "Type" = "hd"
46 "Label" = "Tmp Drive"
47 "Filesystem" = "win95"
48
49 [Drive F]
50 "Path" = "${HOME}"
51 "Type" = "network"
52 "Label" = "Home"
53 "Filesystem" = "win95"
54
55 [wine]
56 "Windows" = "c:\\windows"
57 "System" = "c:\\windows\\system"
58 "Temp" = "e:\\"
59 "Path" = "c:\\windows;c:\\windows\\system;e:\\;e:\\test;f:\\"
60 "Profile" = "c:\\windows\\Profiles\\Administrator"
61 "GraphicsDriver" = "x11drv"
62 ; Wine doesn't pass directory symlinks to Windows programs by default.
63 ; Enabling this may crash some programs that do recursive lookups of a whole
64 ; subdir tree in case of a symlink pointing back to itself.
65 ;"ShowDirSymlinks" = "1"
66 "ShellLinker" = "wineshelllink"
67
68 # <wineconf>
69
70 ; Be careful here, wrong DllOverrides settings have the potential
71 ; to pretty much kill your setup.
72 [DllOverrides]
73 "commdlg"      = "builtin, native"
74 "comdlg32"     = "builtin, native"
75 "ver"          = "builtin, native"
76 "version"      = "builtin, native"
77 "shell"        = "builtin, native"
78 "shell32"      = "builtin, native"
79 "shfolder"     = "builtin, native"
80 "shlwapi"      = "builtin, native"
81 "lzexpand"     = "builtin, native"
82 "lz32"         = "builtin, native"
83 "comctl32"     = "builtin, native"
84 "commctrl"     = "builtin, native"
85 "advapi32"     = "builtin, native"
86 "crtdll"       = "builtin, native"
87 "mpr"          = "builtin, native"
88 "winspool.drv" = "builtin, native"
89 "ddraw"        = "builtin, native"
90 "dinput"       = "builtin, native"
91 "dsound"       = "builtin, native"
92 "opengl32"     = "builtin, native"
93 "msvcrt"       = "native, builtin"
94 "rpcrt4"       = "native, builtin"
95 "msvideo"      = "builtin, native"
96 "msvfw32"      = "builtin, native"
97 "mcicda.drv"   = "builtin, native"
98 "mciseq.drv"   = "builtin, native"
99 "mciwave.drv"  = "builtin, native"
100 "mciavi.drv"   = "native, builtin"
101 "mcianim.drv"  = "native, builtin"
102 "msacm.drv"    = "builtin, native"
103 "msacm"        = "builtin, native"
104 "msacm32"      = "builtin, native"
105 "midimap.drv"  = "builtin, native"
106 ; default for all other dlls
107 "*" = "native, builtin, so"
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" = "N"
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 ; Enable DirectX mouse grab
132 "DXGrab" = "N"
133 ; Create the desktop window with a double-buffered visual
134 ; (useful to play OpenGL games)
135 "DesktopDoubleBuffered" = "N"
136 ; Code page used for captions in managed mode
137 ; 0 means default ANSI code page (CP_ACP == 0)
138 "TextCP" = "0"
139 ; Use this if you have more than one port for video on your setup 
140 ; (Wine uses for now the first 'input image' it finds).
141 ;; "XVideoPort" = "43"
142 ; Run in synchronous mode (useful for debugging X11 problems)
143 ;;"Synchronous" = "Y"
144
145 [fonts]
146 ;Read documentation/fonts before adding aliases
147 ;See a couple of examples for russian users below
148 "Resolution" = "96"
149 "Default" = "-adobe-helvetica-"
150 "DefaultFixed" = "fixed"
151 "DefaultSerif" = "-adobe-times-"
152 "DefaultSansSerif" = "-adobe-helvetica-"
153
154 ;; default TrueType fonts with russian koi8-r encoding
155 ;"Default" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
156 ;"DefaultFixed" = "-monotype-courier new-*-*-*--*-*-*-*-*-*-koi8-r"
157 ;"DefaultSerif" = "-monotype-times new roman-*-*-*--*-*-*-*-*-*-koi8-r"
158 ;"DefaultSansSerif" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
159 ;; default cyrillic bitmap X fonts
160 ;"Default" = "-cronyx-helvetica-"
161 ;"DefaultFixed" = "fixed"
162 ;"DefaultSerif" = "-cronyx-times-"
163 ;"DefaultSansSerif" = "-cronyx-helvetica-"
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 [spy]
193 "Exclude" = "WM_SIZE;WM_TIMER;"
194
195 [registry]
196 ;These are all booleans.  Y/y/T/t/1 are true, N/n/F/f/0 are false.
197 ;Defaults are read all, write to Home
198 ; Global registries (stored in /etc)
199 "LoadGlobalRegistryFiles" = "Y"
200 ; Home registries (stored in ~user/.wine/)
201 "LoadHomeRegistryFiles" = "Y"
202 ; Load Windows registries from the Windows directory
203 "LoadWindowsRegistryFiles" = "Y"
204 ; TRY to write all changes to home registries
205 "WritetoHomeRegistryFiles" = "Y"
206 ; Registry periodic save timeout in seconds
207 ; "PeriodicSave" = "600"
208 ; Save only modified keys
209 "SaveOnlyUpdatedKeys" = "Y"
210
211 [Tweak.Layout]
212 ;; supported styles are 'Win31'(default), 'Win95', 'Win98'
213 ;; this has *nothing* to do with the windows version Wine returns:
214 ;; use cmdline option --winver if you want that.
215 "WineLook" = "Win95"
216
217 [Console]
218 ;"Drivers" = "tty"
219 ;"XtermProg" = "nxterm"
220 ;"InitialRows" = "25"
221 ;"InitialColumns" = "80"
222 ;"TerminalType" = "nxterm"
223
224 [Clipboard]
225 "ClearAllSelections" = "0"
226 "PersistentSelection" = "1"
227
228 ; List of all directories directly contain .AFM files
229 [afmdirs]
230 "1" = "/usr/share/ghostscript/fonts"
231 "2" = "/usr/share/a2ps/afm"
232 "3" = "/usr/share/enscript"
233 "4" = "/usr/X11R6/lib/X11/fonts/Type1"
234
235 [WinMM]
236 "Drivers" = "wineoss.drv"
237 "WaveMapper" = "msacm.drv"
238 "MidiMapper" = "midimap.drv"
239
240 # </wineconf>