Revive icon indicating copy to clipboard operation
Revive copied to clipboard

iRacing crashes on load

Open dtandersen opened this issue 10 years ago • 22 comments

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/

dtandersen avatar Jun 07 '16 19:06 dtandersen

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.

ghost avatar Jun 08 '16 00:06 ghost

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.

yidhoe avatar Jun 09 '16 17:06 yidhoe

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.

ghost avatar Jun 09 '16 21:06 ghost

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

trwoteb avatar Jun 09 '16 21:06 trwoteb

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/

TOCA2FREAK avatar Jun 11 '16 00:06 TOCA2FREAK

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.

ghost avatar Jun 11 '16 11:06 ghost

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

TOCA2FREAK avatar Jun 11 '16 18:06 TOCA2FREAK

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....

yidhoe avatar Jun 13 '16 15:06 yidhoe

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.

ghost avatar Jun 13 '16 16:06 ghost

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?

aWakeParks avatar Jun 13 '16 17:06 aWakeParks

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

ghost avatar Jun 13 '16 21:06 ghost

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

aWakeParks avatar Jun 13 '16 21:06 aWakeParks

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

TOCA2FREAK avatar Jun 13 '16 21:06 TOCA2FREAK

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.

aWakeParks avatar Jun 13 '16 21:06 aWakeParks

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.

TheHairyGun avatar Jun 19 '16 08:06 TheHairyGun

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

StephF1 avatar Jun 22 '16 18:06 StephF1

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

ghost avatar Jun 25 '16 19:06 ghost

Thanks for trying!

Hopefully they will implement Vive support fairly soon.

Acurus avatar Jun 25 '16 19:06 Acurus

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

TOCA2FREAK avatar Jun 25 '16 19:06 TOCA2FREAK

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.

martinw89 avatar Jun 25 '16 20:06 martinw89