Forcing DirectX 8.1?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Eriond
Newbie
Newbie
Posts: 2
Joined: Wed Apr 16, 2008 2:11 am

Forcing DirectX 8.1?

Post by Eriond »

Hi. I'm running Debian Lenny, and I'm having a problem with Wine and playing TF2.

I used to be able to play TF2 under DirectX 8.1 before updating to the newest version, no problems. I didn't even have to use the option -dxlevel 81, it was already set to it when I looked under video settings in TF2.

However, with Wine 0.9.59, it seems that the DirectX that comes bundled with Wine is upgraded to 9.0. That's good! I like nothing better than to see Wine get ahead.

But, there's a minor hiccup. Now, whenever I try to run TF2, it's stuck in DirectX 9 mode all the time (and this is unbearably slow). Regardless of whether I use -dxlevel 81 or not, it always says that my DirectX level in Team Fortress 2 is DX9, and it won't let me change it. I tried reinstalling Wine using apt, and then building 0.9.59 from scratch, but nothing seems to help.

Anyone have any idea how I can force TF2 to run DirectX 8.1? Thanks in advance!

Anyone have any ideas?
qwertymn
Level 4
Level 4
Posts: 236
Joined: Thu Mar 27, 2008 3:42 am

Post by qwertymn »

Hi, you could try change the registry value (using regedit ) in
HKLM/Software/Microsoft/DirectX to 4.08.01.0810

That's directx8.1
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Forcing DirectX 8.1?

Post by vitamin »

Eriond wrote:Hi. I'm running Debian Lenny, and I'm having a problem with Wine and playing TF2.

I used to be able to play TF2 under DirectX 8.1 before updating to the newest version, no problems. I didn't even have to use the option -dxlevel 81, it was already set to it when I looked under video settings in TF2.

However, with Wine 0.9.59, it seems that the DirectX that comes bundled with Wine is upgraded to 9.0. That's good! I like nothing better than to see Wine get ahead.

But, there's a minor hiccup. Now, whenever I try to run TF2, it's stuck in DirectX 9 mode all the time (and this is unbearably slow). Regardless of whether I use -dxlevel 81 or not, it always says that my DirectX level in Team Fortress 2 is DX9, and it won't let me change it. I tried reinstalling Wine using apt, and then building 0.9.59 from scratch, but nothing seems to help.

Anyone have any idea how I can force TF2 to run DirectX 8.1? Thanks in advance!

Anyone have any ideas?
Where are you specifying "-dxlevel 81" option?
Also note that this option has nothing to do with the DX version, but the features that were available in specified version. TF2 is DX9 game and always will be DX9 game
Eriond
Newbie
Newbie
Posts: 2
Joined: Wed Apr 16, 2008 2:11 am

Post by Eriond »

Hmm... I tried changing what you suggested, qwertymn, but Steam now tells me that I need to newest version of DirectX to play the game.

So.... uh... considering the fact that I was playing Team Fortress 2 without the fancy shader effects, and the video options of TF2 said I was using DirectX 8.1, before the update, it's obvious that Wine can spoof this somehow. Anyone have any ideas?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

Eriond wrote:Hmm... I tried changing what you suggested, qwertymn, but Steam now tells me that I need to newest version of DirectX to play the game.

So.... uh... considering the fact that I was playing Team Fortress 2 without the fancy shader effects, and the video options of TF2 said I was using DirectX 8.1, before the update, it's obvious that Wine can spoof this somehow. Anyone have any ideas?
Read what I asked. And answer it here.
Locked