Tired of pulling your headset on everytime you change code?
- Record VR actions once and replay each time you change code
- Replay at 2x/4x to shorten test cycles
- Test multiplayer VR on your own (and, in theory, without owning multiple headsets, but this isn't working yet)
- Since tracking data is recorded/injected at the OpenVR driver level, it works with any game engine
Demo: https://www.youtube.com/watch?v=GaCRjhzMMMg
Download the latest binary from the release section. Close SteamVR (important!) and run the installer.
To record:
$ openvr-input-recorder.exe record my_recording
To replay:
$ openvr-input-recorder.exe replay my_recording
To replay at 2x speed:
$ openvr-input-recorder.exe replay my_recording 2
To loop at 2x speed:
$ openvr-input-recorder.exe loop my_recording 2
By default, openvr-input-recorder.exe
will be installed at C:\Program Files\OpenVR-Input-Recorder\openvr-input-recorder.exe
.
- I recommend making recordings that leave your app in the same state at the start and end. Otherwise you'll have to put on the headset to reset the app.
- Input recording/playback doesn't work very well for testing non-deterministic stuff, for obvious reasons
- You'll need 2 or more machines, each with a connected headset. Record to a file accessible by all machines (I use Google Drive). Launch your app on all machines and playback the recording(s) as you see fit.