DrBibop-VRMod icon

VRMod

Play Risk of Rain 2 in virtual reality! Now with motion controls!

Last updated 7 hours ago
Total downloads 22463
Total rating 24 
Categories Mods Client-side
Dependency string DrBibop-VRMod-2.2.1
Dependants 0 other mods depend on this mod

This mod requires the following mods to function

bbepis-BepInExPack-5.4.9 icon
bbepis-BepInExPack

Unified BepInEx all-in-one modding pack - plugin framework, detour library

Preferred version: 5.4.9
RiskofThunder-HookGenPatcher-1.2.1 icon
RiskofThunder-HookGenPatcher

MMHOOK generation at runtime.

Preferred version: 1.2.1

README

Play Risk of Rain 2 in VR!

Experience Risk of Rain 2 in virtual reality with full motion controls support! Join the Flatscreen to VR Discord server to stay up to date with the development.

Playing in VR should be possible with any Oculus or SteamVR compatible devices. This includes WMR headsets with SteamVR. Make sure to disable game theatre mode in the game's properties.

If you want to support me and gain access to pre-release testing builds, you can head to my Patreon!

Installation

It is strongly recommended to use a mod manager such as the Thunderstore Mod Manager or r2modman and press the "Install with Mod Manager" button. Once done, you can start the game using the "Start modded" button.

For manual download, make sure to have BepInEx and HookGenPatcher installed. You can then download the VR mod with the "Manual Download" button and copy the plugins and patchers folder into the BepInEx folder.

Controls

Shoutout to laila, HutchyBen, Skarl1n, Geb, Popzix and Terrorcotta211 for helping me add support for all these controllers! Some controllers need special SteamVR bindings.

Oculus Touch controllers

Vive controllers

WMR controllers with trackpads

Index Knuckles/Reverb G2 controllers

The Index Knuckles and the Reverb G2 controllers use the same binds as the Oculus Touch controllers but need special bindings in SteamVR in order to function properly. Their support in this version of Unity isn't well implemented out of the box. There are two ways to correctly bind your controllers:

Option 1:

You can download the corresponding binding file below:

With your file downloaded, open a file explorer and go to C:/Users/%USERNAME%/Documents/steamvr/input/imports. Create the imports folder if necessary. Drag the binding file you downloaded into that directory.

Now that the file is setup, you can open the game in VR and open the SteamVR overlay. Inside the overlay, you can go activate the custom binding:

Option 2:

The community managed to publish either these binds or their own version publicly for you to try. You can find them in the same place as the GIF above shows.

FAQ

Wouldn't it be nauseating to play in VR?

Each person has a different level of tolerance regarding motion sickness and VR. Despite that, Risk of Rain 2 was not intended to be played in VR. This means that getting motion sick is more likely, especially with high mobility characters such as Loader or Mercenary. We plan to make the VR experience better for players in the future and feedback regarding this issue would be very appreciated.

Where are my VR hands?

Your hands will appear once you start a game. The menus don't use any motion controls at the moment. You can simply use the joysticks to navigate.

Can I play using the VR Mod in multiplayer with my non-VR friends?

Yes! The mod is only required for VR players. You can play with vanilla players just fine too!

Where can I configure the mod like turning off snap turning?

The VR Mod settings can be accessed in the mod manager while the game is closed. On the left, click on Config Editor > VRMod > Edit Config. You can then change the settings to your liking. Once you're done, make sure to save your changes with the Save button on the top-right.

Why play a 3rd person game in VR?

It honestly feels pretty great! This mod makes you play in first person by default but you can always come back to third person using the config editor.

I can't press any buttons when I launch the game.

This is likely because the game is not in focus on your PC. Make sure to click on the game window to pull it to the front. If your cursor is stuck in place, you can press the Windows key or Ctrl+Escape to unlock it and click on the game. If that doesn't fix it, relaunching the game should work.

The game won't launch in VR!

If you are using SteamVR and the game launches in game theatre mode, right click the game on Steam and go to Properties > General. You can then turn off the "Use Desktop Game Theatre while SteamVR is active" option. If it's still not working, there was likely an error when trying to activate VR. Ask for help on the Discord server.

Can I change my controller binds?

There isn't an official way to change your binds yet. You can do some changes to your controller binds in SteamVR but it won't change the icons shown in-game.

The game is lagging. What can I do to improve performance?

Disabling SSAO and Bloom in the game's settings should improve the performance. Make sure you also don't have too many other applications running in the background. If necessary, you can lower the resolution of your headset in SteamVR.

I have an Oculus headset and I don't want to use SteamVR.

No worries! You can switch to Oculus mode in the config file.
1. After launching the game in VR at least once, go to r2modman and click the Config editor on the left side.
2. Click on VRMod > Edit Config.
3. Set "Use Oculus mode" to true.
4. Click the Save button on the top-right.

To access the config file if you downloaded the mod manually, go to your game directory and head to BepInEx/config. You can then edit the "VRMod.cfg" file with a text editor.

I'm still getting problems.

You can ask for help in our Discord server. You can also check our issues list to see what problems are known.

Credits

DrBibop: Mod/patcher programmer, animator, 3D artist
MrPurple6411: Patcher programmer
dotflare: 3D artist
Ncognito: 3D artist
eliotttate: Original creator, code assist
HutchyBen: Code assist

Changelog

1.0.0

  • Initial release of the mod.

1.1.0

  • All menus are now visible in VR.
  • Enemy healthbars are now correctly positioned above enemies.
  • Ping icons have been pushed further away from the camera.
  • Added a config setting to disable VR.

1.1.1

  • Fixed some indicator icons that were too large.

