praydog / REFramework

Scripting platform, modding framework and VR support for all RE Engine games
https://cursey.github.io/reframework-book/
MIT License
2.89k stars 355 forks source link

RE2 (and likely the rest of REFramework) Has Issues Where PSVR2 Controllers Are Seemingly Non-Functional #1125

Open sora74747 opened 1 month ago

sora74747 commented 1 month ago

Describe the bug

Using the PSVR2 SteamVR runs the controllers in Oculus Touch compatability mode (which is not a big deal, Half Life VR does the same and runs with PSVR2 flawlessly so the compatability layer is almost certainly not the problem) when you start the game with a fresh install of the mod the menu is navigable if slightly awkward. The game can be loaded into without issue and you can walk, aim, bring up the inventory, and interact with interactables. However some of the binds are a bit awkward and R2 (right trigger) does not fire the gun, I have no way of knowing if reload works because I can't shoot. After attempting to smooth the bindings out by editing the bindings through steam VR in game (because you cannot change the bindings out of game like with Half Life VR mod) literally nothing works you can't even select no for HDR before the title screen. The only things that function are the joysticks. The in game bindings settings are just as useless because they think you're using a mouse and keyboard and all of the buttons do either nothing or show up as left click.

I have tried both nightly and current stable builds. OpenVR and OpenXR, I've also attempted to do it with the upscaler version. Nothing has worked.

Upload logs and any crash dumps Uploaded logs from upscale OpenXR attempt and my binding json

If necessary I can run it in all 4 modes and get you more log files.

Identify the REFramework version If the REFramework version or commit hash is known, submit this information.

To Reproduce Steps to reproduce the behavior:

  1. Start Game
  2. Press cross/square. Nothing happens. This is after attempting to use steamVR to change bindings.
  3. Start game (with default bindings)
  4. Load into VR save file
  5. Press R2. Gun does not fire. It is unknown whether the button for reloading works because I can't fire.

Expected behavior I expect Right trigger to fire guns, and I expect square, cross, triangle, and circle to perform their assigned functions. (a,b,x,y (not respectively)) I also expect cross to perform the function of A and circle to perform the function of B in the menus (if i reassign the buttons to do so).

Crucially, it is possible to get the controllers to work as seen in this youtube video https://www.youtube.com/watch?v=In6bE8GzeWQ but I don't understand how they got it functioning.

Screenshots If applicable, add screenshots to help explain your problem.

I don't think screenshots are applicable but if you're having issues recreating my issues I will record some videos

Desktop and VR (please complete the following information):

Virtual Reality (please complete the following information):

Additional context

re2_framework_log.txt playstation_vr2_sense.json

praydog commented 1 month ago

Ensure you don't have any sort of extra conflicting software, like those for joysticks, joytokey, xpadder, etc...

If keyboard icons are showing up while using the controllers, that means something is conflicting and continuously sending keyboard input to the game. This could be because of conflicting software, or something like your mouse being extremely sensitive. Because the game doesn't exactly support dual input, the keyboard/mouse takes priority, and controller buttons generally get ignored.

sora74747 commented 1 month ago

I did a clean reinstall and did further testing and "fixed" the problem. However there are still several issues big enough to be worth mentioning;

1.) You cannot rebind any of the default bindings or everything breaks completely. This is probably because there is no distinction between left or right grips/triggers (just grip, trigger) and cross,square,triangle (just A,B) when you make custom bindings, however the automatically generated bindings bypass this in a way that I don't fully understand.

2.) Speaking of things I don't fully understand. You shoot by pressing Right Grip and Right Trigger. Nothing anywhere describes this behavior and I only found this out because i decided to push every non-menu-opening button at the same time and the gun went off.

3.) It is extremely unclear what the binds mean in the binding menu. The autobind just kind of makes it work in a way that the binding menu, clearly, doesn't reflect. I am pretty sure there isnt a way to bind the firing action to the controllers manually meaning the only way to add missing functionality, which includes opening the start menu and chanding ammo types, is by setting chords. Because if you de-mirror the controller everything stops working and the only available button on the left controller is the button that takes screenshots.

4.) I can give a detailed list of what each button does if you want to put it into the FAQ.