Storing an IP address in a signed int results in bugs if it starts
[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 nescessary 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 "Serial" = "87654321"
30 "Device" = "/dev/fd0"
31
32 [Drive C]
33 "Path" = "/c"
34 "Type" = "hd"
35 "Label" = "MS-DOS"
36 "Filesystem" = "win95"
37
38 [Drive D]
39 "Path" = "/cdrom"
40 "Type" = "cdrom"
41 "Label" = "CD-Rom"
42 "Filesystem" = "win95"
43 ; make sure that device is correct and has proper permissions !
44 "Device" = "/dev/cdrom"
45
46 [Drive E]
47 "Path" = "/tmp"
48 "Type" = "hd"
49 "Label" = "Tmp Drive"
50 "Filesystem" = "win95"
51
52 [Drive F]
53 "Path" = "${HOME}"
54 "Type" = "network"
55 "Label" = "Home"
56 "Filesystem" = "win95"
57
58 [wine]
59 "Windows" = "c:\\windows"
60 "System" = "c:\\windows\\system"
61 "Temp" = "e:\\"
62 "Path" = "c:\\windows;c:\\windows\\system;e:\\;e:\\test;f:\\"
63 "Profile" = "c:\\windows\\Profiles\\Administrator"
64 "GraphicsDriver" = "x11drv"
65 ; Wine doesn't pass directory symlinks to Windows programs by default.
66 ; Enabling this may crash some programs that do recursive lookups of a whole
67 ; subdir tree in case of a symlink pointing back to itself.
68 ;"ShowDirSymlinks" = "1"
69 "ShellLinker" = "wineshelllink"
70
71 # <wineconf>
72
73 ; Be careful here, wrong DllOverrides settings have the potential
74 ; to pretty much kill your setup.
75 [DllOverrides]
76 "commdlg"      = "builtin, native"
77 "comdlg32"     = "builtin, native"
78 "ver"          = "builtin, native"
79 "version"      = "builtin, native"
80 "shell"        = "builtin, native"
81 "shell32"      = "builtin, native"
82 "shfolder"     = "builtin, native"
83 "shlwapi"      = "builtin, native"
84 "lzexpand"     = "builtin, native"
85 "lz32"         = "builtin, native"
86 "comctl32"     = "builtin, native"
87 "commctrl"     = "builtin, native"
88 "advapi32"     = "builtin, native"
89 "crtdll"       = "builtin, native"
90 "mpr"          = "builtin, native"
91 "winspool.drv" = "builtin, native"
92 "ddraw"        = "builtin, native"
93 "dinput"       = "builtin, native"
94 "dsound"       = "builtin, native"
95 "opengl32"     = "builtin, native"
96 "msvcrt"       = "native, builtin"
97 "rpcrt4"       = "native, builtin"
98 "msvideo"      = "builtin, native"
99 "msvfw32"      = "builtin, native"
100 "mcicda.drv"   = "builtin, native"
101 "mciseq.drv"   = "builtin, native"
102 "mciwave.drv"  = "builtin, native"
103 "mciavi.drv"   = "native, builtin"
104 "mcianim.drv"  = "native, builtin"
105 "msacm.drv"    = "builtin, native"
106 "msacm"        = "builtin, native"
107 "msacm32"      = "builtin, native"
108 "midimap.drv"  = "builtin, native"
109 ; default for all other dlls
110 "*" = "native, builtin, so"
111
112 [x11drv]
113 ; Number of colors to allocate from the system palette
114 "AllocSystemColors" = "100"
115 ; Use a private color map
116 "PrivateColorMap" = "N"
117 ; Favor correctness over speed in some graphics operations
118 "PerfectGraphics" = "N"
119 ; Color depth to use on multi-depth screens
120 ;;"ScreenDepth" = "16"
121 ; Name of X11 display to use
122 ;;"Display" = ":0.0"
123 ; Allow the window manager to manage created windows
124 "Managed" = "N"
125 ; Use a desktop window of 640x480 for Wine
126 ;"Desktop" = "640x480"
127 ; Use XFree86 DGA extension if present
128 ; (make sure /dev/mem is accessible by you !)
129 "UseDGA" = "Y"
130 ; Use XShm extension if present
131 "UseXShm" = "Y"
132 ; Use XVidMode extension if present
133 "UseXVidMode" = "Y"
134 ; Enable DirectX mouse grab
135 "DXGrab" = "N"
136 ; Create the desktop window with a double-buffered visual
137 ; (useful to play OpenGL games)
138 "DesktopDoubleBuffered" = "N"
139 ; Code page used for captions in managed mode
140 ; 0 means default ANSI code page (CP_ACP == 0)
141 "TextCP" = "0"
142 ; Use this if you have more than one port for video on your setup 
143 ; (Wine uses for now the first 'input image' it finds).
144 ;; "XVideoPort" = "43"
145 ; Run in synchronous mode (useful for debugging X11 problems)
146 ;;"Synchronous" = "Y"
147
148 [fonts]
149 ;Read documentation/fonts before adding aliases
150 ;See a couple of examples for russian users below
151 "Resolution" = "96"
152 "Default" = "-adobe-helvetica-"
153 "DefaultFixed" = "fixed"
154 "DefaultSerif" = "-adobe-times-"
155 "DefaultSansSerif" = "-adobe-helvetica-"
156
157 ;; default TrueType fonts with russian koi8-r encoding
158 ;"Default" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
159 ;"DefaultFixed" = "-monotype-courier new-*-*-*--*-*-*-*-*-*-koi8-r"
160 ;"DefaultSerif" = "-monotype-times new roman-*-*-*--*-*-*-*-*-*-koi8-r"
161 ;"DefaultSansSerif" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
162 ;; default cyrillic bitmap X fonts
163 ;"Default" = "-cronyx-helvetica-"
164 ;"DefaultFixed" = "fixed"
165 ;"DefaultSerif" = "-cronyx-times-"
166 ;"DefaultSansSerif" = "-cronyx-helvetica-"
167
168 [serialports]
169 "Com1" = "/dev/ttyS0"
170 "Com2" = "/dev/ttyS1"
171 "Com3" = "/dev/ttyS2"
172 "Com4" = "/dev/modem"
173
174 [parallelports]
175 "Lpt1" = "/dev/lp0"
176
177 [ppdev]
178 ;; key:  io-base of the emulated port
179 ;; value : parport-device{,timeout}
180 ;; timeout for auto closing an open device ( not yet implemented)
181 ;"378" = "/dev/parport0"
182 ;"278" = "/dev/parport1"
183 ;"3bc" = "/dev/parport2"
184
185 [spooler]
186 "FILE:" = "tmp.ps"
187 "LPT1:" = "|lpr"
188 "LPT2:" = "|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -"
189 "LPT3:" = "/dev/lp3"
190
191 [ports]
192 ;"read"  = "0x779,0x379,0x280-0x2a0"
193 ;"write" = "0x779,0x379,0x280-0x2a0"
194
195 [spy]
196 "Exclude" = "WM_SIZE;WM_TIMER;"
197
198 [registry]
199 ;These are all booleans.  Y/y/T/t/1 are true, N/n/F/f/0 are false.
200 ;Defaults are read all, write to Home
201 ; Global registries (stored in /etc)
202 "LoadGlobalRegistryFiles" = "Y"
203 ; Home registries (stored in ~user/.wine/)
204 "LoadHomeRegistryFiles" = "Y"
205 ; Load Windows registries from the Windows directory
206 "LoadWindowsRegistryFiles" = "Y"
207 ; TRY to write all changes to home registries
208 "WritetoHomeRegistryFiles" = "Y"
209 ; Registry periodic save timeout in seconds
210 ; "PeriodicSave" = "600"
211 ; Save only modified keys
212 "SaveOnlyUpdatedKeys" = "Y"
213
214 [Tweak.Layout]
215 ;; supported styles are 'Win31'(default), 'Win95', 'Win98'
216 ;; this has *nothing* to do with the windows version Wine returns:
217 ;; use cmdline option --winver if you want that.
218 "WineLook" = "Win95"
219
220 [Console]
221 ;"Drivers" = "tty"
222 ;"XtermProg" = "nxterm"
223 ;"InitialRows" = "25"
224 ;"InitialColumns" = "80"
225 ;"TerminalType" = "nxterm"
226
227 [Clipboard]
228 "ClearAllSelections" = "0"
229 "PersistentSelection" = "1"
230
231 ; List of all directories directly contain .AFM files
232 [afmdirs]
233 "1" = "/usr/share/ghostscript/fonts"
234 "2" = "/usr/share/a2ps/afm"
235 "3" = "/usr/share/enscript"
236 "4" = "/usr/X11R6/lib/X11/fonts/Type1"
237
238 [WinMM]
239 "Drivers" = "wineoss.drv"
240 "WaveMapper" = "msacm.drv"
241 "MidiMapper" = "midimap.drv"
242
243 # </wineconf>