LibreVR / Revive

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

Oculus Runtime 1.4 blocks Revive from working #100

Closed cccpphil closed 8 years ago

cccpphil commented 8 years ago

Hello, The games do not work anymore since the update Oculus (Entitlement check failed)

LibreVR commented 8 years ago

As far as I know, there is no 1.4 Runtime. You simply forgot to reboot the Oculus software. Go to Settings > Beta > Restart Oculus in Oculus Home to solve this problem.

LibreVR commented 8 years ago

Seems like they indeed updated the runtime, I'll come up with a fix soon.

vraddict commented 8 years ago

Same here !! all games stopped working (Entitlement check failed) (unable to find headset) ..

LibreVR commented 8 years ago

@vraddict Can you try extracting these DLLs next to the game executable? If that doesn't work try extracting them in Oculus\Support\oculus-runtime. (Make backups!)

vraddict commented 8 years ago

Tried the DLLs in Oculus\Support\oculus-runtime and next to executables !! still the same for me not working !

LibreVR commented 8 years ago

Ok, well I'll have to come up with a proper fix then. I'll examine the update this weekend and see what measures they've taken.

vraddict commented 8 years ago

update after some testing !! Strange things happening !! none of my 12 oculus games showing up in steam anymore.. Also VR-Tennis online still works with the injector by dragging the executable to reviveinjector. none of the other games work anymore.....

LibreVR commented 8 years ago

@vraddict Can you check whether those games have been automatically moved from Oculus\Software to Oculus\OculusGames?

Also, only games that use the Oculus Platform DRM are likely affected by this change.

vraddict commented 8 years ago

okay for some reason in oculus store my game where showing as not installed in the library, But all games are still in oculus/software.. ive reinstalled the games which overwrites the games in oculus/software... all game are now showing in steam and on revive dash....

LibreVR commented 8 years ago

But they're still not starting right?

vraddict commented 8 years ago

still not starting !!

LibreVR commented 8 years ago

Have you tested the Injector instead of the Dashboard? Can you post the logs from %APPDATA%\Revive?

vraddict commented 8 years ago

yes tested the only game that runs is vr tennis which i guess does not use the oculus DRM

LibreVR commented 8 years ago

Can you post the logs after you've tried running a game that doesn't work? I wonder if there's anything interesting in there.

vraddict commented 8 years ago

Launched injector with: ReviveInjector_x86.exe /handle 364 Injecting process handle: 364 Injecting DLL: C:\Program Files\Revive\Revive\x86\openvr_api.dll LoadLibrary found at address: 0x77944bf0 Injecting DLL: C:\Program Files\Revive\Revive\x86\LibRevive32_1.dll LoadLibrary found at address: 0x77944bf0 Injected dlls succesfully

vraddict commented 8 years ago

Launched injector with: C:\Program Files\Revive\Revive\ReviveInjector_x64.exe /base "Software/viewpoint-games-ltd-vr-karts/VRKarts.exe" Creating process: C:\Program Files\Oculus\Software\viewpoint-games-ltd-vr-karts\VRKarts.exe Injecting DLL: C:\Program Files\Revive\Revive\x64\openvr_api.dll LoadLibrary found at address: 0x308e74d0 Injecting DLL: C:\Program Files\Revive\Revive\x64\LibRevive64_1.dll LoadLibrary found at address: 0x308e74d0 Injected dlls succesfully

LibreVR commented 8 years ago

Ok, so they didn't patch the DLL injection at least.

vraddict commented 8 years ago

guess its down to the new runtime ?

LibreVR commented 8 years ago

Definitely seems like it, just look at the patch notes:

Bug fixes and security updates, including updates to platform integrity checks

vraddict commented 8 years ago

Yep Definitely looks like the runtime,, just to add some games fail to launch full stop.. steam - shortcut launch failed !!

vraddict commented 8 years ago

