You are not logged in.

#1 2008-08-02 19:11:12

corrupt
Member
Registered: 2007-06-25
Posts: 74

wine directx9 issues

Hello, guys.
Some games that other people run just fine on my pc won't run.
The latest problem - problem with Heroes of might and magic 5. When I try to run the game I get wine
popup window with message: "error failed to initialize direct3d9". I tried clean wine installation because
I thought maybe other programs thrashed my bottle but it did not help.
And this:

fixme:win:SetLayeredWindowAttributes (0x20026,0x00000000,0,2): stub!
fixme:win:SetLayeredWindowAttributes (0x20026,0x00000000,9,2): stub!
fixme:win:SetLayeredWindowAttributes (0x20026,0x00000000,18,2): stub!
fixme:win:SetLayeredWindowAttributes (0x20026,0x00000000,27,2): stub!
fixme:win:SetLayeredWindowAttributes (0x20026,0x00000000,36,2): stub!
fixme:win:SetLayeredWindowAttributes (0x20026,0x00000000,45,2): stub!
fixme:win:SetLayeredWindowAttributes (0x20026,0x00000000,54,2): stub!
fixme:win:SetLayeredWindowAttributes (0x20026,0x00000000,63,2): stub!
fixme:win:SetLayeredWindowAttributes (0x20026,0x00000000,72,2): stub!
fixme:win:SetLayeredWindowAttributes (0x20026,0x00000000,81,2): stub!
fixme:win:SetLayeredWindowAttributes (0x20026,0x00000000,90,2): stub!
fixme:win:SetLayeredWindowAttributes (0x20026,0x00000000,99,2): stub!
fixme:win:SetLayeredWindowAttributes (0x20026,0x00000000,108,2): stub!
fixme:win:SetLayeredWindowAttributes (0x20026,0x00000000,117,2): stub!
fixme:win:SetLayeredWindowAttributes (0x20026,0x00000000,126,2): stub!
fixme:win:SetLayeredWindowAttributes (0x20026,0x00000000,135,2): stub!
fixme:win:SetLayeredWindowAttributes (0x20026,0x00000000,144,2): stub!
fixme:win:SetLayeredWindowAttributes (0x20026,0x00000000,153,2): stub!
fixme:win:SetLayeredWindowAttributes (0x20026,0x00000000,162,2): stub!
fixme:win:SetLayeredWindowAttributes (0x20026,0x00000000,171,2): stub!
fixme:win:SetLayeredWindowAttributes (0x20026,0x00000000,180,2): stub!
fixme:win:SetLayeredWindowAttributes (0x20026,0x00000000,189,2): stub!
fixme:win:SetLayeredWindowAttributes (0x20026,0x00000000,198,2): stub!
fixme:win:SetLayeredWindowAttributes (0x20026,0x00000000,207,2): stub!
fixme:win:SetLayeredWindowAttributes (0x20026,0x00000000,216,2): stub!
fixme:win:SetLayeredWindowAttributes (0x20026,0x00000000,225,2): stub!
fixme:win:SetLayeredWindowAttributes (0x20026,0x00000000,234,2): stub!
fixme:win:SetLayeredWindowAttributes (0x20026,0x00000000,243,2): stub!
fixme:win:SetLayeredWindowAttributes (0x20026,0x00000000,252,2): stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32f7fc,0x00000000), stub!

There is a similar problem in discussed in appdb but they did not find solution.
So I'm asking if there is a way to configure wine directx capabilities?
I know that wine supports directx7 and I'm fine with it, I don't want to install 9c
because I had similar problem with Call of duty 2 and installation of directx did
not solve anything.

som additional info:
Wine version: wine-1.1.2
Videocard: Nvidia Geforce 6600GT
Videocard Driver version: 173.14.09-4

Thanks,
Any suggestions are appreciated.

Offline

#2 2008-08-02 19:44:14

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: wine directx9 issues

Did you check wine's appdb?
There are several howtos....
Also a wine specific problem is more lickely to be answered at appdb than here... The maintainers probably know better.
And also by clean wine installation you mean new .wine directory?


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#3 2008-08-02 20:02:22

corrupt
Member
Registered: 2007-06-25
Posts: 74

Re: wine directx9 issues

Dheart wrote:

Did you check wine's appdb?
And also by clean wine installation you mean new .wine directory?

Yes.
I checked appdb and they do not know anything about this certain issue.

I also tried to run in wine 0.9.50 and got:

err:module:import_dll Library d3dx9_25.dll (which is needed by L"C:\\Heroes5\\Heroes of Might and Magic V - Tribes of the East\\bin\\H5_Game.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Heroes5\\Heroes of Might and Magic V - Tribes of the East\\bin\\H5_Game.exe" failed, status c0000135

Offline

#4 2008-08-02 20:21:05

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: wine directx9 issues

Have you tried putting d3dx9_25.dll in the game's directory and telling winecfg to use Native for that library?

I had to do that too for a few games. (but 33/36.dll)

I don't know if it will take a newer version, but you could find the file by cabextracting stuff in an unarchived directx9 setup file.

Offline

#5 2008-08-02 20:28:36

corrupt
Member
Registered: 2007-06-25
Posts: 74

Re: wine directx9 issues

I installed directx(the version provided by playonlinux) and the game started.
I noticed new dlls appeared in system32 and among them d3dx9_25.dll.
Though I did not configure it as native. And judging from graphics quality it is still directx 7.
Thanks.

Offline

Board footer

Powered by FluxBB