quick setup - JotaroS/OpenVR-MotionCompensation GitHub Wiki
https://github.com/openvrmc/OpenVR-MotionCompensation/wiki/Source-Project-Setup
build setup
- you need to install Boost: follow original wiki on the top. This takes a lot of time: so do below as it's installing.
- also need to install nlohman json, put that in
third-party
folder. - open main .sln file, and build project
lib_vrmotioncompensation
. This should be done only once.
- you need to setup include directories to boost / openvr / nlohman-json, link library for boost.
- In Linker option of
driver_vrmotioncompensation
property, go to "Commandline" option and add additional option"/DYNAMICBASE "xinput.lib"
. This will include xbox controller commands. - build
driver_vrmotioncompensation
with Release x64 target. (ignore client_overlay)
- you need to setup include directories to boost / openvr and link library for boost and above
lib_vrmotioncompensation.lib
file.
driver_vrmotioncompensation
folder is the driver you want to install.
installing driver
- drag
driver_vrmotioncompensation
into SteamVR driver directory (e.g.C:\Program Files (x86)\Steam\steamapps\common\SteamVR\drivers
) - rename
x64
insideyour_driver/bin/
intowin64
(so steamvr can find it) - Run SteamVR with HMD connected.
- When successful, the .log file will be exported in
your_driver/bin/
folder.
log
- steamVR side of log will be on
C:\Program Files (x86)\Steam\logs\vrserver.txt
(you will know if driver is loaded or not) - OVR-MC log will be
your_driver/bin/blablabla.log