Define COBJMACROS. Fixes compilation on Windows.
[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 [wine]
9 "Windows" = "c:\\windows"
10 "System" = "c:\\windows\\system"
11 "Temp" = "e:\\"
12 "Path" = "c:\\windows;c:\\windows\\system;e:\\;e:\\test;f:\\"
13 "Profile" = "c:\\windows\\Profiles\\Administrator"
14 "GraphicsDriver" = "x11drv"
15 ;"ShowDirSymlinks" = "1"
16 ;"ShowDotFiles" = "1"
17
18 # [wineconf]
19
20 [Version]
21 ; Windows version to imitate (win95,win98,winme,nt351,nt40,win2k,winxp,win2k3,win20,win30,win31)
22 ;"Windows" = "win98"
23 ; DOS version to imitate
24 ;"DOS" = "6.22"
25
26 ; Be careful here, wrong DllOverrides settings have the potential
27 ; to pretty much kill your setup.
28 [DllOverrides]
29 ; some dlls you may want to change
30 "oleaut32"     = "builtin, native"
31 "ole32"        = "builtin, native"
32 "comdlg32"     = "builtin, native"
33 "shell32"      = "builtin, native"
34 "shfolder"     = "builtin, native"
35 "shlwapi"      = "builtin, native"
36 "shdocvw"      = "builtin, native"
37 "advapi32"     = "builtin, native"
38 "msvcrt"       = "native, builtin"
39 "mciavi.drv"   = "native, builtin"
40 "mcianim.drv"  = "native, builtin"
41 "d3drm"        = "native, builtin"
42 "d3dxof"       = "native, builtin"
43 "dpnhpast"     = "native, builtin"
44 ; you can specify applications too
45 ; this one will apply for all notepad.exe
46 ;"*notepad.exe" = "native, builtin"
47 ; this one will apply only for a particular file
48 ;"C:\\windows\\regedit.exe" = "native, builtin"
49 ; default for all other dlls
50 "*" = "builtin, native"
51
52 [x11drv]
53 ; Number of colors to allocate from the system palette
54 "AllocSystemColors" = "100"
55 ; Use a private color map
56 "PrivateColorMap" = "N"
57 ; Favor correctness over speed in some graphics operations
58 "PerfectGraphics" = "N"
59 ; Color depth to use on multi-depth screens
60 ;;"ScreenDepth" = "16"
61 ; Allow the window manager to manage created windows
62 "Managed" = "Y"
63 ; Use a desktop window of 640x480 for Wine
64 ;"Desktop" = "640x480"
65 ; Use XFree86 DGA extension if present
66 ; (make sure /dev/mem is accessible by you !)
67 "UseDGA" = "Y"
68 ; Use XVidMode extension if present
69 "UseXVidMode" = "Y"
70 ; Use XRandR extension if present
71 "UseXRandR" = "Y"
72 ; Use the take focus protocol
73 "UseTakeFocus" = "Y"
74 ; Enable DirectX mouse grab
75 "DXGrab" = "N"
76 ; Create the desktop window with a double-buffered visual
77 ; (useful to play OpenGL games)
78 "DesktopDoubleBuffered" = "N"
79 ; Run in synchronous mode (useful for debugging X11 problems)
80 ;;"Synchronous" = "Y"
81 ;
82 ; Use the Render extension to render client side fonts (default "Y")
83 ;;"ClientSideWithRender" = "Y"
84 ; Fallback on X core requests to render client side fonts (default "Y")
85 ;;"ClientSideWithCore" = "Y"
86 ; Set both of the previous two to "N" in order to force X11 server side fonts
87 ;
88 ; Anti-alias fonts if using the Render extension (default "Y")
89 ;;"ClientSideAntiAliasWithRender" = "Y"
90 ; Anti-alias fonts if using core requests fallback (default "Y")
91 ;;"ClientSideAntiAliasWithCore" = "Y"
92 ;
93
94 [fonts]
95 ;Read the Fonts topic in the Wine User Guide before adding aliases
96 ;See a couple of examples for russian users below
97 "Resolution" = "96"
98 "Default" = "-adobe-helvetica-"
99 "DefaultFixed" = "fixed"
100 "DefaultSerif" = "-adobe-times-"
101 "DefaultSansSerif" = "-adobe-helvetica-"
102
103 ;; default TrueType fonts with russian koi8-r encoding
104 ;"Default" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
105 ;"DefaultFixed" = "-monotype-courier new-*-*-*--*-*-*-*-*-*-koi8-r"
106 ;"DefaultSerif" = "-monotype-times new roman-*-*-*--*-*-*-*-*-*-koi8-r"
107 ;"DefaultSansSerif" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
108 ;; default cyrillic bitmap X fonts
109 ;"Default" = "-cronyx-helvetica-"
110 ;"DefaultFixed" = "fixed"
111 ;"DefaultSerif" = "-cronyx-times-"
112 ;"DefaultSansSerif" = "-cronyx-helvetica-"
113
114 ; the TrueType font dirs you want to make accessible to wine
115 [FontDirs]
116 ;"dir1" = "/usr/X11R6/lib/X11/fonts/TrueType"
117 ;"dir2" = "/usr/share/fonts/truetype"
118 ;"dir3" = "/usr/X11R6/lib/X11/fonts/TT"
119 ;"dir4" = "/usr/share/fonts/TT"
120
121 [ppdev]
122 ;; key:  io-base of the emulated port
123 ;; value : parport-device{,timeout}
124 ;; timeout for auto closing an open device ( not yet implemented)
125 ;"378" = "/dev/parport0"
126 ;"278" = "/dev/parport1"
127 ;"3bc" = "/dev/parport2"
128
129 [spooler]
130 "FILE:" = "tmp.ps"
131 "LPT1:" = "|lpr"
132 "LPT2:" = "|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -"
133 "LPT3:" = "/dev/lp3"
134
135 [ports]
136 ;"read"  = "0x779,0x379,0x280-0x2a0"
137 ;"write" = "0x779,0x379,0x280-0x2a0"
138
139 [Debug]
140 ;"RelayExclude" = "RtlEnterCriticalSection;RtlLeaveCriticalSection"
141 ;"RelayInclude" = "user32.CreateWindowA"
142 ;"RelayFromExclude" = "user32;x11drv"
143 ;"RelayFromInclude" = "sol.exe"
144 ;"SnoopExclude" = "RtlEnterCriticalSection;RtlLeaveCriticalSection"
145 ;"SpyExclude" = "WM_SIZE;WM_TIMER;"
146
147 [registry]
148 ;These are all booleans.  Y/y/T/t/1 are true, N/n/F/f/0 are false.
149 ;Defaults are read all, write to Home
150 ; Where to find the global registries
151 ;"GlobalRegistryDir" = "/etc";
152 ; Global registries (stored in /etc)
153 "LoadGlobalRegistryFiles" = "Y"
154 ; Load Windows registries from the Windows directory
155 "LoadWindowsRegistryFiles" = "Y"
156 ; Registry periodic save timeout in seconds
157 ; "PeriodicSave" = "600"
158 ; Save only modified keys
159 "SaveOnlyUpdatedKeys" = "Y"
160
161 [Clipboard]
162 "ClearAllSelections" = "0"
163 "PersistentSelection" = "1"
164 "UsePrimary" = "0"
165
166 ; List of all directories directly contain .AFM files
167 [afmdirs]
168 "1" = "/usr/share/ghostscript/fonts"
169 "2" = "/usr/share/a2ps/afm"
170 "3" = "/usr/share/enscript"
171 "4" = "/usr/X11R6/lib/X11/fonts/Type1"
172
173 [WinMM]
174 ; Uncomment the "Drivers" line matching your sound setting.
175
176 "Drivers" = "wineoss.drv"      ; default for most common configurations
177 ;"Drivers" = "winearts.drv"    ; for KDE
178 ;"Drivers" = "winealsa.drv"    ; for ALSA users
179 ;"Drivers" = "winejack.drv"    ; for Jack sound server
180 ;"Drivers" = "winenas.drv"     ; for NAS sound system
181 ;"Drivers" = "wineaudioio.drv" ; for Solaris machines
182 ;"Drivers" = ""                ; to disable sound
183 "WaveMapper" = "msacm.drv"
184 "MidiMapper" = "midimap.drv"
185
186 [dsound]
187 ;; HEL only: Number of waveOut fragments ahead to mix in new buffers.
188 ;"HELmargin" = "5"
189 ;; HEL only: Number of waveOut fragments ahead to queue to driver.
190 ;"HELqueue" = "5"
191 ;; Max number of fragments to prebuffer
192 ;"SndQueueMax" = "28"
193 ;; Min number of fragments to prebuffer
194 ;"SndQueueMin" = "12"
195 ;; Forces emulation mode (using wave api)
196 ;"HardwareAcceleration" = "Emulation"
197 ;; Sets default playback device (0 - number of devices - 1)
198 ;"DefaultPlayback" = "0"        ; use first device (/dev/dsp)
199 ;"DefaultPlayback" = "1"        ; use second device (/dev/dsp1)
200 ;"DefaultPlayback" = "2"        ; use third device (/dev/dsp2)
201 ;; Sets default capture device (0 - number of devices - 1)
202 ;"DefaultCapture" = "0"         ; use first device (/dev/dsp)
203 ;"DefaultCapture" = "1"         ; use second device (/dev/dsp1)
204 ;"DefaultCapture" = "2"         ; use third device (/dev/dsp2)
205
206 [Network]
207 ;; Use the DNS (Unix) host name always as NetBIOS "ComputerName" (boolean, default "Y").
208 ;; Set to N if you need a persistent NetBIOS ComputerName that possibly differs 
209 ;; from the Unix host name. You'll need to set ComputerName in 
210 ;; HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\ComputerName\ComputerName, too.
211 ;"UseDnsComputerName" = "N"
212
213 ;; sample AppDefaults entries
214
215 ; 3 InstallShield versions who like to put their full screen window in front,
216 ; without any chance to switch to another X11 application.
217 ; So just catch them in a desktop window.
218
219 [AppDefaults\\_INS0432._MP\\x11drv]
220 "Desktop" = "640x480"
221
222 [AppDefaults\\_INS0466._MP\\x11drv]
223 "Desktop" = "640x480"
224
225 [AppDefaults\\_INS0576._MP\\x11drv]
226 "Desktop" = "640x480"
227
228 [AppDefaults\\_INS5176._MP\\x11drv]
229 "Desktop" = "640x480"
230
231 [AppDefaults\\_INS5576._MP\\x11drv]
232 "Desktop" = "800x600"
233
234 ;[AppDefaults\\iexplore.exe\\DllOverrides]
235 ;"shlwapi" = "native"
236 ;"rpcrt4" = "native"
237 ;"ole32" = "native"
238 ;"shdocvw" = "native"
239 ;"wininet" = "native"
240 ;"shfolder" = "native"
241 ;"shell32" = "native"
242 ;"shell" = "native"
243 ;"comctl32" = "native"
244 ;
245 ;[AppDefaults\\setup.exe\\x11drv]
246 ;"Desktop" = "800x600"
247 ;
248 ;[AppDefaults\\sol.exe\\Version]
249 ;"Windows" = "nt40"
250 ;
251 ;; Some games (Quake 2, UT) refuse to accept emulated dsound devices.
252 ;; You can add an AppDefault entry like this for such cases.
253 ;[AppDefaults\\pickygame.exe\\dsound]
254 ;"EmulDriver" = "N"
255
256 # [/wineconf]