Launching Dirt 2 from steam

The place for all discussion of the Oculus Rift compatible open source 3D drivers.
Post Reply
User avatar
Namielus
Certif-Eyable!
Posts: 957
Joined: Thu Aug 02, 2012 8:49 am
Location: Norway
Contact:

Launching Dirt 2 from steam

Post by Namielus »

Has anyone launched Dirt 2 from steam succesfully?
I cant get the vireio perception drivers to work at all, and I have to manually hit alt+enter to go fullscreen.
Last edited by Namielus on Mon Feb 18, 2013 11:04 pm, edited 1 time in total.
Riftoholic

My precious 6 month project the Oculus Virtual Lounge:
Image
If you help me in any way I will be forever grateful.
User avatar
cybereality
3D Angel Eyes (Moderator)
Posts: 11407
Joined: Sat Apr 12, 2008 8:18 pm

Re: Launching Driver 2 from steam

Post by cybereality »

I doubt to the Perception app with work on Driver 2, but I haven't tried it yet.

One thing to keep in mind is that Perception doesn't handle device resets well (for example if you go from window to full-screen, or change resolutions). So you want to make sure that the game is all setup in the right mode before trying it with the driver. Hope that helps.
User avatar
Namielus
Certif-Eyable!
Posts: 957
Joined: Thu Aug 02, 2012 8:49 am
Location: Norway
Contact:

Re: Launching Driver 2 from steam

Post by Namielus »

I have no idea why my brain glitched so badly. I meant Colin Mcrae: Dirt 2

Must edit the OP
Riftoholic

My precious 6 month project the Oculus Virtual Lounge:
Image
If you help me in any way I will be forever grateful.
User avatar
cybereality
3D Angel Eyes (Moderator)
Posts: 11407
Joined: Sat Apr 12, 2008 8:18 pm

Re: Launching Dirt 2 from steam

Post by cybereality »

Ah OK, DiRT 2. Yeah, that was working for me.

I was able to launch from Steam. You can try launching the exe from the game directory (maybe right-clicking and doing run as admin). It may also help to run the Perception app as admin as well. If all else fails maybe copying d3d9.dll from the Perception/bin folder into the games directory. Hopefully one of those things will work.
Baristan6
Cross Eyed!
Posts: 111
Joined: Sat Dec 15, 2012 11:33 am

Re: Launching Dirt 2 from steam

Post by Baristan6 »

I have tried all of those and can't get it to work with 1.0.1 or 1.0.4. Checked the reg and TargetExe is set to dirt2.exe, but oculus and side by side modes do nothing.
Baristan6
Cross Eyed!
Posts: 111
Joined: Sat Dec 15, 2012 11:33 am

Re: Launching Dirt 2 from steam

Post by Baristan6 »

I've tried to do some debugging. It hooks KERNEL32.DLL, but none of the "MyLoadLibrary" or MyDirect3DCreate9 functions are called. If I change the target from dirt2.exe to dirt2_game.exe it hooks D3D9.DLL and calls MyDirect3DCreate9 but D3DProxyDeviceFactory.Get is never called.

EDIT

nm dirt2.exe loads vireio's d3d9.dll and isn't meant to be hooked.
Three instances of BaseDirect3D9 are created by the d3d9.dll, but BaseDirect3D9::CreateDevice() is never called...
That is as far as I can debug.

.......
Found it!!!

was loading in directX 11.

'...\Documents\My Games\DiRT2\hardwaresettings\hardware_settings_config.xml'
change to "<directx forcedx9="true" />"

and it works.
User avatar
cybereality
3D Angel Eyes (Moderator)
Posts: 11407
Joined: Sat Apr 12, 2008 8:18 pm

Re: Launching Dirt 2 from steam

Post by cybereality »

Ah yes! How could I forget. You have to run in Dx9 mode.
Post Reply

Return to “Development / General Discussion”