Skip to content

jakedowns/rust-ovr-cemuhook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

rust-ovr-cemuhook

tiny server to route Oculus Rift HMD Tracking Data to Emulators using Cemuhook gamepad motion protocol

Build the server

  • cargo build --release --example ovr-server

Run the server

  • clear; .\target\release\examples\ovr-server.exe

Test the server

this is a combination of zduny's pad-motion rust implementation,

combined with the dylanede's ovr-sys libOVR bindings crate

  1. the idea is to gather ovrTrackingState.HeadPose.ThePose.Orientation every 10ms or so,

  2. mix it with ovrTrackingState.CalibratedOrigin,

  3. then pass the deltas to yuzu using the cemuhook protocol over a little UDP server.

seems to be working with super mario odyssey 1.3.0 in yuzu. still need to test breath of the wild.

it's a little janky, but perhaps better than taping an android phone to your HMD 🤷

10/15/22

nearly working, tho, the values are not right. lots of gimbal locking happening. nearly playable. but mostly a mess

10/17/22

mostly working now, in breath of the wild, it was working when zooming with the slate haven't tried aiming with it yet mario is more stable, but still mis-aligned. i think i need to offset one or two of the axes by 90deg or so

image

image

similar work

DorsalVR (currently dolphin only, maybe i can contribute a config for yuzu?)

About

Use Oculus/Meta Rift Quest/XR HMD Tracking as Motion input for Cemu/Dolphin/Yuzu over Cemuhook protocol

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published