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