Jump to content

how to add rotation angle to check your six in VR


Recommended Posts

[CPC]Giledhil
Posted (edited)

Hi guys ! 

I have a problem trying to use the FreePIE script : 
I copy/pasted it from the document, but FreePIE refuses to run the script, giving me the error "expected an indented block" at line 13.

Does anybody have an idea to help ?
Thanks !

Edit : it appears that when copying from either foxit, adobe reader or even my browser, the spaces aren't pasted right in freePIE... :(

Edited by [CPC]Giledhil
SCG_Redcloud111
Posted (edited)

Use the script file provided in the zip at the beginning of this thread. Then select and open the file from within Freepie.

Edited by SCG_redcloud111
SCG_Redcloud111
Posted

Did you follow all the steps in the guide? Install the Hydra drivers, move the dlls, make sure hydra is selected as an Addon in Steam settings?

[CPC]Giledhil
Posted (edited)
23 minutes ago, SCG_redcloud111 said:

Did you follow all the steps in the guide? Install the Hydra drivers, move the dlls, make sure hydra is selected as an Addon in Steam settings?


Had a problem with the dlls, which is solved now.
So now I do have the green box in SteamVR, I'm getting closer ! 

But... after using the FreePIE script, I can get rid of the Box in my HMD (pressing Rshift+P); I now have those two vive controllers right in front of my nose, and the keyboard keys supposed to trigger snap turns don't work.

Edit : note that in the steam VR bindings menu, I can't find the Razer Hydra ; maybe there's a problem with the Hydra VR drivers?
Edit 2 : the vive controllers shown in my HMD do have an animation on the buttons when I use the keyboard keys from the script. But still no snap turn.

Edited by [CPC]Giledhil
SCG_Redcloud111
Posted (edited)

If you definitely added the snap turning to the virtual controllers in the Steam device controller settings, you should be good. Go back through the steps, one by one and check. Seeing the virtual controllers is a good sign.

 

Also, stop the script, then re-run it.

41 minutes ago, [CPC]Giledhil said:

Edit 2 : the vive controllers shown in my HMD do have an animation on the buttons when I use the keyboard keys from the script. But still no snap turn.

Are you sure you mapped these to the proper virtual controllers in Steam devices / controller settings?

Edited by SCG_redcloud111
[CPC]Giledhil
Posted (edited)
2 hours ago, SCG_redcloud111 said:

Are you sure you mapped these to the proper virtual controllers in Steam devices / controller settings?


I think so, but difficult to check since I don't have Vive controllers...

EDIT : my problem was with OVR adv settings, but it's solved, and works now !! Thanks for the help @SCG_redcloud111

Edited by [CPC]Giledhil
  • Upvote 1
TCW_Brzi_Joe
Posted

@c6_lefuneste people often do 2 mistakes, maybe you should mention in your guide:

1) do not copy/paste text and create your own freepie script - that does not work. Download script with manual, it is there.

2) In steam bind GRIP key, not front trigger. Just left and right grip.

C6_lefuneste
Posted

I will update the documentation as soon as I finish doing the last version of my mod. That means "very soon"...

  • Like 1
  • Upvote 1
MAJ_Balapan
Posted (edited)

Does anybody know how to dasable "t" key in driver4vr? Every time I am trying to type in chat, and hit t key it simulates system button on vive controller. Looked at input mapping, the only keys binded are x and z.

Edited by JG51_Balapan
C6_lefuneste
Posted

.Zip file in first post updated : the documentation includes reference to the includied .py script (no more source to copy/paste) and “motion Features when in Seated mode (experimental)” is no more an option for DCS only.

  • Like 2
  • 4 weeks later...
MAJ_Balapan
Posted (edited)
08.06.2020 в 17:45, JG51_Balapan сказал:

Does anybody know how to dasable "t" key in driver4vr? Every time I am trying to type in chat, and hit t key it simulates system button on vive controller. Looked at input mapping, the only keys binded are x and z.

I finally found a way to disable "t" key emulating system button of the controller. To disable it you need to turn off conrtoller emulation with keyboard, wich can be located at Driver4VR main window/Tracker manager/Open toggle device support window/Controller emulation with keyboard

Edited by JG51_Balapan
typo
Posted

@JG51_Baplan

 

Another thing that tooks hours for me to discover. For me it is impossible for my "keybaord" to show up in devices at all unless I select this feature. I have to launch the program with emulation on, and then turn it off when it is running. Major headache, but what can you do?

MAJ_Balapan
Posted
1 час назад, Khangirey сказал:

@JG51_Baplan

 

Another thing that tooks hours for me to discover. For me it is impossible for my "keybaord" to show up in devices at all unless I select this feature. I have to launch the program with emulation on, and then turn it off when it is running. Major headache, but what can you do?

Yes I realized same thing on my side. Seems like the solution I found is not permanent, have to do it every time I restart driver4vr. I think I will just try to move to hydra.

Posted

Let me know how that goes, and if there are any quirks with it.

Posted

