Sunday, March 23, 2008

DirectX 9.0c March 2008 redistributable on Linux with Wine

This Page Has Been Moved: Please Note the New Location Below

We restructured the whole site and this page no longer exists on this location. The page that your looking for has been moved to a different Web address on the new and improved Wine-Reviews.net Site:

http://www.wine-reviews.net/ or the original post


Click on the link above to go to the new location. (To maintain accessibility, we have not set up automatic redirection to the new page.) If you have a bookmark to the old page, please change it to the new address above. If you followed a link from another Web site to this page, please let the people responsible for that Web site know the new location above. If you are having trouble finding the information you want, do a search on this article at our new site.

Thanks for your understanding and Sorry for the inconvenience.

The Editors at Wine-Reviews

32 comments:

Dukowski said...

Well, i have a problem, i install all ok, the sound and directdraw works grat but the direct 3d fails and closes wine, thanks.

twickline said...

Before running direct3d tests check this:

$ glxinfo | grep rendering
direct rendering: Yes
(If it says "No", you don't have 3D acceleration.)

zbog said...

I have a script in Wine-doors which claims to do the same thing (installing DirectX 9 under Wine). How is yours any different?

Can't you modify the script under Wine-doors to use your changes if you find yours is better?

Last but not the least under what license you intend to distribute your version of a DirectX installer? I prefer free software licenses, such as the GPL.

twickline said...

Hello zbog,

I would guess they use the same methods, the main difference is Wine-Doors has a script, and this is a howto.

Sure if you find for example the d3dx9_24 to 36 dlls are not installing or WD uses builtin dlls your more then welcome to submit a diff.

The howto is 100% Open Source, do with it as you wish! If you copy it, it would be nice if you linked back to the original :D

Richard said...

Thanks for posting this. I've run into a problem with it though. I get a fatal error. It then claims that mscorees.dll is not installed (it is, from native windowsxp per the instructions). If I click ok on the dialog, it seems to go ahead and install, but much of the install is missing. I get a whole much of these on my console (err:setupapi:do_file_copyW Unsupported style(s) 0x144). I'm using wine 0.9.58. Any ideas? Thanks again for posting this.

twickline said...

Hello Richard,

You could install the mscoree.dll from dll dump... place it in your .wine system32 directory.

dll dump mscoree.dll

make sure you have the dll list copied correctly, Wine set to emulate windows 2000 and it *should* work.

Richard said...

Hi twickline,
Just a bonehead manuever on my part. I thought I read the entire thing, but somehow skipped the part about setting wine to emulate win2k. That was the problem. It then installed everything except ddrawex.dll. I pulled that from dll dump and all is perfectly installed. Great writeup. Thanks for taking the trouble to post this.

Cheers,

Richard

Dukowski said...

dukowski@Turion64:~$ glxinfo | grep rendering
direct rendering: Yes

mmm, only wine is doing problems aparently

Anonymous said...

Pretty cool guide. However, is it actually useful for wine? Can it improve support on certain games such as Half-Life 2?

twickline said...

Hello,

It's useful to a point, and thats the problem.. people expect it to be more then what it is.

الديب said...

thanks for ur work .. perfect ..

But i had a problem ..

i installed the dx .. ran dxdialog .. in the files tab: it stated that a file named " ddrawex.dll " is missing .. is this normal ?

Testing the direct draw was successful.
The direct 3d caused the wine to close.

when i type:
$ glxinfo | grep rendering
direct rendering: Yes

is the missing file causing the prob ? any fix ?

Thanks in advance,
Tarek

twickline said...

it stated that a file named " ddrawex.dll " is missing .. is this normal ?

Yes its normal, you can copy a dll over from Windows if you want.

I'm not sure why the D3D test work fine for most people and fail for a small group of people. I would suggest you debug it.. but if you knew how to debug you would have already done that :D

Cheers,

Tom

Anonymous said...

I have no idea how to set any dlls to "native"

Can anyone help me?

nicomede said...

maybe the problem is the wine version. With wine-0.9.58 and the previous guide (the 'DirectX 9.0c November release' one) i have installed directx without any problem. With wine-0.9.59 (and directx of november) 3d doesn't work anymore. oh, and i've have an ATI with the latest drivers installed via envy + ubuntu gutsy.
Hope this can help.

Anonymous said...

I get to the point where you are supposed to go to the system32 file and run dxdiag.exe, but there is no dxdiag.exe file in there for me. What am I doing wrong? (I think my 'wine DXSETUP.exe fails because i get a
'err:setupapi:do_file_copyW Unsupported style(s) 0x144'error)

Sam Albuquerque said...

Correction:
Original(did not work):
wine directx_mar2008_redist.exe
fixme:advapi:DecryptFileA "Z:\\home\\tom\\dx\\" 00000000

Changed to(worked):
wine directx_mar2008_redist.exe /T:"Z:\\home\\tom\\dx\\" /C

progdan said...

Hi,
good howto, i like it. Everything works for me, except of 3D test in dxdiag. I see the cube spinning as fast as it probably should, but with no texture DirectX logo on sides. Same problem I had with the previous howto with older Wine and older DirectX. Thank you for any idea

PS: Direct rendering: Yes

mathieu said...

Hi,

Great Howto! Easy to follow even if i'm french! Everything works but...

The D3D test fail for me, so I'm part of the "small group of people", as twickline said.

Graphic card/drivers could be the reasons. I know my ATI Radeon 9600 pro/Ati drivers causes much troubles in Kubuntu. For those who fail the D3D tests only, can you post your GC model and used drivers.

Michel said...

if dxdiag.exe is missing, try reinstalling directx (wine DXSETUP.exe)
Worked out for me.

castaing said...

i follow the instruction but i always get 'err:setupapi:do_file_copyW Unsupported style(s) 0x144'error'

try to reinstall dxsetup but still the errors.

aqeeliz said...

DirectDraw crashes wine here too, and for some reason, games which were working before installing DirectX 9.0c are not running now either. Any ideas?

Anonymous said...

Thankx for a great guide, but I have a problem too - when I try install DirectX, it wrote: "err:setupapi:do_file_copyW Unsupported style(s) 0x144" and games like before (2D Heroes3 works, 3D games not)

- I have direct rendering
- Windows 2000 set too
- I did mscoree.dll and gm.dls things too
- Games are working on my HW (tested in real Wins)

- Using Ubuntu 8.04, Wine 0.9.59 and 0.9.61
- In one try it wrote 0x244 instead of 0x144 but have no idea what was diferent :3

Gustavo T. said...

Hi, I'm trying to run an MMORPG called ConquerOnline for quite a while now. I found your howto and followed it to the letter.

I have direct rendering on my GeForce FX5500, have the latest wine installed, the DirectX, gm.dls and mscoree.dll you linked.

But when I try to install DirectX, I still get the following error:
err:setupapi:do_file_copyW Unsupported style(s) 0x144

Oh! I'm running Slackware 12.1.

Anonymous said...

Hi! Thanks for the guide, but it doesn't work properly for me :s
When I try to install Directx 9, a fatal error occurs.

"DXSETUP.exe - Error
A fatal error occured. However, mscorees.dll could not be loadet to display the appropriate error message.

Please reinstall the .NET Framework.

[OK]"

The installation continues even with this error, but it doesn't really install Direct x 9. There is also no dxdiag then.

My distribution is Ubuntu 8.04 (Hardy Heron). Thanks for help!

jacob88 said...

fatcop said...

"landry said...

Note: It is important that wine be in W2k mode for the installer to work properly."

THANK YOU BUDDY !!!!

YES, THAT IS IMPORTANT. I wasn't getting dxdiag.exe either, until I did that.
Cheers.

db0 said...

I'm confused. Where can I find all these .dll files? I tried looking in a clean XP sp2 installation's system32 dir but they are not there.

Db0 said...

Update: I did find the dlls after installing dx9c on my windows install but alas, I cannot locate d3dx8.dll or dmusic32.dll

Hope it works without those two :-/

EarloftheWest said...

Many of the Windows DVD Players require DirectX 9.

I've looked around on the web and haven't seen any how-to's to run WinDVD or PowerDVD under Wine.

Has anyone gotten either of those programs to run under Wine?

Getting this to work would solve the legal issue in the United States of not being able to use libdvdcss2.

Thanks.

Anonymous said...

Unfortunately this doesn't work anymore under Wine 1.0 RC5 the DX install aborts saying: "Internal system error"

cyrus said...

Just tested with wine-1.0-rc5 and it works fine.

Anonymous said...

i use a Debian Etch, and try this howto
after few errors :
1. directx9 won't to install cause of missing .NET
2. i use winetricks to install dotnet2 .. OK
3. i have had to set OS to WIN2000 then reinstall DX9 ...
i always get an error "err:setupapi:do_file_copyW Unsupported style(s) 0x144"
but my Dxdiag is there now .

Anonymous said...

ok i let the above comment, just want to add something :

i have had to add ddrawex from a WinXP, after that , my),9 Dxdiag saw all dx files ok.

Direct sound is OK
DxDraw is OK
Direct3D (7,8,9) runs just fine

thanks a lot !!