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