Skip to content
This repository was archived by the owner on Jan 2, 2021. It is now read-only.

Build Instructions

Luke Groeninger edited this page Mar 2, 2015 · 6 revisions
Building binaries - Windows
  1. Clone or copy the repository into a directory of your choice.
  2. Copy the OculusSDK folder from the Oculus Rift SDK into the external directory in the root of the repository.
  3. If you are building SteamVR support, copy the Steamworks SDK folder sdk into the external directory and rename it Steam.
  4. Open quake2.sln in Visual Studio. By default this is a VS2012 project, but can be bludgeoned into working with VS2010 and VS2013.
  5. Build it for your desired profile. If you are building without SteamVR support, build the Release - No SteamVR profile.
  6. Binaries are created in the build directory under the repository root.
Building binaries - Linux

For Ubuntu:

sudo apt-get install cmake libglew-dev libsdl2-dev libz-dev mesa-common-dev
git clone https://github.com/q2vr/quake2vr.git quake2vr
cd quake2vr/
cmake ./
make -j4

This will, by default, build it so that it attempts to dynamically load libovr. If you want to statically link to it, unzip the SDK into external/OculusSDK and re-run cmake. It should find and configure itself accordingly.

Building game data files
  1. Compress the contents of misc\vrquake2.pk3\ into a .zip file
  2. Rename it to vrquake2.pk3

Clone this wiki locally