|
This Guide is now depreciated a new Guide based on the DirectX March 2008 redistributable has been posted. Please don't use this Guide! The only reason it's still here is for reference
"d3d8"="builtin" "d3d9"="builtin" "d3dim"="native" "d3drm"="native" "d3dx8"="native" "d3dxof"="native" "dciman32"="native" "ddrawex"="native" "devenum"="native" "dinput"="builtin" "dinput8"="builtin" "dmband"="native" "dmcompos"="native" "dmime"="native" "dmloader"="native" "dmscript"="native" "dmstyle"="native" "dmsynth"="native" "dmusic"="native" "dmusic32"="native" "dnsapi"="native" "dplay"="native" "dplayx"="native" "dpnaddr"="native" "dpnet"="native" "dpnhpast"="native" "dpnlobby"="native" "dsound"="builtin" "dswave"="native" "dxdiagn"="native" "mscoree"="native" "msdmo"="native" "qcap"="native" "quartz"="native" "streamci"="native" You can set all the dlls in winecfg under the "Libraries" tab or just set the first dll "d3d8"="builtin" and then go to .wine/user.reg and find the DLL override section [Software\\Wine\\DllOverrides] and copy the above list under it. Installing Directx Download DirectX 9.0c November release from here. The directx_nov2007_redist.exe executable will extract the installer files to a directory of your choice. tom@tuxonfire ~ $ wine directx_nov2007_redist.exe fixme:advapi:DecryptFileA "z:\\home\\tom\\directx-9\\" 00000000 fixme:midi:OSS_MidiInit Synthesizer supports MIDI in. Not yet supported. tom@tuxonfire ~ $ ![]() ![]() Now cd to the directory where you choose to extract the DirectX installer and run DXSETUP.EXE tom@tuxonfire ~ $ cd /home/tom/directx-9 tom@tuxonfire ~/directx-9 $ wine DXSETUP.EXE fixme:midi:OSS_MidiInit Synthesizer supports MIDI in. Not yet supported. ![]() ![]() ![]() You will now want to run the setup a second time.... If you don't you will receive a network error and dplay wont function correctly. Now lets run dxdiag.exe tom@tuxonfire ~/directx-9 $ cd /home/tom/.wine/drive_c/windows/system32 tom@tuxonfire ~/.wine/drive_c/windows/system32 $ wine dxdiag.exe fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),1,3,(nil),0,(nil)) - stub! ![]() ![]() ![]() We can now test ddraw, ddraw 3D, D3D8, and D3D9 ![]() ![]() ![]() ![]() ![]() ![]() ![]() Direct Sound test: ![]() Now we need to install gm.dls to test Direct Music, this driver file goes into ~/.wine/drive_c/windows/system32/drivers ![]() Direct Play test: ![]() You will notice in system32 d3dx9_24.dll up to d3dx9_36.dll is now installed, this really helps when you run into a game that needs these additional DirectX dlls. Now you have the option to run most DirectX dlls in native or builtin mode, for example if you have a game that's crashing on the builtin Wine quartz.dll you can test the game with the native Windows dll to see if this will improve the situation. Keep in mind d3d8, d3d9, ddraw will only work as builtin, and in most cases you should try to use builtin dsound and dinput. I have had limited success with (dsound and dinput) in native Windows mode btw... The reason why these dlls have to be used in builtin mode is there need for direct access to your hardware. direct music and direct play can be used in native windows mode in most circumstances. |












