1.1.2

  • Fixed yet another oversized indicator.
  • Removed R2API dependency.
  • Lowered the top part of the HUD (was reverted due to the anniversary update).
  • Fixed a bug that caused the game to launch in VR after disabling or uninstalling the mod.
  • Removed the need for launch options (this causes the game to launch in SteamVR by default).
  • Added a config setting to launch in Oculus mode.
  • Removed the "Enable VR" setting.

1.2.0

  • Added a bindable key to recenter the HMD (Default: RCtrl/Dpad-Up).
  • Added HUD config settings for UI scale and anchor placements.
  • Fixed a bug that caused the map name to display too high up.
  • Added MMHOOK Standalone as dependency (was previously included with the mod).

1.2.1

  • Icons no longer have a fixed distance.
  • Fixed a bug that caused icons to not correctly appear above targets.
  • Fixed targeting indicator placements (Huntress primary, Engineer missile launcher, recycler, capacitor, etc.).

1.3.0

  • Added first person config setting.
  • Added snap turn and snap turn angle config settings.
  • Added camera pitch lock config setting.
  • Removed camera recoil effects.
  • The pause menu now follows the camera rotation.
  • Changed MMHOOK dependency to HookGenPatcher.

2.0.0

  • Added motion controls support.
  • Added a vignette during high-mobility abilities to reduce motion sickness (can be disabled).
  • A dialog box now opens in the main menu telling the player how to recenter the HMD.
  • The sprint icon on the bottom right turns yellow while sprinting to compensate for the lack of visual cues like the crosshair.
  • The HUD should now appear at the same size no matter your resolution/FOV.
  • Added HUD width and height config settings (HUD anchor settings need to be reset to default if you have downloaded a previous version).
  • Fixed a bug that caused some targeting indicators to not face the camera properly.
  • Fixed a bug that caused the dialog box in the pause menu to not follow the menu rotation.

2.0.1

  • Reduced the size of multiple muzzle flashes and effects.
  • New setting: "Hide broken decal textures".
  • Added "Survivor Settings" config category:
    • New setting: "Commando: Dual wield".
    • New setting: "Bandit: Weapon grip snap angle".
    • New setting: "Mercenary: Swing speed threshold".
    • New setting: "Loader: Swing speed threshold".
    • New setting: "Acrid: Swing speed threshold".
  • The pop-up appearing when selecting a lobby in multiplayer now correctly appears in the headset.
  • The black transition screens now correctly appear in the headset.
  • The credits now appear in the headset (it is currently stuck on the headset but this will change soon).
  • Fixed a bug that caused inputs to not register when no profiles are selected.
  • Fixed a bug that caused the profile creation pop-up to be uninteractable.

2.1.0

  • Added a wrist HUD setting that attaches the healthbar, money display and skills to the wrist.
  • Added a watch HUD setting that attaches the inventory, chat, difficulty, objective and allies to a watch-like HUD.
  • Added a smooth HUD setting that adds smoothing to the camera HUD when moving the headset.
  • Added a spectator screen that appears in front of you when spectating players.
  • Added "Ray color" and "Ray opacity" settings to customize the aim ray.
  • Added more detailed models for Loader's hands, Bandit's shotgun and Bandit's revolver.
  • Removed "UI scale" setting as it already exists in-game.
  • Removed the center smoke effect on Bandit's stealth ability for improved visibility.
  • Possibly fixed a bug that caused the Heretic wings to appear on the wrong player which would break some abilities.
  • Fixed a bug that caused Heretic's primary skill projectiles to not appear from the hand after transforming.
  • Fixed a bug that caused Vive Cosmos controllers to use the standard Vive controller binds.

2.1.1

  • The credits no longer stick to the camera.
  • The spectator screen is now fully opaque.
  • Loader's aim rays have been aligned better with the mech arms.
  • Fixed a bug that caused the spectator screen to not appear in multiplayer for non-host players.
  • Fixed a bug that caused the shield effect to appear abnormally large on Bandit's new weapon models.
  • Fixed a bug that caused MUL-T's left hand animations to break when activating power mode right before transport mode.

2.2.0

  • Compatibility with the new VR API which adds the possibility of VR compatible mods such as custom characters.
  • New hand models for all survivors.
  • Equipments, items and body effects that were obstructing vision are now hidden for better visibility.
  • Fixed a bug that made bullets and projectiles no longer appear from weapon muzzles after reviving.
  • Fixed a bug that made bullets no longer appear from the main weapon's muzzle on Bandit when disabling Commando's dual wield setting.

2.2.1

  • Fixed a bug that caused the Smooth HUD config to be ineffective.
  • Fixed a bug that caused floating equipments to re-appear when teleporting to a new stage.

Available versions

Please note that the install buttons only work if you have compatible client software installed, such as the Thunderstore Mod Manager. Otherwise use the zip download links instead.

Upload date Version number Downloads Download link  
2021-8-2 2.2.1 83 Version 2.2.1 Install
2021-7-21 2.2.0 1887 Version 2.2.0 Install
2021-6-28 2.1.1 3646 Version 2.1.1 Install
2021-6-21 2.1.0 1837 Version 2.1.0 Install
2021-5-26 2.0.1 6825 Version 2.0.1 Install
2021-5-21 2.0.0 4994 Version 2.0.0 Install
2021-4-16 1.3.0 1033 Version 1.3.0 Install
2021-4-8 1.2.1 378 Version 1.2.1 Install
2021-4-8 1.2.0 96 Version 1.2.0 Install
2021-3-27 1.1.2 671 Version 1.1.2 Install
2021-3-23 1.1.1 418 Version 1.1.1 Install
2021-3-22 1.1.0 151 Version 1.1.0 Install
2021-3-17 1.0.0 444 Version 1.0.0 Install