How to specify directx version

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
dr_costas
Level 2
Level 2
Posts: 17
Joined: Fri Oct 10, 2008 5:10 pm

How to specify directx version

Post by dr_costas »

Hi all

I would like to run an old game that was written for directx5. Is there a way to change that in wine? Also, if I want to disable directdraw how can I do it?

Many thanks

Costas
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: How to specify directx version

Post by vitamin »

dr_costas wrote:I would like to run an old game that was written for directx5. Is there a way to change that in wine? Also, if I want to disable directdraw how can I do it?
No and sorta yes.
DX version is hard-coded all over the place. Which one your program is looking at? Who knows.

DDraw - why would you want to disable it? There are no switches to do it. You'll have to edit registry, probably disable some dlls (ddraw). But again depends on what exactly do you need.
dr_costas
Level 2
Level 2
Posts: 17
Joined: Fri Oct 10, 2008 5:10 pm

Post by dr_costas »

Thanks for the reply,

the game I am trying to run is Spacehulk 2
http://appdb.winehq.org/objectManager.p ... n&iId=8965
but it still ahs problems. It is old and doenst like new OS's as it seems:
http://vogons.zetafleet.com/viewtopic.p ... c&start=20

on these forums people have managed to run it on XP either by disabling directdraw hardware acceleration or by installing a virtual win98

I have set compatibility to Win95 but still getting unexpected errors, so I thought I will try disabling ddraw. I thought I installed directx5 that came with the game but I cannot find the dxdiag exe to run.

Many thanks

Costas
User avatar
FatButtLarry
Level 3
Level 3
Posts: 70
Joined: Sat Feb 23, 2008 1:08 pm

How to specify directx version

Post by FatButtLarry »

On Thu, Mar 5, 2009 at 12:38 PM, dr_costas <[email protected]> wrote:
Thanks for the reply,

the game I am trying to run is Spacehulk 2
http://appdb.winehq.org/objectManager.p ... n&iId=8965
but it still ahs problems. It is old and doenst like new OS's as it seems:
http://vogons.zetafleet.com/viewtopic.p ... c&start=20

on these forums people have managed to run it on XP either by disabling directdraw hardware acceleration or by installing a virtual win98

I have set compatibility to Win95 but still getting unexpected errors, so I thought I will try disabling ddraw. I thought I installed directx5 that came with the game but I cannot find the dxdiag exe to run.

Many thanks

Costas






--

Costas,

Agreed, it sounds bazaar to disable direct draw. That usually makes
things run slower.

Have you tried using winecfg to change your windows version to windows
98? Sometimes a reinstall is needed. Remember to switch it back when
done. Later if you need windows 98 for only that program winecfg
supports that too.

Most games use a game engine shared by other games. Spacehulk II is
based on Dawn Of War I, right? I was able to find Dawn Of War II used
the "Essence Engine", but I was unable to find out what game engine
Spacehulk II uses.

Reason I say that is some modern games (half-life 2) do allow forcing
directx version. Good luck, and post your success.

-Tres

- [email protected]
Locked