PDA

View Full Version : DirectX 8.1


Dapman01
November 6th, 2007, 08:24 PM
Whenever I try to play Half life 2 it says that I have direct X 8.1 when I have an 7800GT which is Direct X 9.0
Is there any way to fix this

Ferrat
November 6th, 2007, 09:32 PM
what version of wine are you using?

sure you don't have a -dx8 tag on a shortcut or something?

Dapman01
November 6th, 2007, 10:15 PM
what version of wine are you using?

sure you don't have a -dx8 tag on a shortcut or something?

I'm using 0.9.46
I don't know what you mean by -dx8 tag on a shortcut

cogadh
November 7th, 2007, 12:07 AM
Launch the game like this:
wine steam.exe -applaunch 220 -dxlevel 90
That will force DX9.

Dapman01
November 7th, 2007, 12:23 AM
Launch the game like this:
wine steam.exe -applaunch 220 -dxlevel 90
That will force DX9.

patrick@patrick-desktop:~$ wine steam.exe -applaunch 220 -dxlevel 90
wine: could not load L"c:\\windows\\system32\\steam.exe": Module not found
patrick@patrick-desktop:~$

that is what I got. I do have steam installed and half life 2 installed and running, just no directX 9

I think that I failed to mention that the software level direct X 9 is being displayed, but not the hardware level

disturbedite
November 7th, 2007, 01:53 AM
you didn't happen to mess with any of wine's dll files did you?

cogadh
November 7th, 2007, 02:03 AM
patrick@patrick-desktop:~$ wine steam.exe -applaunch 220 -dxlevel 90
wine: could not load L"c:\\windows\\system32\\steam.exe": Module not found
patrick@patrick-desktop:~$

that is what I got. I do have steam installed and half life 2 installed and running, just no directX 9

I think that I failed to mention that the software level direct X 9 is being displayed, but not the hardware level
You need to change directories to Steam's install directory before running that. Also, I believe the steam executable starts with a capital "S":
cd ~/.wine/drive_c/Program\ Files/Steam
wine Steam.exe -applaunch 220 -dxlevel 90
Once this command works, the hardware level should report as DX 9, as well as the software level.

Rhubarb
November 7th, 2007, 02:07 AM
Dapman01 you need to change the current directory to where Steam is kept.
To do this you'd have to do something like:
cd .wine/drive_c/Program\ Files/Steam/
wine steam.exe -applaunch 220 -dxlevel 90

Dapman01
November 7th, 2007, 03:10 AM
You need to change directories to Steam's install directory before running that. Also, I believe the steam executable starts with a capital "S":
cd ~/.wine/drive_c/Program\ Files/Steam
wine Steam.exe -applaunch 220 -dxlevel 90
Once this command works, the hardware level should report as DX 9, as well as the software level.

That worked beautifully, Now how do I get it to work with my other steam games like Episode 1 and 2, etc

Oh and thanks BTW

Rhubarb
November 7th, 2007, 04:25 AM
I don't run Steam here, so I wouldn't know.
(I run only open source games here)

bastiegast
November 7th, 2007, 10:33 AM
Type Alt-F2, enter regedit and press enter. Go to HKEY_CURRENT_USER > Software > Wine > Direct3D (if its not already there make a new key) Add a new String value: "UseGLSL" and give it the value enabled. This will make your source games detect dxlevel 9.0 It won't add anything to your playing experience though. The only effect it adds is HDR afaik. For me HDR glitches in wine. It's like the lights keeps turning bright and dark. For me anyway.

Dapman01
November 7th, 2007, 10:43 AM
Oh, ok, thanks
does anyone else know what to put in so that I can use Direct X 9 in my other steam games

Dapman01
November 7th, 2007, 10:48 AM
Type Alt-F2, enter regedit and press enter. Go to HKEY_CURRENT_USER > Software > Wine > Direct3D (if its not already there make a new key) Add a new String value: "UseGLSL" and give it the value enabled. This will make your source games detect dxlevel 9.0 It won't add anything to your playing experience though. The only effect it adds is HDR afaik. For me HDR glitches in wine. It's like the lights keeps turning bright and dark. For me anyway.

How do I enable the value

Ferrat
November 7th, 2007, 11:19 AM
How do I enable the value

just add the value as a sting the type enabled in the little box :)

Dapman01
November 7th, 2007, 12:06 PM
Hmmm...that didn't work, was I suppose to get rid of (Default) if so, it won't let me

(Default) REG_SZ (value not set)
Use GLSL REG_SZ enable

that is what is up

karth
November 7th, 2007, 12:25 PM
You can leave the default value, it's there, err... by default :p

The correct value to enter is:

UseGLSL REG_SZ enabled

No space in UseGLSL
And enabled with a d

:)

cogadh
November 7th, 2007, 12:56 PM
That worked beautifully, Now how do I get it to work with my other steam games like Episode 1 and 2, etc

Oh and thanks BTW
Change the applaunch number to whatever game ID belongs to the game you want to run:
220 - Half-Life 2
240 - Counter Strike: Source
280 - Half-Life: Source
300 - Day of Defeat: Source
320 - HL2 Deathmatch
340 - HL2 Lost Coast
360 - HL Deathmatch: Source
380 - HL2 Episode 1
400 - Portal
420 - HL2 Episode 2
440 - Team Fortress 2

If you have any other non-Source, non-Valve or non-English games, they each have their own applaunch number. A complete list of them can be found here:
http://developer.valvesoftware.com/wiki/Steam_Application_IDs

drzero1
November 11th, 2007, 12:22 AM
In the steam game list. Right click on a game you want to edit. Click on "set launch options", and add the parameter "-dxlevel 90". Seems to work in that way. But I could be wrong.