betavr / steamvr_driver_hydra

Enhanced OpenVR Driver for Razer Hydra using Sixense SDK
BSD 3-Clause "New" or "Revised" License
51 stars 6 forks source link

Razer Hydra not detected in some games (SteamVR) #25

Closed AlexLogin0ff closed 6 years ago

AlexLogin0ff commented 8 years ago

Razer Hydra not detected in games (UE4) - NVIDIA® VR Funhouse, The Nest, Out of Ammo, Lightblade VR... :(

SooSiaal commented 8 years ago

You can add raw data to the list,it detects controllers but not working right at all

betavr commented 8 years ago

Thanks, they will be added to the unsupported list.

Can you tell me in more detail why these games don't work?

betavr commented 8 years ago

Also, can you please verify the method described in the post below works? https://www.reddit.com/r/oculus/comments/4svgi0/nvidia_vr_funhouse_with_leap_motion/

SooSiaal commented 8 years ago

for Raw Data,turning compatibility on or off doesnt change a thing, it sort of recognizes the controllers,but the hands ingame dont move along with the hydras (rotation does work somewhat),left trigger activates right trigger as well,those sort of things

AlexLogin0ff commented 8 years ago

Do not work at the program level, you need to look in NVIDIA® VR Funhouse, free to Steam - http://store.steampowered.com/app/468700/

betavr commented 8 years ago

@SooSiaal ok, thanks!

@AlexLogin0ff I'd try it myself, but I can't launch it on my AMD gpu.

AlexLogin0ff commented 8 years ago

the problem is solved, it will be interesting to all - Rift + Hydras (compatibility mode for win 7 on VRFunhouse.exe) it works flawless and other games on UE4 !!! Remains an open question with "Raw Data", controllers at the start of the game is not in his place and they can not be calibrated

rblostwolf commented 8 years ago

not detecting them in fruit ninja vr

rblostwolf commented 8 years ago

oh sorry just saw the compatibility thing you mentioned and it works now thanks for that

AlexLogin0ff commented 8 years ago

Tested! - NVIDIA® VR Funhouse, The Nest, Out of Ammo, PoolNation VR, The Path of Greatest Resistance, Portal Stories: VR, The Solus Project

betavr commented 8 years ago

Awesome news! :+1: Method added to the wiki, thank you everyone for testing!

Regarding Raw Data, I'll try to speak with the developer.

SooSiaal commented 8 years ago

I asked them a qustion about it on facebook,think it got misunderstood as they said Hydra won't be supported :p But as this driver emulates the vive wands i'm sure there are some possibilities getting it to work.. i'm no programmer so i can't be of much help there unfortunately

betavr commented 8 years ago

Interesting, some ppl on reddit are saying that they can play Raw Data with the hydras: https://www.reddit.com/r/oculus/comments/4sy8dv/raw_data_doesnt_work_with_rift_touch/d5df46h

AlexLogin0ff commented 8 years ago

You can play the Raw Data, if you put a Hydra base at shoulder level in front of you. it is playable, but not perfect! Something interferes for the emulator in the game at the program level

betavr commented 8 years ago

Weird, so it basically ignores the calibration of the base station?

AlexLogin0ff commented 8 years ago

In Raw Data the controllers by themselves (they can not be calibrated), emulator only gives their inclusion in the game

SooSiaal commented 8 years ago

That is odd,will test this

betavr commented 8 years ago

@AlexLogin0ff maybe the game has built-in Hydra support, but it's broken. Can you try what happens if you press the system button (does the SteamVR dashboard appear)? Are the controllers still uncalibrated on the dashboard too?

AlexLogin0ff commented 8 years ago

if you click on SteamVR menu, you can see emulated controllers, they are here in perfect location, located in the game one's own way

betavr commented 8 years ago

Very strange, I can only assume it's accessing the hydra directly. Could you check if the game's install folder contains the file sixense.dll, or sixense_x64.dll?

AlexLogin0ff commented 8 years ago

default

AlexLogin0ff commented 8 years ago

default

betavr commented 8 years ago

Wow, so they do have their own controller implementations. I'd try to remove the Sixense and SixenseStem folders, and see what happens in the game.

AlexLogin0ff commented 8 years ago

I tried, did not help

betavr commented 8 years ago

Delete all of the sixense_*.dll files from the game's folder, and make sure Steam doesn't reinstall them when you launch the game. Doing this should disable their built-in hydra driver.

AlexLogin0ff commented 8 years ago

version in game - OpenVR v0_9_12 It has a value or not?

AlexLogin0ff commented 8 years ago

Я буду стараться, я напишу позже

AlexLogin0ff commented 8 years ago

unfortunately it did not help (

AlexLogin0ff commented 8 years ago

may need to change in this file - default

AlexLogin0ff commented 8 years ago

[/Script/Survios.SVRLocalPlayerSettings] SyncedPlayerSettings=(ControllerMode=Motion,HMDMode=HMD,HMDType=Survios,HandTrackerParent=Head,HandTrackerBaseOrientation=(RelativeLocation=(X=66.143242,Y=-5.098728,Z=48.728882),RelativeRotator=(Pitch=77.475006,Yaw=-8.435512,Roll=-5.044755)),AvatarCollisionMode=IgnoreBodyAndInteractionCollisions) MotionControllerSettings=(MotionControllerThumbPadMode=Analogue,MovementDeadZone=0.100000,ThumbPadMaxVal=0.800000,InitialMovementDelayZone=0.800000,InitialMovementDelayMaxDuration=0.200000,InitialMovementDelayMaxThumbMovementDistance=0.300000,bNormalizeThumbPadInput=False,bSetInitialTouchLocationAsJoystickOrigin=False,bInitialMovementDelayIsEnabled=True,bRequiresThumbstickClickForMovement=True) FirstPersonAvatarMode=ArmsOnly

betavr commented 8 years ago

Can you provide more detail on why it didn't help? Did the game detect the hydra without the sixense dlls?

I'm trying to figure out if we can disable their Hydra driver completely, otherwise you are relying on their implementation, and I'm not sure I can help you with that. Although that SVRLocalPlayerSettings does look like it contains some kind of calibration data.

SooSiaal commented 8 years ago

yes it detects the controllers without the dlls but they still function the same as before,before pushing any button or trigger the wands ingame follow the hydras,but as soon as a button is pressed the ingame wand moves off to a random position (usually infront or above you) and is turned 180 degrees

betavr commented 8 years ago

Strange. Can you check if the Thirdparty\OpenVR directory contains a driver subdirectory?

SooSiaal commented 8 years ago

only the OpenVRv0_9_12 folder with the api dll

frictionjones commented 8 years ago

Hello, I just realized that the right mouse button does the same thing the right hydra trigger should do in raw data; is it possible to map the right mouse button to that trigger?

AlexLogin0ff commented 8 years ago

Here in the video is the answer to your question - https://www.youtube.com/watch?v=p8ghvNIzWiw

betavr commented 8 years ago

Nice video! It looks like hemisphere tracking is not being enabled by the game's builting driver.

SooSiaal commented 8 years ago

I just tried putting hydra base at shoulder height but still no dice,same problem keeps happening :(

betavr commented 8 years ago

@SooSiaal Have you tried to disable/uninstall the hydra driver before starting raw data?

Btw the steam app will be online very soon, so the install/uninstall procedure will be much faster.

SooSiaal commented 8 years ago

ohh no i havent tried that yet hehe

frictionjones commented 8 years ago

Which hydra driver should be disabled or uninstalled?

AlexLogin0ff commented 8 years ago

drivers do not need to be removed

AlexLogin0ff commented 8 years ago

You need to correctly place the Hydra base at shoulder level, in the center of the area!!!! Themselves to be behind this area 1

betavr commented 8 years ago

@frictionjones This driver, but @AlexLogin0ff just clarified that Raw Data works for him without removing it.

betavr commented 8 years ago

@AlexLogin0ff so the base station should be placed where the playarea center is?

AlexLogin0ff commented 8 years ago

Yes!!!

betavr commented 8 years ago

Awesome, can you guys please verify this?

Also, is anyone here interested in betatesting the driver on Steam?

AlexLogin0ff commented 8 years ago

Of course!

SooSiaal commented 8 years ago

Sure thing,and it is somewhat working now,atleast much better than it was,gonna need a little finetuning with centering I guess,but this is promising atleast :)

betavr commented 8 years ago

Thanks guys, I really appreciate your help! Please write to hydradriver@betavr.com to receive your beta key.