cancel
Showing results for 
Search instead for 
Did you mean: 

Skyrim : Rift Headtracking Mod (works with Controller!)

EisernSchild
Explorer
ALL the features of this Vireio Perception spinoff (and even more) got part of the new Vireio Perception driver (v.2.0.0). Please register on MTBS to download the driver for FREE :

http://www.mtbs3d.com

Regards, Denis (meanwhile Vireio Dev)


-------------------------------------------------------
Old Thread:


BIG UPDATE HERE:
Coded a tiny dll called "RiftInject.dll" based on Vireio Perception Code, easy to inject. Please delete the old mod, if installed.

Now supports Stereo-Rendering, Head-Roll. (basic Vireio functionality)

Player rotation accordingly to the rift is now done IN-GAME and works MUCH,MUCH better. (if not perfect)

Note that this dll should help the Vireio Perception project earlier or later, since it provides an easy way to test games on compatibility. On the other hand, direct game-rotation access (either player-rotation or camera-rotation) is maybe easier to handle in a dll but an external driver. I will try to make some further games work with it and then contact the responsibles for further assistance in the Vireio project by my person. (using this experiences)

Meanwhile, i look forward to the new Stereo-Render-Capabilities of the driver... 😉 (this dll still does the "old" eye-shutter technique)

Source code is added ("RiftInject.cpp"), only one (short) file !! Feel free to adapt it to other Direct3D-9 games, or to optimize it for "Skyrim".

HowTo:
start "Injector.exe"->enter "TESV" as process->select "Browse"->select "RiftInject.dll"->start "SkyrimLauncher.exe"->Play
(Be sure your screen resolution is set accordingly to the Oculus Rift !)
due to view rotation turn off shadows in "SkyrimPrefs.ini" :
bDeferredShadows=0, fShadowDistance=0.0000 fInteriorShadowDistance=0.0000 fShadowLODStartFade=0.0000
best "Field-of-View-Setting" is about 90, i think... skyrim console->"fov 90"

If this isn't working, it's maybe because Visual C++ Redistributable for Visual Studio 2012 isn't installed.
Grab it here: http://www.microsoft.com/en-us/download/details.aspx?id=30679

Fixed:
sky eye seperation fixed->just a workaround, do not change convergence
particle effects seem to work now again.
water refraction now correct->did set the pixel shader texture projection matrix accordingly
Convergence added->creates now a ini file in skyrim folder called "RiftInject.ini", where you can change both fSeperation and fConvergance if necessary

Known Issues:
water reflection "chaos"... no clue how to fix that currently :?:
could "possibly" crash after fast travel.. (happend for me one time)
please post if this dll does not work for you !

DOWNLOAD LINK:
https://dl.dropboxusercontent.com/u/13924535/RiftInject_TESV_Skyrim_v1002.zip

old:
https://dl.dropboxusercontent.com/u/13924535/RiftInject_TESV_Skyrim_v1001.zip
https://dl.dropboxusercontent.com/u/13924535/RiftInject_TESV_Skyrim_v1000.zip

Please note this about the Vireio Perception project:
https://developer.oculusvr.com/forums/viewtopic.php?f=29&t=2416&p=30793&hilit=skyrim#p30793











OLD THREAD:

Hey Guys ! Wrote this little Mod this weekend fixing the issue with the XBox Controller. It does Headtracking in TESV:Skyrim and should work with any way you control the game.

https://dl.dropboxusercontent.com/u/13924535/RiftHeadTracking.zip
(simply copy the files from the "bin" folder to your skyrim ROOT! directory)

The plugin should also set the field-of-view to "110". Change the "fov" in the "RiftHeadTracking.ini" file if you wish.

You still -of course- need the Vireio Perception driver for stereo-rendering. Set Render Method to "Oculus Rift" and Head Tracking to "No Tracking" !!

The latest should be found here:
http://vire.io/

Rotation on Z- and X-axis works, Y-axis not now. I will post the code in the development section for further improvements and update here.

Meanwhile, have fun playing "SkyRIFT" !! Hope this works for everyone.
75 REPLIES 75

drash
Heroic Explorer
Will have to try this out tomorrow! I haven't tried anything with Vireio yet, and I don't know what I'm waiting for. Thanks and good luck with continued development. 🙂
  • Titans of Space PLUS for Quest is now available on DrashVR.com

Tankshell
Protege
Thanks for this, I will give this a go tonight, having to use Keyboard has been annoying me a lot.
2500k@4.5Ghz EVGA 780Ti SC 8GB DDR3 Corsair Vengeance Win 8.1 x64

ikanreed
Honored Guest
Mechanically, what does your mod do? Realigns the view matrix every frame?

Tankshell
Protege
Hmmm, head roll does not work with this mod, the controller is working ok, and you can look around, but you can't roll your head.

Also if you try to press up or down on the right analogue stick it gets really jerky...
2500k@4.5Ghz EVGA 780Ti SC 8GB DDR3 Corsair Vengeance Win 8.1 x64

EisernSchild
Explorer
"ikanreed" wrote:
Mechanically, what does your mod do? Realigns the view matrix every frame?


No, does not touch any matrices. Just takes Rift Input and Outputs console commands to rotate the Players view. Quite simple, but at least we can play using the Controller.

EisernSchild
Explorer
"Tankshell" wrote:
Hmmm, head roll does not work with this mod, the controller is working ok, and you can look around, but you can't roll your head.


No head roll currently. Did not find out how to that now. Is not done by Player object Rotation but by the view Matrix, i guess.

"Tankshell" wrote:
Also if you try to press up or down on the right analogue stick it gets really jerky...


Yes, but in that case you never need to "adjust" your view back to the real looking angle. X-Axis Rotation is simply overwritten by the Rift Input.

EisernSchild
Explorer
Posted the Source Code, if anyone interested:

https://developer.oculusvr.com/forums/viewtopic.php?f=20&t=1906

brownie
Honored Guest
pretty good. have been hoping something like this might appear but the view is very jerky when looking around.

EisernSchild
Explorer
I know that the Players Rotation is very jerky right now... this comes since the Player is rotated by the mod and not a "look around"-Action is done as it should be... hope we will find better ways or the VorpX Driver lets us play it in a better Performance. Skyrim is definatly worth playing with the Rift... i had to look so much up and down, left and right as in no other Game... As i said, hopefully we find better Solutions. 😉