Just a heads-up for anyone else who may run into this.  after a recent update (this last weekend?) to Steam VR Beta, my rotation view stopped working.

 

The fix was to go in and re-bind the buttons to the faux Index controllers for the Snap Left and Snap Right views via step 4 in the excellent setup guide. 

 

 

  • Like 1
MAJ_Balapan
Posted
13.07.2020 в 17:55, Khangirey сказал:

Let me know how that goes, and if there are any quirks with it.

So I moved to hydra now. Looks like it works pretty much the same. The difference is that every time before playing I need manually start script in freepie. The other thing is by default hydra controllers are right in front of my eyes and it is a little bit inconvinient in steam home environment. To move them down I take VR off my head and put it on my knees, then press rSHIFT+P. After putting vr back on I get hydra controllers out of my view.

TCW_Brzi_Joe
Posted

With hydra, sometimes after game restart my snap turn sides are switched. Because of that I made opposite script, and I can stop first, and start another, no problem

Posted (edited)
21 hours ago, JG51_Balapan said:

So I moved to hydra now. Looks like it works pretty much the same. The difference is that every time before playing I need manually start script in freepie.

 

It got to be a bit much so I set up a batch file to auto-launch freepie and run the python script, launch joy2key, then launch WMR for Steam and then IL2 in VR mode. Now just added SRS radio and Voice Attack at the start. Finally back to a one-click launch!

 

And in Voice Attack I set up a command "Calibrate VR" to do the RShift-P, then the keypress to center VR.  Now I can just go get a beer while everything loads up and give one voice command after putting on the headset. I'm sure something will change next week to force a change to all that however... :dash:

Edited by Stoopy
  • Like 1
Posted

I had it working flawlessly for a couple of months and all of a sudden Hydra razer disappears from the system, IE it doesn't appear as a controller choice in VR advance settings. Any ideas? I'm using Odyssey + . TIA.

SCG_Redcloud111
Posted

Did you make sure you downloaded the beta version of Hydra in Steam?

Posted

Yes, it just went away, seems the latest Window's update came at the same time.

 

  • Upvote 1
Posted (edited)

The Hydra controllers on my system seem to have been replaced by a Vive Controller after the last SteamVR Update.  The fix was to go into OVR Advanced settings per Step 4 of the setup guide, and set up a new binding for Snap Turn Left and Right for the Vive Controller.

 

Steam VR  - >  Devices  ->  Controller Settings -> Show Old Binding UI -> Edit Controller Bindings program list -> Show More Applications -> OVR Advanced Settings - > Vive Controller should show up at top -> Create New Binding (at very bottom left of page) -> Add Snap Turn Left and Right to grip buttons per setup guide, as you did with Razor Hydra.

 

 

Edited by Stoopy
Posted

OK, I'll try it. thanks.

 

  • 3 weeks later...
MAJ_Balapan
Posted
16.07.2020 в 15:55, Brzi_Joe сказал:

With hydra, sometimes after game restart my snap turn sides are switched. Because of that I made opposite script, and I can stop first, and start another, no problem

Went similar way, but using joy2key. I just made another profile in joy2key, and can switch it on the fly when needed.

  • 2 weeks later...
Posted

Hi All,

 

Choosing between Driver4VR and Razer Hydra option - what's the pros and cons? Why choose one over the other?

 

Which one requires less steps to start up IL-2 each time?

 

My VR headset will be the Valve Index if it matters

 

Thanks!

Posted

Neither one works for me, and FreePie doesn't work for me and another squaddy of mine (a neighbor of yours), we're using Odyssey +. I don't know about anyone else, just seems the 6 view (FreePie) for Odyssey+ was porked after a certain Steam update. I suspect it may be that the software used for the Samsung is tied to the Steam supplied apps. more than others. That and MS, when the 2 update anything can happen. But I could be wrong, as is often the case with anything PC related.

  • Like 1
SCG_Redcloud111
Posted

Dan. I originally used D4VR, and it worked well and was intuitive and easy. But after one if its updates, it stopped working. I waited for several weeks, after explaining the situation to see if it would be fixed. It wasn't at the time, but it may have been since I quit using it. Worth a try. I have since started using the Freepie solution. And while it requires a bit more focus and attention to detail to setup, once you do it works flawlessly. I prefer it now.

  • Thanks 1
Posted
1 hour ago, SCG_redcloud111 said:

Dan. I originally used D4VR, and it worked well and was intuitive and easy. But after one if its updates, it stopped working. I waited for several weeks, after explaining the situation to see if it would be fixed. It wasn't at the time, but it may have been since I quit using it. Worth a try. I have since started using the Freepie solution. And while it requires a bit more focus and attention to detail to setup, once you do it works flawlessly. I prefer it now.

 

Thanks, I'll give the Razer/Freepie a go

  • Upvote 1
Posted

Hi Guys,

I've setup the Razer Hydra driver from Steam, and replaced the DLLs with freepie fake dlls.

I'm up to page 5 where you need to "click on gamepad and then click on razer_hydra"

 

However razer_hydra is not in the list to select from:

 

