Serious Sam 2 VR (OpenXR) mod, development build. Unofficial and incomplete: expect rough edges.
New in this build
- Music with spatial audio is back. With
[Audio] Spatialon, a music stream that briefly ran out of data (for example during a level load) was stopped and never started again, so the music stayed silent while the game kept decoding it every frame. Such streams are now started again, as with the game's own DirectSound audio. This also removes about 1 ms of CPU work per frame. - Faster rendering:
- The single-pass renderer no longer resets viewport and scissor state after every draw (
[Render] SinglePassLazyState, default 1). That saves about 0.6 ms per frame on Windows, and helps on Linux too. - Fewer memory checks per frame save about 0.5 ms on Windows.
- On a Windows test PC (i5-9600K, RX 6900 XT, SteamVR at Valve Index resolution) the game now reaches about 90 fps.
- The single-pass renderer no longer resets viewport and scissor state after every draw (
- New optional settings (off):
[Render] ShadowRefreshFrames. - Server and clients must run the same SS2VR version.
Install
Download the installer for your system below and run it:
- Windows:
ss2vr-installer-windows-x86_64.exe(double-click; a console window opens) - Linux (Proton):
ss2vr-installer-linux-x86_64(chmod +xit, then double-click it or run it from a terminal) - Steam Frame:
ss2vr-installer-linux-arm64(run it on the Frame)
It finds Serious Sam 2 through Steam, downloads the latest release, checks every file and installs it. Run it again to update (your VR settings are kept) or to uninstall. The installers are also inside the zip.
Manual install: extract SS2VR-<version>.zip and run python install.py install --game "<Serious Sam 2 folder>".
Requirements
- The current Steam build of Serious Sam 2 (the installer refuses other builds).
- An OpenXR runtime with a headset (SteamVR, Monado/WiVRn, ...) for VR. Run the game windowed, no MSAA.
- Linux: Steam launch options
WINEDLLOVERRIDES="d3d9=n,b" PRESSURE_VESSEL_IMPORT_OPENXR_1_RUNTIMES=1 %command%(the Linux installer sets them). - Multiplayer: everyone, and the server, needs this same version.
No game files are included. The zip contains the full source (GPL-3.0). See the README for controls and settings.