Skip to content

stsichler/portal_reloaded_vr

 
 

Repository files navigation

Portal 2 icon Portal Reloaded VR

Use this mod at your own risk of getting VAC banned. Use the -insecure launch option to help protect yourself.

Apparently Portal Reloaded doesn't have VAC, but just to be safe you should still run the game with the insecure flag.

This game contains flashing lights and fast motion sequences.

Things that work

  • Singleplayer
  • 6DoF VR view
  • Motion controls for portal gun and grabbable objects
  • 3rd portal (use left trigger)

Things that need fixing

  • Initial player height is wrong and must be manually adapted
  • Lighting effects of portal gun are misplaced
  • Time portals can be placed when it should not be possible at all
  • Use the game's own haptic feedback
  • In-game UI and pause menu are broken
  • 6DoF and Roomscale needs to be reimplemented

How to use

  1. Download PortalReloadedVR.zip and extract the files to your Portal Reloaded directory (steamapps\common\Portal Reloaded)

  2. Connect your headset, then launch Portal Reloaded with these launch options:

    -insecure -window -novid +mat_motion_blur_percent_of_screen_max 0 +mat_queue_mode 0 +mat_vsync 0 +mat_antialias 0 +mat_grain_scale_override 0 -width 1280 -height 720

  3. To recenter the camera height, press down on the left stick. To see the HUD, aim the controller up or down.

Troubleshooting

If you have no audio:

  • Go to steamapps\common\Portal Reloaded\portal2_dlc3 and execute UpdateSoundCache.cmd

If the game isn't loading in VR:

  • Try opening SteamVR before the game
  • Disable SteamVR theater in Steam settings
  • Try to unblock access to files that were extracted to bin/ (d3d9.dll and openvr_api.dll)

If the game is stuttering, try:

  • Steam Settings -> Shader Pre-Caching -> Allow background processing of Vulkan shaders

If the game is crashing, try:

  • Lowering video settings
  • Disabling all add-ons then verifying integrity of game files
  • Re-installing the game

Build instructions

  1. Clone Repository
  2. Run git submodule update --init --recursive
  3. Run dxvk-apply-patches.bat
  4. Open l4d2vr.sln
  5. Set to x86 Debug or Release
  6. Build -> Build Solution

Note: After building, it will attempt to copy the new d3d9.dll to your Portal Reloaded/bin directory.

Based on

Utilizes code from

Support the original author

Donate Button

About

Portal Reloaded VR Mod

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 98.4%
  • C 1.6%