C6_lefuneste Posted April 10, 2020 Author Posted April 10, 2020 (edited) 13 hours ago, ECV56_Lubermatz said: Hello @c6_lefuneste. I've been trying making this work and I faced two problems. I have Oculus Rift S with Touch controllers. Hydra driver installed but nothing shows up neither on steam vr home or the controllers settings. In freePie, when running the script it shows the following error. -line 15 . expected an indented block-. Do I need physical hydras for going that way? Thank you. Heloo. you do not need physical hydras, I do not have them and it works. Did you copy the dll from freepie ? the indent problem is linked to tab instrad of space. Ensure that all lines are aligned with space char. Maybe I should add the script, it may help. Edited April 10, 2020 by c6_lefuneste
ECV56_Lubermatz Posted April 10, 2020 Posted April 10, 2020 Yes I do, but no way making hydras show up on steam vr! Will keep trying today.
ECV56_Lubermatz Posted April 10, 2020 Posted April 10, 2020 (edited) Hi again @c6_lefuneste. I managed to make the controllers appear on steamVR. I was not renaming the fake dll's, that did the trick. Now I cannot make the script work for "activate" the cotrollers. I could with your referenced Hydra Script (Kamran Bigdely) but I cannot make yours work. Can you upload the *.py of the working script? Thank you! Edited April 10, 2020 by ECV56_Lubermatz
ECV56_Lubermatz Posted April 13, 2020 Posted April 13, 2020 I've managed to make the script working. I think the one you included in your guide has a missing part. Now I see the two fake vive controllers and his bumpers beeing pressed when I press X or Y on my kerboard, but nothing happens ?. By the way, snap turning with my Oculus Touch is working ok, and tried with driver4vr and works ok. Any though on this? Thanks!
Scud_VR Posted April 13, 2020 Posted April 13, 2020 @ECV56_Lubermatz - what is the missing part in the script? Also, for anyone else following this, this is a key step missing in the PDF: You can probaly find two files called “sixense.dll” and sixense_x64.dll inside these directories respectively. Remove or rename them to something else (I would add the prefix “old_” to their names.) Afterwards, rename the fake dlls (by removing the “_fake” from them): sixense_fake.dll –> sixense.dll sixense_fake_x64.dll –> sixense_x64.dll
ECV56_Lubermatz Posted April 13, 2020 Posted April 13, 2020 Using the script as in the PDF I was unable to make even start the hydras on SteamVR. I maded it by merging it with the one that used Lefuneste as base. @[=PzG=]-Ramulon Do you have this working with hydras? Can you share your script as saved from FreePIE? Thanks
=BLW=Euclides Posted April 13, 2020 Posted April 13, 2020 I couldnt do it. The game didnt recocnize the keys on keyboard. Only the buttons in the VR hand controllers Any Tip?
chowzer Posted April 13, 2020 Posted April 13, 2020 I love game community forums like these where everyone shares their experience and help. I haven't played IL2 much since I bought it some time back last year, together with my Oculus Rift S, as I don't have much time, and I want everything to be "perfect". I have been flying flight sims since MS Flight Simulator 1 and Warbirds, etc and used Track IR since its introduction. Still, I realise that it does take a fair bit of time and commitment to get this game and VR set up to the point I can enjoy it, and one of the things that bugged me was having to turn my head and body full around constantly to check my six, and this thread has been a godsend to me, so thank you to the original thread starter and all who have contributed so far with their comments and experience. With the Covid19 lockdown, I now have more time to myself to stay at home and do some of the things I have been putting off doing, so I'm looking forward to trying out the check 6 workarounds here. Thanks again all for the wonderful community spirit of sharing and giving here, and I shall be following this thread with great interest!
Scud_VR Posted April 13, 2020 Posted April 13, 2020 (edited) @ECV56_Lubermatz - Here is the script I edited so it doesn't error out. I can't get the Shift + P or Shift + Backspace to work though, so can't get past the blue "connect controllers now" message. You got past this so you can see the controllers and key presses? Can you please share your script? Perhaps we can merge them to get a working solution. I suspect mine isn't terminating properly or is missing a call to re-run the procedure at the end. Edit: Here is a working script. Only difference is you need to use spacebar to initialise at the "connect controller now" screen. The results are outstanding. LEFT_KEY=Key.Z RIGHT_KEY=Key.Xglobal pressed, LeftPressed, RightPresseddef handleStartButton(): global pressed, LeftPressed, RightPressed if keyboard.getKeyDown(LEFT_KEY) and LeftPressed == 0: hydra[1].bumper = True LeftPressed = 1 if keyboard.getKeyUp(LEFT_KEY) and LeftPressed : hydra[1].bumper = False LeftPressed = 0 if keyboard.getKeyDown(RIGHT_KEY) and RightPressed == 0: hydra[0].bumper = True RightPressed = 1 if keyboard.getKeyUp(RIGHT_KEY) and RightPressed : hydra[0].bumper = False RightPressed = 0 if pressed == 0: if keyboard.getKeyDown(Key.Space): # For holding two system buttons (start buttons) at the same time. # holding two system buttons causes the controllers to be set at the HMD position. hydra[0].start = True hydra[1].start = True pressed = 1 elif keyboard.getKeyDown(Key.Backspace): # For clicking the start button (system button) to bring up the steam menu. hydra[0].start = True pressed = 1 elif keyboard.getKeyDown(Key.Backspace): # For situations in which the start button (system button) is hold down to bring the turn off menu). pressed = 1 else: hydra[0].start = False hydra[1].start = False pressed = 0 def init_hydra(index): if index == 0: hydra[index].x = 65 hydra[index].y = -45 hydra[index].z = -200 hydra[index].side = 'R' else: hydra[index].x = -65 hydra[index].y = -45 hydra[index].z = -200 hydra[index].side = 'L' hydra[index].yaw = 0 hydra[index].pitch = 0 hydra[index].roll = 0 hydra[index].start = True hydra[index].isDocked = False hydra[index].enabled = True hydra[index].trigger = 0 hydra[index].three = 0 hydra[index].four = 0 hydra[index].one = 0 hydra[index].two = 0 hydra[index].bumper = 0 hydra[index].joybutton = 0 hydra[index].joyx = 0 hydra[index].joyy = 0 def vive_controllers_init(): init_hydra(0) init_hydra(1) def update(): handleStartButton() if starting: pressed = 0 LeftPressed = 0 RightPressed = 0 vive_controllers_init() update() Edited April 13, 2020 by [=PzG=]-Ramulon Update to working code 1 1
Scud_VR Posted April 13, 2020 Posted April 13, 2020 Well, it messes my "center position" up a bit. I have to hit "reset view" after almost every time I use it.
C6_lefuneste Posted April 13, 2020 Author Posted April 13, 2020 As it seems OK, first post updated with documentation for both FreePie and Driver4VR, FreePie script added in attached zip file.
ECV56_Lubermatz Posted April 13, 2020 Posted April 13, 2020 Thanks @c6_lefuneste. The script you posted is exactly as I have it, but no way to make steam respond to the fake hydras. I see de controllers and his buttons beeing pushed when hitting x, y or any input of the script, but steam ignores them. Oculus touch works ok with triggers and snap turns.
C6_lefuneste Posted April 13, 2020 Author Posted April 13, 2020 (edited) try to press x or w/z key (it depend of your keyboard): if there is no rotation that means that your problem is in openvr adv. setting. Did you define the snap rot. angle ? Edited April 13, 2020 by c6_lefuneste
ECV56_Lubermatz Posted April 13, 2020 Posted April 13, 2020 Yes I do. Keyboard is responding cause I see the buttons beeing pressed on the fake vives. And rotation does work with my touch controllers but no with hydras. Could be the Touch controllers not allowing the hydras to work?
C6_lefuneste Posted April 13, 2020 Author Posted April 13, 2020 2 hours ago, ECV56_Lubermatz said: Yes I do. Keyboard is responding cause I see the buttons beeing pressed on the fake vives. And rotation does work with my touch controllers but no with hydras. Could be the Touch controllers not allowing the hydras to work? maybe. I have Vive controller and when they are active the alternative mapping is not working.
ECV56_Lubermatz Posted April 13, 2020 Posted April 13, 2020 I will try to launch steamvr with the touch's turned off. Thanks
ECV56_Lubermatz Posted April 13, 2020 Posted April 13, 2020 I tried without tuoch's and it doesn't work neither. Re installed OpenVR and no success... ?♂️
HR_BarbaRoja Posted April 15, 2020 Posted April 15, 2020 (edited) On 4/13/2020 at 11:40 PM, ECV56_Lubermatz said: I tried without tuoch's and it doesn't work neither. Re installed OpenVR and no success... ?♂️ I'm in the same situation. The controls appear to me, they respond to Z and X. I have configured the angle of rotation, but it does not rotate. The driver4vr it has worked for me with the old version. I don't have Vive controllers, I'm using Oculus Rift S. Edited April 15, 2020 by HRc_BarbaRoja 1
SR-F_Winger Posted April 16, 2020 Posted April 16, 2020 (edited) :(obviously i am too dumb. I dont get it done. Tried with driver4vr and followeed teh instructions. But didnt work in game. Sigh. I so hope IL2 devs will add this functionality to the game. As for the razer thing steam doesnt offer to installe the razer VR drivers. Even thou i activated beta versions. Edited April 16, 2020 by Winger
Scud_VR Posted April 17, 2020 Posted April 17, 2020 On 4/15/2020 at 9:56 PM, HRc_BarbaRoja said: I'm in the same situation. The controls appear to me, they respond to Z and X. I have configured the angle of rotation, but it does not rotate. The driver4vr it has worked for me with the old version. I don't have Vive controllers, I'm using Oculus Rift S. Have you set the button mapping for the Hydras in Steam VR? Make sure you complete step 4 of the documentation completely.
ECV56_Lubermatz Posted April 17, 2020 Posted April 17, 2020 3 hours ago, [=PzG=]-Ramulon said: Have you set the button mapping for the Hydras in Steam VR? Make sure you complete step 4 of the documentation completely. Do you have it working? Can you share your setup?
Scud_VR Posted April 17, 2020 Posted April 17, 2020 1 hour ago, ECV56_Lubermatz said: Do you have it working? Can you share your setup? I do have it working. I just followed the PDF from the OP. If you can see the buttons responding on the virtual Hydras, it sounds like you are 90% there but just missing some key part, like failing to successfully setup the button mapping on the virtual Hydras in Steam VR settings. Buttons being pressed but nothing happening sounds like the buttons just aren't set to do anything, which is why I asked about ensuring the button mapping part was completed, step 4 in the PDF. Not sure if it's necessary but try restarting Steam VR after you've saved the button mapping profile for the Hydras.
C6_lefuneste Posted April 17, 2020 Author Posted April 17, 2020 If keys are making controller buttons move, so the freepie or driver4vr is ok. The missing part should be on openvr advanced settings or controller mapping. 9 hours ago, Winger said: As for the razer thing steam doesnt offer to installe the razer VR drivers. Even thou i activated beta versions. No. Check again in the steam store.
ECV56_Lubermatz Posted April 17, 2020 Posted April 17, 2020 7 hours ago, [=PzG=]-Ramulon said: I do have it working. I just followed the PDF from the OP. If you can see the buttons responding on the virtual Hydras, it sounds like you are 90% there but just missing some key part, like failing to successfully setup the button mapping on the virtual Hydras in Steam VR settings. Buttons being pressed but nothing happening sounds like the buttons just aren't set to do anything, which is why I asked about ensuring the button mapping part was completed, step 4 in the PDF. Not sure if it's necessary but try restarting Steam VR after you've saved the button mapping profile for the Hydras. It was all double checked. Will check all the process again later. I was asking Wich hmd do you use and if you have other controllers connected at the same time. Button mapping is correct, since my Oculus touch controllers are actually doing the trick. Thanks.
SR-F_Winger Posted April 17, 2020 Posted April 17, 2020 13 hours ago, c6_lefuneste said: If keys are making controller buttons move, so the freepie or driver4vr is ok. The missing part should be on openvr advanced settings or controller mapping. No. Check again in the steam store. oh yes. thanks. Trying again
Scud_VR Posted April 18, 2020 Posted April 18, 2020 14 hours ago, ECV56_Lubermatz said: It was all double checked. Will check all the process again later. I was asking Wich hmd do you use and if you have other controllers connected at the same time. Button mapping is correct, since my Oculus touch controllers are actually doing the trick. Thanks. I have a Rift CV1 with touch controllers only. Button mapping shouldn't work for the touch controllers as you should not have mapped anything to them (unless you did so for testing maybe?). You should be mapping to the virtual hydra controllers.
C6_lefuneste Posted April 20, 2020 Author Posted April 20, 2020 (edited) Hello. I updated the zip in first post, the freePie script has an error for one key binding. I did not double check, but i wonder if driver4VR last version is still KO for key mapping...I switched to freepie just before an online flight because driver4VR was KO. Edited April 20, 2020 by c6_lefuneste 1
RedRider Posted April 21, 2020 Posted April 21, 2020 (edited) Thanks lefuneste, this works great! Now TrackIR users don't have the owl-head advantage!!! ? One small note: If you move your head while activating the snap turn, when you release it will recenter your view. Have your VR camera centering button handy! Edited April 21, 2020 by RedRider
ECV56_Lubermatz Posted April 21, 2020 Posted April 21, 2020 Still no way of making it work with Rift S. Just for you to know. Regards,
SR-F_Winger Posted April 21, 2020 Posted April 21, 2020 I cannot get the hydras to run. But i have the index controllers so am I assuming right that i dont really need the hydra fake drivers? I have everything running to the part where i can use the controllers grip to rotate the 45 degrees. Now I only need a freepie script that actually translates the keypresses to the index grip input and not hydra input. Anyone got that handy?
ECV56_Lubermatz Posted April 21, 2020 Posted April 21, 2020 (edited) Yes you do @Winger, for sending key inputs to real index controllers you use Driver4VR. If going to use FreePIE you need the fake controllers since they receive the commands from the running script. There is no compatibility between FreePIE and Index Controllers. Edited April 21, 2020 by ECV56_Lubermatz
C6_lefuneste Posted April 21, 2020 Author Posted April 21, 2020 1 hour ago, Winger said: I cannot get the hydras to run. But i have the index controllers so am I assuming right that i dont really need the hydra fake drivers? I have everything running to the part where i can use the controllers grip to rotate the 45 degrees. Now I only need a freepie script that actually translates the keypresses to the index grip input and not hydra input. Anyone got that handy? You need fake hydra unless you know how to drive vive controller with freePie. In this case post here the howto.
SR-F_Winger Posted April 21, 2020 Posted April 21, 2020 Just now, c6_lefuneste said: You need fake hydra unless you know how to drive vive controller with freePie. In this case post here the howto. I dont. Cant get it to work. I was hoping someone else created a script to drive the index with freepie. Well, I am sure the devs will add something like this sooner or later. Cant be that big of a deal and VR is getting more end more important for Flightsimming.
RedRider Posted April 22, 2020 Posted April 22, 2020 4 hours ago, Winger said: I dont. Cant get it to work. I was hoping someone else created a script to drive the index with freepie. Well, I am sure the devs will add something like this sooner or later. Cant be that big of a deal and VR is getting more end more important for Flightsimming. I have index and it works. You're doing it wrong.
C6_lefuneste Posted April 22, 2020 Author Posted April 22, 2020 (edited) The question is "why don't you want to use hydra driver" ? It can be triggered off in steamVR start. Otherwise use (the working version of) driver4VR. If you don't start it, it won't create fake controllers, so it won't pollute your steamVR. Of course having native steamVR or game feature will be better, but after years it seems that's it's not seen as top priority need. Edited April 22, 2020 by c6_lefuneste
SR-F_Winger Posted April 22, 2020 Posted April 22, 2020 (edited) I tried both variants. I cant get it to work. Seemingly i am simply too dumb. Ill just wait for the devs to implement it properly. Hopefully one day. The sicsense_FAKE.dll and 64.dll have to be renamed to remove the _FAKE right? If i dont do that the fake controllers will not be recognized in Steam VR.. If i try to open razer hydra driver i get error messages, when i dont start it, snstead start steam VR and try to create a new binding the window just goes black. Nothing works like it should in your pdf. Also there is no "advanced settings" under more applications. Only "OVR advanced settings". Within that i adjusted everything as told in the howto. Edited April 22, 2020 by Winger
Scud_VR Posted April 23, 2020 Posted April 23, 2020 6 hours ago, Winger said: The sicsense_FAKE.dll and 64.dll have to be renamed to remove the _FAKE right? @Winger - Correct 6 hours ago, Winger said: If i try to open razer hydra driver i get error messages I would suggest resolving this issue. There is simply no point continuing if a step is not working for you. You need all the steps to work, not just some of them. If you post the error message, I can assist you. Or just Google it. 6 hours ago, Winger said: Also there is no "advanced settings" under more applications. Only "OVR advanced settings". Did you install OpenVR from github? or Steam? I installed from github like the PDF said and see the "Advanced Settings" option like in the PDF screenshot. I can see OpenVR is available on the Steam platform as well though so if you did it that way maybe that's why you see the "OVR Advanced Settings" instead? Just a guess. @c6_lefuneste - Could you please update the PDF to include the bold text below as well, on page 2? You can probaly find two files called “sixense.dll” and sixense_x64.dll inside these directories respectively. Remove or rename them to something else (I would add the prefix “old_” to their names.) Afterwards, rename the fake dlls (by removing the “_fake” from them): sixense_fake.dll –> sixense.dll sixense_fake_x64.dll –> sixense_x64.dll Thanks. 1
Vortice Posted April 23, 2020 Posted April 23, 2020 So, it boils down to the choice between a crick in your neck or a permanent headache, huh? I might just have to work on making those neck muscles more supple in future.
C6_lefuneste Posted April 23, 2020 Author Posted April 23, 2020 9 hours ago, [=PzG=]-Ramulon said: @c6_lefuneste - Could you please update the PDF to include the bold text below as well, on page 2? I added the full target name in description of things to copy page 2.
SR-F_Winger Posted April 24, 2020 Posted April 24, 2020 On 4/23/2020 at 4:53 AM, [=PzG=]-Ramulon said: @Winger - Correct I would suggest resolving this issue. There is simply no point continuing if a step is not working for you. You need all the steps to work, not just some of them. If you post the error message, I can assist you. Or just Google it. Did you install OpenVR from github? or Steam? I installed from github like the PDF said and see the "Advanced Settings" option like in the PDF screenshot. I can see OpenVR is available on the Steam platform as well though so if you did it that way maybe that's why you see the "OVR Advanced Settings" instead? Just a guess. @c6_lefuneste - Could you please update the PDF to include the bold text below as well, on page 2? You can probaly find two files called “sixense.dll” and sixense_x64.dll inside these directories respectively. Remove or rename them to something else (I would add the prefix “old_” to their names.) Afterwards, rename the fake dlls (by removing the “_fake” from them): sixense_fake.dll –> sixense.dll sixense_fake_x64.dll –> sixense_x64.dll Thanks. Hey, thank you very much. Ill post a shot of the message. But will be next week. I think i used the installer from Github. But i will doublecheck and probably just reinstall the proper one. Thanks!!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now