Skip to content
/ Revive Public
forked from LibreVR/Revive

Play Oculus exclusive games on the HTC Vive, scroll down for downloads and installation instructions. Please forward all donations to the EFF.

License

Notifications You must be signed in to change notification settings

shazron/Revive

 
 

Repository files navigation

Revive Compatibility Layer

This is a compatibility layer between the Oculus SDK and OpenVR. It allows you to play Oculus-exclusive games on your HTC Vive.

Refer to the wiki if you run into any problems. You can also find a community-compiled list of working games on the wiki, feel free to add your own results.

Installation

Always check the compatibility list before making a purchase.

  1. Install Oculus Rift S(oftware) and skip the first-time setup.
  2. Download the latest Revive installer.
  3. Install Revive in your preferred directory.
  4. Start SteamVR if it's not already running.
  5. Put on the headset, open the dashboard and click the new Revive tab.
  6. If you run into any problems, read the known issues below or refer to the wiki.

Known Issues

  • Newly installed applications may refuse to start when you try to launch them for the first time, simply follow these instructions to fix it or reboot your PC.
  • If you only see the 4 default games in the Revive dashboard and you have selected a different Library location during setup, then ensure you have your main library set as default. Revive will only detect games from the main library.
  • If you don't see the Revive tab, go to the start menu on your desktop and start the Revive Dashboard. Or check the Applications tab in the SteamVR settings to see if the tab is enabled.

Revive Logo

Building

Before the project can be built, you must retrieve and set up vendored dependencies.

In bash for Windows:

git clone git@github.com:LibreVR/Revive.git
git submodule update --init --recursive

Download the Oculus SDK for Windows here and place it in `Revive/Externals/'. Then:

cd Revive/Externals
unzip ovr_sdk_win_<version>.zip

The core Revive library project should then build normally in VS.

To build ReviveInjector, you need to build ReviveXR. To build ReviveXR, you need to build the OpenXR SDK :)

  1. Download and install Cmake for Windows.
  2. In Powershell, cd to Revive/Externals/openxr and do the following:
cmake -DCMAKE_BUILD_TYPE=Release -G "Visual Studio [VS Version] [arch]"

For instance, under VS 2017 on 64-bit Windows the build target would be Visual Studio 15 2017 Win64.

  1. Open the generated OPENXR.sln in VS
  2. In the C/C++ properties for project openxr_loader-1_0, change Runtime Library to Multi-threaded Debug (/MTd)
  3. Build the solution. This will perform an in-tree build of the OpenXR sdk and generate the loader library.
  4. ReviveXR and ReviveInjector should now build normally.

Notes:

  • You must build OpenXR with the same configuration (Debug / Release) that you build ReviveInjector and ReviveXR in to satisfy configured linker paths
  • Out of tree openxr builds will not work for the same reason, you must build in tree

About

Play Oculus exclusive games on the HTC Vive, scroll down for downloads and installation instructions. Please forward all donations to the EFF.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 61.0%
  • C 35.6%
  • QML 1.3%
  • JavaScript 0.9%
  • NSIS 0.9%
  • QMake 0.2%
  • HLSL 0.1%