github

LibreVR / Revive

  • пятница, 15 апреля 2016 г. в 03:12:31
https://github.com/LibreVR/Revive

C++
This is a proof-of-concept compatibility layer between the Oculus SDK and OpenVR.



Revive Compatibility Layer

This is a proof-of-concept compatibility layer between the Oculus SDK and OpenVR.

Installation

Currently two games have been tested and are supported, it's important to note that they both require you to use an Xbox controller for now.

Only Windows 8/10 is supported right now, support for Windows 7 will be added in the next version.

Lucky's Tale

  1. Download the Lucky's Tale patch here.

  2. Install Lucky's Tale from Oculus Home, then go to C:\Program Files (x86)\Oculus\Software\playful-luckys-tale.

  3. Extract the patch in that folder, it will overwrite LT_Data\Plugins\OVRPlugin.dll so make sure you have a backup.

  4. Make sure SteamVR is running and then start LT.exe.

Oculus Dreamdeck

Credit goes to @rjoudrey for implementing the injector.

  1. Download the Revive Injector here.

  2. Install Oculus Dreamdeck from Oculus Home, then go to C:\Program Files (x86)\Oculus\Software\oculus-dreamdeck\WindowsNoEditor\Dreamdeck\Binaries\Win64.

  3. Extract the injector in that folder.

  4. Make sure SteamVR is running and then drag Dreamdeck-Win64-Shipping.exe into ReviveInjector.exe.

Implementation

It works by reimplementing functions from the Oculus Runtime and translating them to OpenVR calls. Unfortunately Oculus has implemented a Code Signing check on the Runtime DLLs, therefore the Revive DLLs cannot be used unless the application is patched.

The Revive DLLs already contain the necessary hooking code to work around the Code Signing check in any application. However you will still need to patch the application to actually load the Revive DLLs.

To-Do List

  • Implement OpenGL and DX12 support
  • Implement Oculus Touch support
  • Support games that use Oculus Platform online functionality