shortcuts are fine just needed to restart steam !! on trying to run (The climb) a error pops up saying (A connection to oculus store could not be established . please check your internet connection and firewall and make sure that you are logged into your oculus store account........

LibreVR commented 8 years ago

What about the other games on the Oculus Store? Have you tested Lucky's Tale?

vraddict commented 8 years ago

so far just that one !! after i get the error all shortcuts fail and a restart of steam and steam vr is needed i will check the games i have and report my findings asap

LibreVR commented 8 years ago

Does Lucky's Tale, Dreamdeck, etc. work?

SRombauts commented 8 years ago

Where can I read online about the 1.4 oculus runtime? Or is it only somewhere in the Oculus Home app? Yesterday I tried Revive for the first time and had a great time, but I believe it was still on 1.3.0.

vraddict commented 8 years ago

lucky`s tail (game failed entitlement check) Dreamdeck (unable to find HMD) Blash Rush ( unable to find HMD) Chronos (unable to find HMD)

vraddict commented 8 years ago

VR Karts (quick flash on screen then nothing)

LibreVR commented 8 years ago

@SRombauts You can read about it here: https://forums.oculus.com/community/discussion/36575/oculus-app-1-4-release-notes

@vraddict Can you try clicking Settings > Beta > Restart Oculus in Oculus Home? That should refresh the entitlement checks and then you can try to boot those games again.

vraddict commented 8 years ago

yes i did that before i started testing !! tried it again all game still the same....

gormanj commented 8 years ago

All the games that I have that are not Oculus home exclusive titles are still working fine.

LibreVR commented 8 years ago

@gormanj Definitely, I've finally been able to test the update myself. What has happened is that the Oculus Platform DRM has started to check whether the Oculus Rift is actually connected.

All games that don't use the Oculus Platform SDK are not affected. Even some Oculus Studios titles such as the Introduction to Virtual Reality are unaffected.

SRombauts commented 8 years ago

Ouch, if they are starting to enforce DRM, this is not good for us in the mid-term...

vraddict commented 8 years ago

DRM can be removed but cant think of any legal way of doing it....

LibreVR commented 8 years ago

It's certainly not something I'd want to do, I want people to buy the games not pirate them.

I will see if I can fool the DRM into thinking the Rift headset is connected, but still allow it to do the actual entitlement check.

vraddict commented 8 years ago

Sounds like a plan !!!

LibreVR commented 8 years ago

Also, if you have an Oculus Rift CV1 or DK2 then connecting the tracking camera and headset when starting the game will work around this issue.

vraddict commented 8 years ago

did have the DK2 but sold on when my vive arrived. Im sure you will find a work around, if you need me to do any testing , give me a shout !!

vraddict commented 8 years ago

It seems the Oculus Platform DRM as been changed with the update, its checking if you have a rift connected or not. @LibreVR said he was looking into fooling the DRM into thinking the rift HMD is connected. cant see this been a easy fix, but we can hope. seems to me like a silly move by Oculus if the update was intended to block revive, as of today people were happy to pay for the games on the store and support Oculus, I think there have just opened the door to Piracy which will in someway damage the VR future.....

LibreVR commented 8 years ago

@gormanj Can you make a zip file with the OVRPlatform DLLs in Oculus\Support\oculus-runtime? You might be able to use them with the Oculus 1.4 Runtime.

vraddict commented 8 years ago

@gormanj what folder are you grabbing the files from when reinstalling home ??

vraddict commented 8 years ago

is it anything to do with the OculusOnlineSubsystem ?? because i am getting different errors ?

gormanj commented 8 years ago

Reinstalling with Oculus Setup is not currently a workaround for this issue.

ViveVR commented 8 years ago

@gormanj the workaround didn't work for me. To clarify here are the steps I took:

  1. download the oculus setup from their website
  2. ran installation defaults to c:\program files\oculus
  3. after it finished install it took me to the oculus store and immediately says hardware not setup.
  4. find lucky's tale from store and install which downloaded ~1.4 gb for the game
  5. after game downloaded and installed, it asked to install some system changes needed for the game I chose yes.
  6. i opened up service manager and stopped the oculus vr runtime service, which automatically closes oculus home.
    6.5 opened up windows firewall advanced blocked the 4-5 services that had incoming and outgoing access to the firewall changed to "blocked"
  7. started the service back up and then clicked on the oculus icon to reopen.
  8. opened up SteamVR and chose revive tab, clicked on lucky's tale and says entitlement check error.
  9. tried using the drag LT.exe into reviveinjector.exe and this results in "headset not connected".

Any advice?

ViveVR commented 8 years ago

I tried again by shutting down the oculus vr service, deleting the c:\program files\oculus folder, then restarting. And then reinstalled oculuset setup and then install lucky's tale. then stop and start the service which automatically brings up the oculus store. then tried dragging the lucky's tale lt.exe to reviveinjector.exe and same thing - says no headset found.

ViveVR commented 8 years ago

my oculus app version shows "1.4.0.224375 (1.4.0.2249996)" when you go to oculus settings and then "general"

Razalom commented 8 years ago

Well plugged in my DK2 and Sensor but sadly my 970 only has 1 HDMI port and the games still wont run that are in Oculus Home. Obviously might be the HDMI issue causing this but no way to test that part of it.

gormanj commented 8 years ago

Not sure why it needs the HDMI plugged in if you are using the Vive for VR, but there is always a Display Port to HDMI adapter ($9-$12).

ViveVR commented 8 years ago
  1. stop the OVR service with "OVRServiceLauncher.exe -stop" in the command prompt. DONE
  2. Then restart your computer. DONE
  3. Then try the same command. You should get an error. NO ERROR

On step 3 i didn't get any error . What is the error I should get?

ViveVR commented 8 years ago

I went through the process and Lost says "unable to find the HMD" when i drag the app into reviveinjector64.exe. To answer your question if I had used Revive successfully before today - Yes, it worked on Lucky's Tale but that was the only one I had tried.

gormanj commented 8 years ago

Reinstalling with Oculus Setup is not currently a workaround for this issue. Checksums will identify changed files.