image.thumb.png.144265d553292a061a6137983f55a1be.png

Posted (edited)

OK Got it working with Driver4VR

 

A few headaches as there are some keyboard keys/letters that it doesn't like, but it doesn't warn you! I thought the whole thing was buggered and all I had to do was use different letters. Ended up using K/L which work fine.

 

One question though - the Snap turn doesn't seem to work like a snapview... after snapping around it stays there it doesn't snap back.

 

Is there a way to change it to a momentary snap and automatically come back when you release the key?

Edited by Dan_Taipan
Posted (edited)
54 минуты назад, Dan_Taipan сказал:

OK Got it working with Driver4VR

 

A few headaches as there are some keyboard keys/letters that it doesn't like, but it doesn't warn you! I thought the whole thing was buggered and all I had to do was use different letters. Ended up using K/L which work fine.

 

One question though - the Snap turn doesn't seem to work like a snapview... after snapping around it stays there it doesn't snap back.

 

Is there a way to change it to a momentary snap and automatically come back when you release the key?

I use JoyToKey program to do it. Keyboard (multi) / [Input1] when the button is released (and [input2] when it’s pressed)

 

Edited by WB_Balapan
Posted
1 hour ago, WB_Balapan said:

I use JoyToKey program to do it. Keyboard (multi) / [Input1] when the button is released (and [input2] when it’s pressed)

 

 

I've been trying it with Joystick Gremlin, which should be able to do it (apparently more powerful than joy2key). But doesn't seem to activate the release. Anyway it's not too bad, when my neck is ultra lazy maybe I'll hit the button twice to look directly behind :)

  • 2 weeks later...
Posted

Anyone notice how when you snap back, look around and then snap forward, your view will be off center when you started. Whenever I use the snap view, I have to snap back, and then press the recenter VR view button. 

C6_lefuneste
Posted (edited)
6 hours ago, Khangirey said:

Anyone notice how when you snap back, look around and then snap forward, your view will be off center when you started. Whenever I use the snap view, I have to snap back, and then press the recenter VR view button. 

Hello, it's a known drawback...You'll have to make with it...

Edited by c6_lefuneste
  • 4 weeks later...
Posted (edited)

A friend of mine can't get the 6 view to work, we've been diagnosing it for days. He's running 2 hard drives and keeps all his game related stuff on 1 his OS on another. OVR installed in the default location on his "C" drive, outside the drive all his game stuff is on so I had him move The advanced OVR folder to the same drive the game is on (and consequently the files for Razer Hydra are on). This is the result. As you can see Open VR settings now Sux. Is there anyone else running OVR settings on a drive other than the drive containing the OS?

 

unknown.png

Edited by TWC_Target
Posted
48 minutes ago, TWC_Target said:

A friend of mine can't get the 6 view to work, we've been diagnosing it for days. He's running 2 hard drives and keeps all his game related stuff on 1 his OS on another. OVR installed in the default location on his "C" drive, outside the drive all his game stuff is on so I had him move The advanced OVR folder to the same drive the game is on (and consequently the files for Razer Hydra are on). This is the result. As you can see Open VR settings now Sux. Is there anyone else running OVR settings on a drive other than the drive containing the OS?

 

Yes.  My O/S (Drive C:\) is an SSD, OVR Advanced Tools is on my D:\ drive which is a spinning hard drive, and IL2 is on a second SSD drive sitting at F:\ after the DVD drive which is E:\.  So you should be able to reference across drives just fine.  

 

One thing I'll mention is that to get it working again recently (after it stopped working a couple months ago) was to update to the latest version of OVR Advanced Settings and copy the latest "fake" sixense.dll and sixense_64.dll as instructed in the setup guide.  Seems there was an update to SteamVR somewhere along the way that stopped this from working, and only after spending some time with it this weekend and getting all the other tools and drivers updated and copied over other files as instructed, did things start working again.  I'm not in front of my rig right now so I can't give more detail than that, just make sure you're dealing with the latest and greatest from github and all that.

Posted
On 8/30/2020 at 9:08 AM, c6_lefuneste said:

Hello, it's a known drawback...You'll have to make with it...

No, there is a way to have your front view unchanged after snap views, I like this solution very much, thank you @WB_Balapan:

Spoiler

 

 

Posted
3 hours ago, Brzi_Joe said:

No, there is a way to have your front view unchanged after snap views, I like this solution very much, thank you @WB_Balapan:

  Hide contents

 

 

universe centered rotation...I'll try it and update the doc.

  • Upvote 1
Posted
7 часов назад, c6_lefuneste сказал:

universe centered rotation...I'll try it and update the doc.

Important step, when you turn on universe centered rotation is to go through room setup and make sure your sitting position is the same as steam universe center. Otherwise snap turns do not work correctly. 

Posted
5 hours ago, WB_Balapan said:

Important step, when you turn on universe centered rotation is to go through room setup and make sure your sitting position is the same as steam universe center. Otherwise snap turns do not work correctly. 

And how do you check/fix your position vs the steam center ?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...