Avoid crashes if 16-bit module handle was passed to the 32-bit
[wine.git] / wine.ini
blobebada126a9b969249807665dd869dbef3e4a809d
1 ;;
2 ;; MS-DOS drives configuration
3 ;;
4 ;; Each section has the following format:
5 ;; [Drive X]
6 ;; Path=xxx (Unix path for drive root)
7 ;; Type=xxx (supported types are 'floppy', 'hd', 'cdrom' and 'network')
8 ;; Label=xxx (drive label, at most 11 characters)
9 ;; Serial=xxx (serial number, 8 characters hexadecimal number)
10 ;; Filesystem=xxx (supported types are 'msdos'/'dos'/'fat', 'win95'/'vfat', 'unix')
11 ;; This is the FS Wine is supposed to emulate on a certain
12 ;; directory structure.
13 ;; Recommended:
14 ;; - "win95" for ext2fs, VFAT and FAT32
15 ;; - "msdos" for FAT16 (ugly, upgrading to VFAT driver strongly recommended)
16 ;; DON'T use "unix" unless you intend to port programs using Winelib !
17 ;; Device=/dev/xx (only if you want to allow raw device access)
19 [Drive A]
20 Path=/mnt/fd0
21 Type=floppy
22 Label=Floppy
23 Serial=87654321
24 Device=/dev/fd0
26 [Drive C]
27 Path=/c
28 Type=hd
29 Label=MS-DOS
30 Filesystem=win95
32 [Drive D]
33 Path=/cdrom
34 Type=cdrom
35 Label=CD-Rom
36 Filesystem=win95
37 ; make sure that device is correct and has proper permissions !
38 Device=/dev/cdrom
40 [Drive E]
41 Path=/tmp
42 Type=hd
43 Label=Tmp Drive
44 Filesystem=win95
46 [Drive F]
47 Path=${HOME}
48 Type=network
49 Label=Home
50 Filesystem=win95
52 [wine]
53 Windows=c:\windows
54 System=c:\windows\system
55 Temp=e:\
56 Path=c:\windows;c:\windows\system;e:\;e:\test;f:\
57 Profile=c:\windows\Profiles\Administrator
58 GraphicsDriver=x11drv
60 # <wineconf>
62 [DllDefaults]
63 EXTRA_LD_LIBRARY_PATH=${HOME}/wine/cvs/lib
64 DefaultLoadOrder = native, builtin, elfdll, so
66 [DllOverrides]
67 kernel32, gdi32, user32 = builtin
68 krnl386, gdi, user = builtin
69 toolhelp = builtin
70 comdlg32, commdlg = elfdll, builtin, native
71 version, ver = elfdll, builtin, native
72 shell32, shell = builtin, native
73 lz32, lzexpand = builtin, native
74 commctrl, comctl32 = builtin, native
75 wsock32, winsock = builtin
76 advapi32, crtdll, ntdll = builtin, native
77 mpr, winspool.drv = builtin, native
78 ddraw, dinput, dsound = builtin, native
79 winmm, mmsystem = builtin
80 msvideo, msvfw32 = builtin, native
81 mcicda.drv, mciseq.drv = builtin, native
82 mciwave.drv = builtin, native
83 mciavi.drv, mcianim.drv = native, builtin
84 msacm.drv, midimap.drv = builtin, native
85 w32skrnl = builtin
86 wnaspi32, wow32 = builtin
87 system, display, wprocs = builtin
88 wineps = builtin
89 icmp = builtin
91 [x11drv]
92 ; Number of colors to allocate from the system palette
93 AllocSystemColors = 100
94 ; Use a private color map
95 PrivateColorMap = N
96 ; Favor correctness over speed in some graphics operations
97 PerfectGraphics = N
98 ; Color depth to use on multi-depth screens
99 ;;ScreenDepth = 16
100 ; Name of X11 display to use
101 ;;Display = :0.0
102 ; Allow the window manager to manage created windows
103 Managed = N
104 ; Use XFree86 DGA extension if present
105 UseDGA = Y
106 ; Use XShm extension if present
107 UseXShm = Y
108 ; Enable DirectX mouse grab
109 DXGrab = N
110 ; Create the desktop window with a double-buffered visual
111 ; (useful to play OpenGL games)
112 DesktopDoubleBuffered = N
113 ; Code page used for captions in managed mode
114 ; 0 means default ANSI code page (CP_ACP == 0)
115 TextCP=0
116 ; Use this if you have more than one port for video on your setup
117 ; (Wine uses for now the first 'input image' it founds).
118 ;; XVideoPort = 43
120 [fonts]
121 ;Read documentation/fonts before adding aliases
122 Resolution = 96
123 Default = -adobe-times-
125 [serialports]
126 Com1=/dev/ttyS0
127 Com2=/dev/ttyS1
128 Com3=/dev/modem,38400
129 Com4=/dev/modem
131 [parallelports]
132 Lpt1=/dev/lp0
134 [spooler]
135 LPT1:=|lpr
136 LPT2:=|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -
137 LPT3:=/dev/lp3
139 [ports]
140 ;read=0x779,0x379,0x280-0x2a0
141 ;write=0x779,0x379,0x280-0x2a0
143 [spy]
144 Exclude=WM_SIZE;WM_TIMER;
146 [registry]
147 ; Paths must be given in /dir/dir/file.reg format.
148 ; Wine will not understand dos file names here...
150 ;These are all booleans. Y/y/T/t/1 are true, N/n/F/f/0 are false.
151 ;Defaults are read all, write to Home
152 ; Global registries (stored in /etc)
153 LoadGlobalRegistryFiles=Y
154 ; Home registries (stored in ~user/.wine/)
155 LoadHomeRegistryFiles=Y
156 ; Load Windows registries from the Windows directory
157 LoadWindowsRegistryFiles=Y
158 ; TRY to write all changes to home registries
159 WritetoHomeRegistryFiles=Y
160 ; Use new file format
161 UseNewFormat=Y
162 ; Registry periodic save timeout in seconds
163 ; PeriodicSave=600
164 ; Save only modified keys
165 SaveOnlyUpdatedKeys=Y
167 [Tweak.Layout]
168 ;; WineLook=xxx (supported styles are 'Win31'(default), 'Win95', 'Win98')
169 WineLook=Win95
171 [programs]
172 Default=
173 Startup=
175 [Console]
176 ;Drivers=tty
177 ;XtermProg=nxterm
178 ;InitialRows=25
179 ;InitialColumns=80
180 ;TerminalType=nxterm
182 [Clipboard]
183 ClearAllSelections=0
184 PersistentSelection=1
186 # </wineconf>