Engineering

Side project · Active · 2026

VRTRAKILL

A VR mod that makes ULTRAKILL playable with motion controllers on the game’s current Steam version, through SteamVR.

in the headset, with a separate 60 fps view for streaming
90 or 120 Hz
Source: in the headset, with a separate 60 fps view for streaming
in-game test hooks, run without wearing the headset
18
Source: in-game test hooks, run without wearing the headset
controller families with a layout, two of them tested on hardware
7
Source: controller families with a layout, two of them tested on hardware
ULTRAKILL in VR: the shotgun in the gun hand and the Feedbacker in the other, seen from the headset
ULTRAKILL from the headset, shotgun in hand.

C# · Unity · BepInEx · Harmony · OpenVR

Problem

ULTRAKILL’s community VR mod was built on older versions of the game, and players kept reporting the same problems. I started from the most recent community port and fixed the ones reported most.

Built with an AI coding assistant. I maintain it, with signed releases and a one-click installer.

Critical point 1 of 3

Large picture: what viewers get. Corner: the headset.

The usual monitor view is one eye of the headset, so it shakes with every head movement. I added a separate camera with smoothed head turns and a level horizon. It renders 60 frames a second into its own texture, so the headset keeps its 90 or 120 Hz.

ULTRAKILL in VR: the streamer view fills the picture, with the raw headset view in a corner inset marked HEADSET
My recording of 15 Nov 2026: 6 seconds, silent. Large picture: the streamer view. Inset marked HEADSET: the raw headset view, from the mod’s own “Corner” comparison.StreamerView.cs

Critical point 2 of 3

Input goes from SteamVR to the game.

Controls read SteamVR actions and feed the game through a virtual input layer. Buttons keep working when another window has focus, and by default no key press reaches Windows.

  1. 1Controllera button or a trigger
  2. 2SteamVR actionread by the mod
  3. 3Virtual input layerinside the game process
  4. 4ULTRAKILLits own controls react

Windows key pressesThe original mod sent every press this way (SendInput), to whichever window had focus. Now it is off by default, kept as a setting and as a fallback.

Input/VirtualInput.cs

Critical point 3 of 3

18 checks run in a real level.

A text file tells the mod to load a level and run checks with simulated hand poses. One counts punches at given hand speeds. Another measures the angle between the crosshair and the shot for each weapon.

LineWhat it doesWhat it checks or measures
inputtestPresses weapon slot, next weapon, shoot, jump and pause through the mod’s SteamVR handlers.Checks that the game reacted to each one.
unfocusedBrings the Windows taskbar to the front.Makes the checks after it run with the game window unfocused.
punchtestPresses punch with simulated hand speeds.Counts the punches.
aimtestHolds each weapon in the save and fires a rocket.Measures the angle between the crosshair and the shot line.
levelsweepLoads every level in turn.Logs whether the player and the VR eyes are there, the exceptions and the frame time.
perftestRuns for 10 s.Times the mod’s per-frame methods and records frame times and SteamVR’s dropped and reprojected frames.
  • inputtestPresses weapon slot, next weapon, shoot, jump and pause through the mod’s SteamVR handlers.Checks that the game reacted to each one.
  • unfocusedBrings the Windows taskbar to the front.Makes the checks after it run with the game window unfocused.
  • punchtestPresses punch with simulated hand speeds.Counts the punches.
  • aimtestHolds each weapon in the save and fires a rocket.Measures the angle between the crosshair and the shot line.
  • levelsweepLoads every level in turn.Logs whether the player and the VR eyes are there, the exceptions and the frame time.
  • perftestRuns for 10 s.Times the mod’s per-frame methods and records frame times and SteamVR’s dropped and reprojected frames.
The 12 other checks, in docs/BUILDING.md

Result

Version 2.0.3 is out on GitHub.

It runs through SteamVR, and the same install starts flat when SteamVR is off.