VR and COOP don't seem to work together

Any issues with the XWAU or X-Wing Alliance? Please let us know here!
Post Reply

VR and COOP don't seem to work together

Mr_Cheese
Recruit
Posts: 4
Joined: Sun Jul 09, 2023 1:53 pm

Post by Mr_Cheese » Sun Jul 09, 2023 2:01 pm

Hi, hopefully someone here may be able to help.

Myself and my friend have managed to get the game working in VR etc and can even connect to each other using gameranger. But when we try to launch a mission we can see the loading bar then all we get is a SteamVR window with "x-wing alliance waiting". Now this only happens when we try to play coop. It loads on our monitor but not in the VR headset. Playing solo it works flawlessly.

Anyone else experienced this? or have any suggestions?

Thanks

User avatar
m0rgg
XWAU Member
Posts: 260
Joined: Wed Apr 01, 2020 10:33 pm

Post by m0rgg » Sun Jul 09, 2023 9:26 pm

Hello,
The CockpitLook hook does not update the tracking when in multiplayer:
https://github.com/Prof-Butts/Hook_XWAC ... .cpp#L1151

That code is the one calling WaitGetPoses() in SteamVR, which in turns enables the display on the VR headset.

I can try to compile a test version of CockpitLook() with the headtracking enabled in multiplayer to see if there are still sync errors.
Last edited by m0rgg on Tue Jul 11, 2023 12:31 pm, edited 1 time in total.

User avatar
m0rgg
XWAU Member
Posts: 260
Joined: Wed Apr 01, 2020 10:33 pm

Post by m0rgg » Sun Jul 09, 2023 10:00 pm

Can you test with this version and see if it works?
https://github.com/morallo/Hook_XWACock ... layer_test

You just need to drop the Hook_CockpitLook.dll in your XWA folder.

Mr_Cheese
Recruit
Posts: 4
Joined: Sun Jul 09, 2023 1:53 pm

Post by Mr_Cheese » Mon Jul 10, 2023 2:50 pm

m0rgg wrote:
Sun Jul 09, 2023 10:00 pm
Can you test with this version and see if it works?
https://github.com/morallo/Hook_XWACock ... layer_test

You just need to drop the Hook_CockpitLook.dll in your XWA folder.
Thanks for your reply, I'll give that a try a bit later on and let you know how it goes.

Mr_Cheese
Recruit
Posts: 4
Joined: Sun Jul 09, 2023 1:53 pm

Post by Mr_Cheese » Tue Jul 11, 2023 12:24 pm

Mr_Cheese wrote:
Mon Jul 10, 2023 2:50 pm
m0rgg wrote:
Sun Jul 09, 2023 10:00 pm
Can you test with this version and see if it works?
https://github.com/morallo/Hook_XWACock ... layer_test

You just need to drop the Hook_CockpitLook.dll in your XWA folder.
Thanks for your reply, I'll give that a try a bit later on and let you know how it goes.
Ok, So myself and a buddy tried this and it did work but as you had mentioned there was quite a bit of desync, expecially in larger scale battles.Desync was at it's greatest for the person not hosting the game. One of the main things we did notice was that whenever a ship was destyroyed and there was an explosion it would cause rubber banding between each player and any ai ships.

For now I think it's just a case of waiting. We're loving what this mod has done to the game and look forward to what the future brings. Hopefully one day we'll be able to play VR multiplayer without any issues. :D

User avatar
m0rgg
XWAU Member
Posts: 260
Joined: Wed Apr 01, 2020 10:33 pm

Post by m0rgg » Tue Jul 11, 2023 12:33 pm

Thanks for the testing!
It would be interesting to test also in non-VR (or better, without hook_CockpitLook at all) to verify that the issues are related to CockpitLook and not other parts.

Mr_Cheese
Recruit
Posts: 4
Joined: Sun Jul 09, 2023 1:53 pm

Post by Mr_Cheese » Tue Jul 11, 2023 3:30 pm

m0rgg wrote:
Tue Jul 11, 2023 12:33 pm
Thanks for the testing!
It would be interesting to test also in non-VR (or better, without hook_CockpitLook at all) to verify that the issues are related to CockpitLook and not other parts.
Ok, When my friend is available next I'll see if we can get together and test for you.
I'll update when we have

User avatar
CuzDawg3
Recruit
Posts: 6
Joined: Wed Jul 07, 2021 10:44 pm

Post by CuzDawg3 » Sat Aug 19, 2023 9:09 pm

Howdy! I realize this is a bit of a post-revive, but I'm in the same boat. Got both of my boys and myself set up with the XWAU and VR (we all have reverb G2s) and trying to get the multiplayer action going. We'll be glad to to test anything out too, pretty much any evening Mountain time!

Edit: multiplayer for us is a go. Just flew our first skirmish successfully. We also did try the Hook_CockpitLook.dll and noticed that it is really shaky for both the host and clients. We did another test with VR disabled and it was smooth for all of us. Let me know how else we can help! (More "beta" testing?)

HW tested on all Win10 machines with Reverb G2s using SteamVR and 5.6.2:
1. 3090 rig (host)
2. 2070 super laptop
3. 3060ti rig

"Thank the makers!" -C-3PO (and ME!)
"Thank the makers!" -C-3PO
"of XWAUpgrade!" -me

Post Reply