VRGIN.Template
Generic template project that illustrates how to use VRGIN.
Using the source code
Building
- Checkout the project (recursively, because VRGIN is included as a submodule)
git clone --recursive https://github.com/Eusth/VRGIN.Template.git
cd VRGIN.Template
- (Optional) Launch Bootstrapper.exe and set your project name. This will automatically rename the project file to your liking.
- Open the solution (*.sln) file
- (Optional) Open Deploy.props and set
<GameDirectory>
to the directory where your game resides. This will automatically deploy your mod when you build
- Start the build in the Release configuration
This will generate all you need inside bin\Release
. (This should be the same output as on the releases page). If you've set the game directory, your game will also have been updated.
Running
- Patch your game by dragging its executable on IPA.exe (only has to be done once)
- By default, the game will now boot into VR mode when SteamVR is running (make sure Desktop Game Theatre is disabled)
Using the release
Installation
- Download release from the release page
- Extract contents into a Unity folder
- Drag the game executable onto IPA.exe
Running
Start the game while SteamVR is running or use the --vr
flag.