Install PortXR and play a game in VR
What you need, the three steps from download to playing a flat game in VR, and the extra step on Linux.
By EncidXVII. Checked with PortXR 0.5.0. Updated .
PortXR has no installer. You unpack it, pick a game and press Play in VR.
What you need
- Windows 10 or 11, 64-bit, or Linux with Steam’s Proton.
- A PC VR headset and an OpenXR runtime: SteamVR, Virtual Desktop, Meta Quest Link, WiVRn or Monado.
- A 64-bit Unity, Unreal Engine (4.22 or newer) or Godot 4 game that renders with Direct3D 11 or 12. Most Windows games of those engines do.
Steps
- Download PortXR, unpack the zip anywhere and keep the folder together.
- Start your headset’s runtime (SteamVR, Virtual Desktop or Quest Link), then run
PortXR.exe. It lists the games it finds on Steam, Epic and GOG. Missing one? Add game and pick its folder. - Pick a game and press Play in VR. PortXR adds itself to the game folder and starts the game.
In the game, double-tap the left menu button (or press F11) for the VR menu: display mode, recenter, world scale, turning, comfort vignette and the controls. The first time VR starts in a game, a short card walks you through recenter, world scale and the controls.
Linux (experimental)
PortXR runs Windows games through Proton. Unpack the Linux build and run ./PortXR.
- Proton only loads PortXR with these in the game’s Steam launch options (Properties, General). The game’s page
in PortXR shows them with a Copy launch options button:
WINEDLLOVERRIDES="winhttp,dwmapi=n,b" PRESSURE_VESSEL_IMPORT_OPENXR_1_RUNTIMES=1 %command% - Where a game has its own Linux build, force Proton for it (Properties, Compatibility) so Steam downloads the Windows version.
- WiVRn (standalone headsets) or Monado (wired) work best. SteamVR for Linux works too.
If the game starts flat
Start the VR runtime first and put the headset on. The game’s page names the runtime PortXR will use and says what to check. Still flat? Press Export logs on the game’s page and open an issue with the zip.
Good to know
- Single-player only. PortXR refuses games with EasyAntiCheat or BattlEye.
- Windows may warn that the publisher is unknown, because the build is not code-signed yet. Some antivirus tools
flag
winhttp.dll, the mod loader’s entry point, inside game folders. - Remove VR on a game’s page puts its folder back byte for byte.