Cactus Cowboy - Desert Warfare

Cactus Cowboy - Desert Warfare

View Stats:
finalhope227 Nov 21, 2024 @ 5:02am
PSVR2 - Can't get Adaptive Triggers to work with DSX [SOLVED]
UPDATE - SOLUTION: Create this file containing DSX's UDP number:
C:\Temp\DualSenseX\DualSenseX_PortNumber.txt
6969 (- in my case - just the number nothing else!)

_______________________________________
I tried multiple ways to get it to work without success.

This is how I tried:
- Started DSX 3.1+ (Beta 1.35)
- Started Cactus Cowboy - Desert Warfare
- Checked, and DSX Support is enabled in Options

Still doesn't work. Also tried to update Cactus Cowboy to BETA, tried to change psvr2 controllers in DSX to emulate xbox/ps4/native but nothing helps.

Can you please double check it's working with the latest DSX ?
Last edited by finalhope227; Nov 23, 2024 @ 9:34am
< >
Showing 1-10 of 10 comments
Cactus VR Studios  [developer] Nov 21, 2024 @ 9:52am 
Just double checked and it's working like a charm. Adaptive Triggers are only applied to guns! No other objects uses them.

Best guess: You're not on the DSX beta?
Are both controllers listed in DSX?
Is a static trigger profile applied to your controllers in DSX that could prevent the dynamic modification?
The contollers need to connected to DSX / SteamVR prior game start.

The Beta for Desert Warfare will be deleted as it was a sheer test. The regular version is what I just double checked.

Let me know if you figure it out, there aren't many users to ever even touch this, so the user feedback is limited and it might help others.
Cactus VR Studios  [developer] Nov 21, 2024 @ 11:45am 
Additional: Check the Networking settings in DSX. If your firewall is blocking mods. Add the respective firewall rules for DSX in the firewall (if enabled) in your system settings.
finalhope227 Nov 22, 2024 @ 5:05pm 
Thank you for the tips, but yes I'm on DSX beta with both controllers, default profile (which has adaptive triggers off) but there's no such option to "unforce" or similar, just the other presets like Feedback, Weapon, Vibration etc...
Yes, the controllers connected to DSX/SteamVR prior game start.

I've also tried:
- enable "Send Data to Device" in DSX
- uninstall/reinstall DSX v3.1
- revert to main build of Cactus Cowboy
- change controller bindings
- disable HidHide, add Cactus Cowboy to exceptions

The strange thing is that everything else works in DSX. I even tried the auto profile switcher to set HL Alyx to use right trigger in weapon mode and it's working automatically as I set. My DualSense controller also works with GTA V's adaptive trigger mod even wireless!

Your mod uses UDP too? Port number 6969 is good?
I noticed that there's no UDP data history in DSX after playing CC. But after playing GTA V there are a lot of UDP data!
Screenshots:
- after playing Cactus Cowboy:
https://i.imgur.com/g5hiT9x.jpeg

- after playing GTA V Adaptive Trigger mod:
https://i.imgur.com/TmNB00o.jpeg
Please check the Firewall settings!

Based on this the problem will be that Cactus Cowboy can't send the UDP data!
Adaptive Triggers supposed to work with EVERY weapon, true?
Cactus VR Studios  [developer] Nov 23, 2024 @ 1:32am 
This is what I really hate about PC gaming. On a console, it would simply work
/rant

Yes it uses UDP to dynamically change it. Make sure the file C:\Temp\DualSenseX\DualSenseX_PortNumber.txt exist so the game will get the correct port. In addition to the Firewallport for DSX, make sure Cactus Cowboy isn't block by it. For a temporary test, you could disable your installed firewall/antivirus solution (not recommended, but to make sure it aint the cause of it). GTA V probably has exceptions there.

I even open sourced how this works: https://github.com/CactusVRStudios/UnityDSX_VR
So there is no secret behind it.

My best guess is, it has to do with your rig setup being different from standard somewhere but that's something for you to figure out. I even installed the entire thing on my spare pc to double check and it just worked right away. Yes, every gun including pistols has a different adaptive trigger setup for its interactions just like the PS5 version.
Last edited by Cactus VR Studios; Nov 23, 2024 @ 1:34am
finalhope227 Nov 23, 2024 @ 9:00am 
It's working! THANK YOU SO MUCH!!!
The solution was to create the file you mentioned containing DSX's UDP number:
C:\Temp\DualSenseX\DualSenseX_PortNumber.txt
6969 (- in my case - just the number nothing else!)


Problem was that DSX doesn't create this file for me even when reinstalling it...

Regarding GTA V the mod works this way:
- If the file above is not present, it guesses port as 6969. This is why it worked for me!
- But if the file is present, it uses that number! (Port in the file and in DSX has to match.)

I don't get why DSX doesn't make the file for me even when I run it as admin...
Just tried this simple batch file and it works even without admin rights!
md "C:\Temp\DualSenseX\"
(echo 6969) > "C:\Temp\DualSenseX\DualSenseX_PortNumber.txt"
So I assume it's a problem on DSX side.

Regarding your opinion on PC gaming, I can understand it completely! I develop some apps in Visual Studio and I can't afford a digital signature on the exe -s. Windows Security tends to remove it so I had to make a "Terms of Use" asking the user for a permission to automatically whitelist it's directory. Maybe there's a better solution I don't know but we all have to live with this "tinkering" to fine tune user experience. On the bright side we have a lot of freedom on PC that consoles don't have. For example now I can play Cactus Cowboy on extreme high resolutions, 120 Hz and with Adaptive Triggers! :)

BTW your game is AWESOME! One of the best and funniest VR experience! :D
Cactus VR Studios  [developer] Nov 23, 2024 @ 10:18am 
Thanks and glad that this worked out. I'll forward this thread to the DSX developer to improve this for everyone. There's a reason 3.1 is in beta but with feedback like yours it can be ironed out before its final state :)
Cactus VR Studios  [developer] Nov 25, 2024 @ 8:02am 
FYI, I pushed a patch yesterday as well as DSX does to address the connecting issue you discovered 🌵
finalhope227 Nov 25, 2024 @ 10:59am 
Thank you so much! I already tried it and it does indeed works now, even when the text file is not present! :)
BS_100 Nov 25, 2024 @ 3:20pm 
I had kind of the same problem, It didn't work on the first try. For me I had to go to network settings ("Networking") and allow it on firewall. Then you see your port and I created the .txt-file ("DualSenseX_PortNumber.txt) manually in C:\Temp\DualSenseX\ and typed "6969" to it. Works! It's such a shame that Sony doesn't support this out of the box...
Cactus VR Studios  [developer] Nov 26, 2024 @ 8:12am 
Originally posted by BS_100:
It's such a shame that Sony doesn't support this out of the box...

There are two sides of the story, even if it were supported officially, game studios would need to write code for it / update their pc version too. Hardy anyone will do this, that's just the reality of things as there is no market for it that would justify the development time. I'm an enthusiast who loves tech which is the reason I investigated a solution ^^
< >
Showing 1-10 of 10 comments
Per page: 1530 50