LibreVR / Revive

Play Oculus-exclusive games on the HTC Vive or Valve Index, scroll down for downloads and installation instructions.
Other
3.6k stars 332 forks source link

iRacing crashes on load #141

Closed dtandersen closed 8 years ago

dtandersen commented 8 years ago

iRacing just added Oculus CV1 support. Let me know if you need an iRacing account.

It should be noted that this game used "EasyAntiCheat".

The instruction at 0x00007FFE74DB3CE9 referenced memory at 0x0000000000000014. 
The memory could not be read. Click on OK to terminate the program.

https://www.reddit.com/r/iRacing/comments/4n05no/anyone_with_a_vive_got_revive_working_yet/

LibreVR commented 8 years ago

I've seen these type of access violations before, except in those cases it was non-reproducible for me.

I hope I can consistently reproduce this one.

yidhoe commented 8 years ago

Hey,

I just tested this myself, I used the Revive Steam DLL's and dropped them into iRacing folder, started iRacing and it detected I had a Rift and asked if I wanted to run the game full screen on there, I said yes then it crashed with the same error as above.

Wonder if it's their Anti-Cheat kicking in, maybe we need these DLL's white listed by iRacing themselves?!

If you need a tester let me know. :)

Thanks

Stuart.

LibreVR commented 8 years ago

Well, I don't yet know whether the Anti-Cheat is causing the crash, but I do know it's making it much harder to debug it. The Anti-Cheat software is blocking attempts at attaching a debugger and against dumping the memory. So I'll have to use some unorthodox methods to get a crash dump.

trwoteb commented 8 years ago

thx for keeping on ... hope you`ll fix this ;)

TOCA2FREAK commented 8 years ago

I don't know if this will be any help but in order to use OBS with iRacing they had a check box for the anti cheat otherwise it would not record the picture.

https://obsproject.com/

LibreVR commented 8 years ago

No that doesn't help, OBS is just turning off features that trigger the anti-cheat. Anyway, since Revive injects into the application already I should have full control so I'll attempt to work around the anti-cheat from within Revive.

It's pretty interesting that Revive doesn't trigger the anti-cheat, even though foreign code was injected into the application. I guess DLL injection remains difficult for anti-cheat software to deal with.

TOCA2FREAK commented 8 years ago

Ok. I do hope you can get this working with iRacing soon. Thanks again. :D

yidhoe commented 8 years ago

I've had a response from EasyAntiCheat and it doesn't sound promising... :(

Hi,

Most likely that injector won't work with EAC as EAC sandboxes the game and prevents injecting foreign code inside the game process. The game would need to add native support for VR.

Best regards,

EasyAntiCheat Team

So come on then iRacing....

LibreVR commented 8 years ago

The code injection went fine, it's just that EAC prevents crash dumps from being generated so i can't debug the crash. I could work around that protection, but that costs too much time.

aWakeParks commented 8 years ago

How does EAC prevent generating the crash dumps? Is there anything someone could do to present you with the information you need? Maybe someone at iRacing could "install" Revive on a Dev Client without EAC in place and send you the crash dump. Would this be something you could work with or is it too much hassle that way?

LibreVR commented 8 years ago

That would work, I'd need to compile a debug version for them though.

aWakeParks commented 8 years ago

I will ask if someone is willing to give it a shot and let you know if so.

TOCA2FREAK commented 8 years ago

I do hope that someone from iRacing does help out. So want to play iRacing with the Vive. :)

aWakeParks commented 8 years ago

I just wrote them an email regarding all of this, including a link to this github page. Let's see if it gets handed over to the right person and that he or she will give LibreVR a helping hand.

TheHairyGun commented 8 years ago

I noticed TriDef has a special module for iRacing. I wonder if we could ascertain any details from this.

edit: removed link as it felt like an advertisement.

StephF1 commented 8 years ago

Hello Someone on the iracing forum has the vive working with iracing however it looks complicated and uses vorpx ,there must be an easier way here is the link : http://members.iracing.com/jforum/posts/list/125/3486300.page Cheers

LibreVR commented 8 years ago

Sorry guys, I won't be fixing this issue, it's too difficult to debug it right now.

Acurus commented 8 years ago

Thanks for trying!

Hopefully they will implement Vive support fairly soon.

TOCA2FREAK commented 8 years ago

Yeah thanks for trying. Looks as if iRacing will be working on it at some point so we will just have to wait. :)

martinw89 commented 8 years ago

Thanks so much for your efforts LibreVR! This is an awesome project; not your fault that iRacing is a little more complicated because of EAC. Luckily, they just got a Vive in their studio a day or two ago.

JasonRivers commented 8 years ago

Thanks for looking in to this, iRacing have stated on their forums that they are looking in to the Vive and they have (at least one) Vive in-house. Fingers crossed it won't be too long before they're able to get the Vive to work with it!

LibreVR commented 8 years ago

If I understood correctly iRacing now has official Vive support.