Repository navigation
v0.4.2a - Motion controllers
NOTE: For some reason, the latest version of dgVoodoo2 that is used in this build (converts d3d9 into d3d12) is flagged as malware/trojan. From what I looked up and per the dev's words ... Unfortunately I don't have any worthwhile to say about what to do with this. Maybe a report to the ESET devs about the false positive detection or just simply put this file on an exception list if that's possible. I upgraded to a new compiler version that might generate some byte patterns in the binaries that weren't present in the older dgV versions and didn't trigger the false detection.
I took the chance cause I wanna play this in VR and all my previous testing with getting D3d9 to cooperate resulted in terrible performance and also not a very good presentation for 3D inside of the headset. Thanks to the DLSS5 modders, I found out dgVoodoo existed, and figured it'd be a good tool to use better techniques to inject older games into VR.... but all the same, you have been warned.
Motion controllers, PlayStation pads, and a launch fix.
Play with your VR controllers
Your motion controllers now work as a gamepad, so you can play in VR with nothing in your hands but the controllers. RE5 sees an ordinary pad and shows pad prompts. They drive the mod menu too: click both sticks to open it, the sticks move through it, A selects.
| Motion control | Acts as | In RE5 |
|---|---|---|
| Right grip | Left trigger | Aim |
| Right trigger | Right trigger | Fire |
| Right stick | Right stick | Look around |
| Right stick click | R3 | |
| Right A / B | A / B | Action |
| Left trigger (hold) | nothing | the right stick becomes the d-pad |
| Left stick | Left stick | Move |
| Left stick click | L3 | both stick clicks open the mod menu |
| Left X / Y | X / Y | Reload, partner command |
| Left grip | Left shoulder | |
| Menu button | Start |
In game I use the Type C control scheme which puts your knife on left grip.
A pad has a d-pad and a controller doesn't, so one stick stands in for it while you hold a modifier. The D-pad setting on the VR tab picks which one: hold the left trigger (the default, works on every headset), rest your thumb on the right thumbrest (Quest and Rift Touch only), hold the left stick in, or give the right stick over to the d-pad entirely. There's a Stick deadzone slider as well, and Use motion controllers turns the lot off.
Supported: Quest and Rift Touch, Valve Index, Vive wands, Windows Mixed Reality, and anything that speaks the basic OpenXR controller profile.
The gun still points where the game points it. These are a gamepad, not hands. Aiming by pointing the controller is being worked on for a later version.
PlayStation pads
A DualShock 4 or DualSense without Steam Input speaks DirectInput, which the mod couldn't see, so the menu shortcut did nothing and the pad kept driving Chris through an open menu. Both are fixed: those pads open and drive the menu, and they're properly hidden from the game while it's open.
Fixes
- A crash at launch on PCs running another program that hooks Direct3D 9. The mod was handing its own Direct3D entry points to anything in the process that asked, so an overlay or another wrapper could be dropped into the middle of dgVoodoo2 starting up and take the game down with it. Only the game's own requests are answered now.
- The both-sticks menu shortcut is easier to hit. Any click shorter than the one second view reset opens the menu, rather than only a very quick one.
Updating
Overwrite all five files from the VR zip.
Which download?
TrueFP-v0.4.2a-VR.zip: Windows + a headset. Plays flat-screen too.
TrueFP-v0.4.2a-flatscreen.zip: No headset, or Linux / Steam Deck via Proton. The PlayStation pad and launch fixes apply; the motion controller support is VR only.
Known issues
- Motion controllers act as a gamepad, not as hands. The gun points where the game points it.
- Turning VR on while in exclusive fullscreen can still crash inside dgVoodoo2 on some PCs. Play windowed if it happens to you.
- Pressing aim repeatedly can pull your view back toward level after you've aimed up or down.
- RE5's own mouse cursor can point at the wrong menu item while VR is on. A gamepad is unaffected.
- Some menus (the title screen, parts of Organize) still don't draw correctly in VR.
- Online co-op is untested.