Paul_RSXK Posted January 7, 2023 Posted January 7, 2023 This is brilliant. Just brilliant. Newbie learning curve. set up the program as per the read me file. Then, and this is where it took me a while to figure things out, start the game in 2D and set your joystick for centering the pilot view. Note that this isn’t the 5 button on your number pad on the keyboard. Once you’ve done that and centred the view in a flight come on it of the sim and set your left and right buttons. if you don’t set the centre view button the program won’t recognise your joystick. or at least that was my experience. cheers Paul 1
rince983 Posted January 7, 2023 Posted January 7, 2023 So I really would like to get this working with my Index... I am a developer so I am going to try to debug this - however I have not much experience with windows programming or the openVr API. @J2_NobiWanI got the Project setup in Visual Studio and am able to open it in debug mode. If you have any pointers where to start let me know... Currently when I open the app and press the button for the first time it rotates the view and also translates the viewpoint a bit to the forward right. After that pressing any of the buttons doesn't do anything until I recenter the view through steam vr, then the behaviour repeats. Also only works if I start steamvr through necksavervr
dgiatr Posted January 8, 2023 Posted January 8, 2023 (edited) On 1/4/2023 at 5:20 PM, J2_NobiWan said: It is qute possible that XRNS is not working with all OpenXR games. So far I only checked with MSFS. In case you want to deactivate XRNS you can simply use the menu "Deactivate XRNS OpenXR API layer". No need to use the old Install/Uninstall scripts. Hm, I believe some people got VRNS working with the Index, but it has always been a bit shaky... maybe someone with an Index can chime in? Hello J2_NobiWan, just downloaded version 5 of Xrnecksafer but seems to have two issues 1. If i set snap views to about 80 degrees , after pushing the button to activate the right snap view i suffer from some flashing image whenever i turn more than certain degrees my head. When i activate a left turn snap view i rarely get a flashing image whenever i turn my head over certain degrees. This happens with auto rotation activated or not (hold button activated). When i set snap views to 70 degrees it also happens. By the time i set it to 60 degrees or less this issue just stops. This was also an issue in 4beta version 2. I set in my hat switch, at 45 and 315 degrees for right snap view+up view(for 45 degrees) and left snap+up view(for 315 degrees). I also set 90 degrees hat switch for only right snap and 270 degrees hat switch for only left snap view. But when ever i change my hat switch position from say 315 degrees to 270 directly WITHOUT passing my hat switch over the center_neutral position of the hat switch, my view stays fixed at 315 degrees when it should show 270 degrees position. The same happens from 45 to 90 degrees the view stays to 45 degrees( right snap+ up view) if i move my finger to 90 position hat switch DIRECTLY from 45 to 90. This wasnt an issue in 4 beta version. Whenever i move from 45 degrees to the center hat position and then to 90 position then everything is ok. Please help! Thank you in advence. Edited January 8, 2023 by dgiatr
rince983 Posted January 8, 2023 Posted January 8, 2023 So FYI: I noticed the Index branch in GIT, checked it out and built it - this actually works for me with my Index - at least the basic functionality it seems to support at the moment. I can rotate my view around with multiple button presses and end up back where I started.
J2_NobiWan Posted January 8, 2023 Author Posted January 8, 2023 5 hours ago, dgiatr said: 1. If i set snap views to about 80 degrees , after pushing the button to activate the right snap view i suffer from some flashing image whenever i turn more than certain degrees my head. When i activate a left turn snap view i rarely get a flashing image whenever i turn my head over certain degrees. This happens with auto rotation activated or not (hold button activated). When i set snap views to 70 degrees it also happens. By the time i set it to 60 degrees or less this issue just stops. This was also an issue in 4beta version First thing to check is if there is an old XRNS API layer left over from a very old XRNS install. The XRNS menu "show active OpenXR API layers" should only list one entry for XRNeckSafer. If it is more than one it can cause all kind of strange effects. Alternatively you can check in the registry for stale entries in Computer\HKEY_CURRENT_USER\SOFTWARE\Khronos\OpenXR\1\ApiLayers. Beside that you should make sure that your OpenXR setup/calibration is correct for your seating position. For the G2 this would be done by resetting HOME and ENVIRONMENT in Mixed Reality Portal. 5 hours ago, dgiatr said: 2. I set in my hat switch, at 45 and 315 degrees for right snap view+up view(for 45 degrees) and left snap+up view(for 315 degrees). I also set 90 degrees hat switch for only right snap and 270 degrees hat switch for only left snap view. But when ever i change my hat switch position from say 315 degrees to 270 directly WITHOUT passing my hat switch over the center_neutral position of the hat switch, my view stays fixed at 315 degrees when it should show 270 degrees position. The same happens from 45 to 90 degrees the view stays to 45 degrees( right snap+ up view) if i move my finger to 90 position hat switch DIRECTLY from 45 to 90. This wasnt an issue in 4 beta version. Whenever i move from 45 degrees to the center hat position and then to 90 position then everything is ok. I see, this was probably introduced with the new input system. I'll have to look into it, thanks for reporting. 2 hours ago, rince983 said: So FYI: I noticed the Index branch in GIT, checked it out and built it - this actually works for me with my Index - at least the basic functionality it seems to support at the moment. I can rotate my view around with multiple button presses and end up back where I started. Oh cool! Without having access to an Index I simply gave up after a lot of frustrating debug trials. The most interesting part is probably here: https://gitlab.com/NobiWan/vrnecksafer/-/blob/Index/VRNeckSafer/VRStuff.cs#L120 where the chaperone is set to rotate the orientation. Maybe you can just try to merge the Index branch to the latest v2.09 version. Be aware though that VRNS is a lot more limited in what it can do than XRNS because of the way the chaperone works. (no up/down tilt for example). Let me know if you have more questions.
dgiatr Posted January 8, 2023 Posted January 8, 2023 1 hour ago, J2_NobiWan said: First thing to check is if there is an old XRNS API layer left over from a very old XRNS install. The XRNS menu "show active OpenXR API layers" should only list one entry for XRNeckSafer. If it is more than one it can cause all kind of strange effects. Alternatively you can check in the registry for stale entries in Computer\HKEY_CURRENT_USER\SOFTWARE\Khronos\OpenXR\1\ApiLayers. Thank you for your fast reply! I just checked and there are three api layers. How can i delete the two of them?
J2_NobiWan Posted January 8, 2023 Author Posted January 8, 2023 (edited) Best delete all three XRNS api layer registry entries with regedit. Then reinstall XRNS. Edited January 8, 2023 by J2_NobiWan
rince983 Posted January 11, 2023 Posted January 11, 2023 On 1/8/2023 at 12:57 PM, J2_NobiWan said: Oh cool! Without having access to an Index I simply gave up after a lot of frustrating debug trials. The most interesting part is probably here: https://gitlab.com/NobiWan/vrnecksafer/-/blob/Index/VRNeckSafer/VRStuff.cs#L120 where the chaperone is set to rotate the orientation. Maybe you can just try to merge the Index branch to the latest v2.09 version. Be aware though that VRNS is a lot more limited in what it can do than XRNS because of the way the chaperone works. (no up/down tilt for example). Let me know if you have more questions. Ok thx, when I find a little more time I will try to merge the branches. If it works I will submit a pull request. Not much time at the moment though ?
Zenchess Posted January 20, 2023 Posted January 20, 2023 (edited) Any chance this could be modified to work with opencomposite? I get much better performance in il-2 with it. edit: Oh, maybe it does work, didn't have my headset plugged in. oops edit2: ok, it doesnt appear to work in opencomposite Edited January 20, 2023 by Zenchess
Patricks Posted January 20, 2023 Posted January 20, 2023 12 minutes ago, Zenchess said: Any chance this could be modified to work with opencomposite? I get much better performance in il-2 with it. edit: Oh, maybe it does work, didn't have my headset plugged in. oops edit2: ok, it doesnt appear to work in opencomposite You need to use XRNecksafer for OpenXR/OpenComposite, Google it to download..
Paul_RSXK Posted January 21, 2023 Posted January 21, 2023 looks like this has been answered already ☺️
J2_NobiWan Posted January 21, 2023 Author Posted January 21, 2023 21 hours ago, Patricks said: You need to use XRNecksafer for OpenXR/OpenComposite, Google it to download.. Download link for XRNeckSafer is on the first post. 2
Dupont Posted January 27, 2023 Posted January 27, 2023 First of all, fantastic tool, NobiWan, thank you! A must-have for VR flying. In case it hasn't been reported before, the latest DCS Open Beta version (v. 2.8.2.35632) might be incompatible with VRNeckSafer. Since the update a couple of days ago, DCS crashes whenever I start VRNeckSafer. When using the tool with Il-2 BoX, I have no issues. I'm playing the standalone, non-Steam DCS Open Beta with a Reverb G2.
SCG_Redcloud111 Posted January 27, 2023 Posted January 27, 2023 Try XRNS. Works great with DCS. You will need to drop SteamVR
Dupont Posted January 28, 2023 Posted January 28, 2023 18 hours ago, SCG_Redcloud111 said: Try XRNS. Works great with DCS. You will need to drop SteamVR Eagle Dynamics released a hotfix today that solved the issue. Apparently the previous patch was also causing crashes to people using motion reprojection. Thanks for the suggestion on XRNS! I'll look into OpenXR. I could always do with better performance 1
sneakybastd Posted January 29, 2023 Posted January 29, 2023 I just tried VRNeckSaver v2.09 with steamVR on my vive pro 2. Extract files to a folder, ran it, enabled Autorotation. Did a freeflight for the F18. To my surprise, it worked perfectly. Turn to the side, view rotated a little more. Turn a little more, view rotated even more. Could look behind the jet. Worked exactly as I thought it would. Awesome! But the rotation kicked in a little early for my liking, so I decided to customise the angles. Got rid of the first couple steps, and reduced the rotation. Instantly I get the issue most others have: the position moved out of the cockpit, and I'm looking at my 8 o'clock. Only unchecking Autorotation and resetting view lets me view from the cockpit again. No big deal, I'll just reset my settings. No change - autorotation still broken. No big deal, I'll delete the cfg file. No change - autorotation still broken. No big deal, I'll delete the folder, install it fresh again. No change - autorotation still broken! At this point I'm thinking WTF is going on. Are any settings saved outside the app folder?!? I start again with all combinations of settings in NSVR. I reset seated position before/during/after. I restart NSVR before launching DCS, while playing DCS, etc. Nothing made any difference. It worked perfectly at first, no idea how, and now I can't get it back again. Teased with a perfect solution!!!
[CPT]Crunch Posted January 30, 2023 Posted January 30, 2023 Did you follow the recommendation of putting the games center VR command and the Necksafer center command on the same button so they're synced? Put my return to cockpit view on it also, works only in Il-2, saves a button if you regularly use external views. If that doesn't fix it, clear your WMR environment and reset the seating position.
sneakybastd Posted January 31, 2023 Posted January 31, 2023 Yes, both on same hotas button. I'm using VivePro2, not using WMR. Git notes and issues report the same problem. Just wondering how it worked perfectly the first time until I edited the curves. Oh well.
Air_Combat_Group Posted February 19, 2023 Posted February 19, 2023 (edited) deleted Edited February 19, 2023 by Air_Combat_Group
ACG_Orb Posted February 19, 2023 Posted February 19, 2023 Hi all... long time user of VRNS. Been trying to sort XRNS but i cant get it to work, I set the recentre button but its not recognised when pressed (the box flashes black though). The header still remains at (0 deg). Anyone seen this before?
ACG_Flyby Posted February 19, 2023 Posted February 19, 2023 Orb, first try using kp5 in-game top center the view, then press f10 to save the view. Next, in Necksaver, try using kp5 to center your view; it needs to be the same binding as the in-game key binding. Hope that works for you. It worked for me. Flyby out
Chilli_40 Posted February 22, 2023 Posted February 22, 2023 (edited) When using my VR Necksafer in Open Composite, I'm not seeing my bombs detonate, or things that are smoking when looking forward aren't when looking back, am I missing some setting to fix this! Is it related to the mirror settings? thx Edited February 22, 2023 by chilli40
Drano Posted February 22, 2023 Posted February 22, 2023 You'd use XRNeckSafer if using Open Composite. VRNeckSafer is for use with SteamVR. Different animals, so different programs.
BBAS_Tiki_Joe Posted February 22, 2023 Posted February 22, 2023 1 hour ago, chilli40 said: When using my VR Necksafer in Open Composite, I'm not seeing my bombs detonate, or things that are smoking when looking forward aren't when looking back, am I missing some setting to fix this! Is it related to the mirror settings? thx I believe it is just how the game renders, even without neck VR Saver this happens in VR if I turn my head too fast or what not, especially in tank crew. The game does not render stuff behind you, I guess to save resources. So when you use VR necksaver, while it allows you to look behind you some things don't render in all the way because the game still thinks your view is looking forward. That is my take, but I could be wrong. 1
Chilli_40 Posted February 22, 2023 Posted February 22, 2023 3 hours ago, Drano said: You'd use XRNeckSafer if using Open Composite. VRNeckSafer is for use with SteamVR. Different animals, so different programs. Yes, I miss spoke, it's the version for Open XR! The app works perfect, it just doesn't show all objects behind the plane.
firdimigdi Posted February 22, 2023 Posted February 22, 2023 4 hours ago, chilli40 said: When using my VR Necksafer in Open Composite, I'm not seeing my bombs detonate, or things that are smoking when looking forward aren't when looking back, am I missing some setting to fix this! Is it related to the mirror settings? thx 2 hours ago, BBAS_Tiki_Joe said: I believe it is just how the game renders, even without neck VR Saver this happens in VR if I turn my head too fast or what not, especially in tank crew. The game does not render stuff behind you, I guess to save resources. So when you use VR necksaver, while it allows you to look behind you some things don't render in all the way because the game still thinks your view is looking forward. That is my take, but I could be wrong. There's a known longstanding bug where binding any camera/pilot-head/turret controls to mouse or joystick will cause the game to think you are looking in the direction said camera is looking (even though it isn't rendering to any viewport) instead of where the VR cameras are looking. This in turn causes the culling optimizations to malfunction. You can even see this if you move the mouse-controlled camera while staring straight ahead, certain objects/effects will disappear. Only solution is to unbind those controls when playing in VR. 2
Chilli_40 Posted February 23, 2023 Posted February 23, 2023 Thanks firdimigdi, I should have known you would know the answer! Oh well I was just curious; the app is still an absolute god send for flying in vr, I couldn't do without it. 1
SR-F_Winger Posted March 8, 2023 Posted March 8, 2023 (edited) Hey Guys, I am using a Pico 4 with virtual desktop. For some reason XRNS doesnt recognise the center button and also doesnt do anything in game. Clearly I am missing something. The buttons for rotation and center in XRNS have been set and saved. Any clues? Edited March 8, 2023 by Winger
huligan Posted March 9, 2023 Posted March 9, 2023 18 часов назад, Winger сказал: in XRNS Why you use XRNS ? Use steamVR vers. VRNeckSaferV209 or VRNeckSaferv02exp(smooth turn) But if you want to use XRNS vers,you need activate OpenXR in SteamVR+in game folder(...\IL-2 Sturmovik Great Battles\bin\game\ ) replace original openvr_api.dll to openvr_api.dll from Opencomposite OpenXR mode opencomposite OpenXR13 IL-2.zip
SR-F_Winger Posted March 9, 2023 Posted March 9, 2023 (edited) 2 hours ago, huligan said: Why you use XRNS ? Use steamVR vers. VRNeckSaferV209 or VRNeckSaferv02exp(smooth turn) But if you want to use XRNS vers,you need activate OpenXR in SteamVR+in game folder(...\IL-2 Sturmovik Great Battles\bin\game\ ) replace original openvr_api.dll to openvr_api.dll from Opencomposite OpenXR mode opencomposite OpenXR13 IL-2.zip 602.36 kB · 0 downloads Because i didnt read properly;) Sorry But i tried the VRNecksaver 209 now and the same Problem. Necksafer it self registers everything properly. But when in game just nothing happens. I dont know what i do wrong. I start vrdesktop and from there IL2. Then taskswitch and open Necksafer and switch back to IL2. Nothing. When i setup Necksafer that it starts stemvr for me the view inside the headset is all messed up. Edited March 9, 2023 by Winger
Drano Posted March 9, 2023 Posted March 9, 2023 NeckSafer (either variety, VR or XR) won't appear to do anything until you center it once in the game. That's why it's a good idea to make the center command the same for both the game and NeckSafer. If there's a message in red in the NeckSafer window, that's probably what's going on.
SR-F_Winger Posted March 9, 2023 Posted March 9, 2023 (edited) On 3/9/2023 at 5:08 PM, Drano said: NeckSafer (either variety, VR or XR) won't appear to do anything until you center it once in the game. That's why it's a good idea to make the center command the same for both the game and NeckSafer. If there's a message in red in the NeckSafer window, that's probably what's going on. I did all that. Recenter is recognized by the game and VRNecksaver. Within necksaver my buttonpresses are recognized. I can set a button to rotate left and right. But when in game no rotation is happening. No by pressing buittons and also not when i set up VRNS to autorotate. Itt seems like VRNS and IL2 are not communicating with eachother. Has anybody else a Pico 4 running with VRNS in IL2? Game runs flawless. Very good FPS and everything. But not being able to use VRNS breaks the deal for me. At least Flightsim wise:/ EDIT: Got it working. The problem was Vidrtual Desktop. Doesnt seem to work that way. When i stream via Streaming assistant it works. The router is still on its way to me. So i will definately try if it works with the dedicated accesspoint router. I also got Open Compsite running. I like it more sice its supposed to give better performance right? Also i like the smooth turn better in XRNS. The problem i encounter here is that the game always crashes when i try to launch some quick mission or so. Basically whenever the game tries to load into the cockpit ´the game crashes with the following erromessage: Edited March 12, 2023 by Winger
HunDread Posted March 25, 2023 Posted March 25, 2023 I have an issue with XRNS that first it works fine in a sortie then stops working and when I ALT TAB and pull up the program the key binding section shows UNPLUGGED CONTROLLER (or something like this). Even though my controls keep working in game so they are not unplugged. Close and start again fixes it but can happen several times in one sortie so not an ideal fix. Has anyone seen this?
Koziolek Posted March 25, 2023 Posted March 25, 2023 On 3/9/2023 at 6:45 PM, Winger said: Has anybody else a Pico 4 running with VRNS in IL2? I use VRNS with PICO and VD. Usually works ?. Sometimes stops and I have to leave the game and start both ( VRNS and game) again
firdimigdi Posted April 8, 2023 Posted April 8, 2023 On 3/25/2023 at 11:38 AM, HunDread said: I have an issue with XRNS that first it works fine in a sortie then stops working and when I ALT TAB and pull up the program the key binding section shows UNPLUGGED CONTROLLER (or something like this). Even though my controls keep working in game so they are not unplugged. Close and start again fixes it but can happen several times in one sortie so not an ideal fix. Has anyone seen this? No but it is likely not lying, the game probably re-acquires them. The usual suspects apply (USB power delivery et al). As a failsafe, leftover from the nonXR version that had some issues, I got a voiceattack command that calls a .bat to restart the NS program with a long press of the same button combo I use to re-center VR.
Guest Posted April 9, 2023 Posted April 9, 2023 I've been struggling with this for the last few hours. I'm using SteamVR on the Pico 4, Streaming Assistant rather than Virtual Desktop. I installed and set up the latest version of NeckSafer (which worked perfectly well the last time I used it on the old PC with the G2) but in-game it doesn't work. Centre button is the same for both in-game VR re-centre and NeckSafer's too. I'm using the hat for snap-views. Any help appreciated.
Drano Posted April 9, 2023 Posted April 9, 2023 Silly question. Were you using openxr and XRNS with the G2? XRNS is no go with SteamVR, for that you need to use VRNS. I think the latest version of that is 2.09. Could be an issue with the Pico too. Got nothing for you there. 1
Guest Posted April 9, 2023 Posted April 9, 2023 5 hours ago, Drano said: Silly question. Were you using openxr and XRNS with the G2? XRNS is no go with SteamVR, for that you need to use VRNS. I think the latest version of that is 2.09. Could be an issue with the Pico too. Got nothing for you there. Nope, bog-standard SteamVR.
huligan Posted April 10, 2023 Posted April 10, 2023 in discord I left message(Pico4 +SA+SteamVR+VRNeckSaferv02exp+IL-2 DCS no works) in VD works fine have any thoughts? 1
Guest Posted April 10, 2023 Posted April 10, 2023 It must be the Pico Streaming Assistant software; I've switched back to using Virtual Desktop and NeckSafer is now working perfectly. Thanks guys.
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