Jump to content

VR must have mods


Quekel

Recommended Posts

Not necessarily a mod, but two programs for oculus owners:

 

Touchbinder

Auto oculus touch

 

These will allow you to map keybinds to your oculus controllers, or axis to the thumb sticks, very useful for those who fly solely with touch controllers in VR

 

I fly with rudder pedals and just my touch controls, by binding things like right shift to thumb stick clicks as modifiers (and so on) you have about 30+ bindable keys for your touch controls

 

Touchbinder is very easy to configure and allows simple creation of a script using an online tool, Auto oculus touch is not as easy requiring

some manual script writing which is sometimes complex and time consuming but will allow you to bind joysticks as an axis output, useful for rudder, handy for those who fly solely with VR controllers

 

Link to touchbinder - https://github.com/Graicc/TouchBinder/releases/tag/v1.2.1

 

Link to auto oculus touch - https://forums.oculusvr.com/community/discussion/60220/auto-oculus-touch-v0-1-6-latest-release-17-nov-2019

Link to comment
Share on other sites

If you have managed to load the above programs as suggested by THE__PWN3R here are a couple of scripts to make the transition to total VR control.

These scripts were provided by THE__PWN3R, I have tweaked them for my use. Thanks P3.

These scripts are useful for all aircraft if using VR only as some require the full stick/throttle/rudder or just rudder, depending on what the module maker has provided.

 

auto_oculus_touch script

For full stick, throttle and rudder control, it provides pitch and roll to the right Touch controller (ergonomic style), rudder and throttle to the left Touch controller joystick. The throttle needs to be held in position but read on for a solution ;=)

 

The second script is the TouchBinder script at the bottom of the page, which, adds a lot more control to the throttle and lets you set the throttle to where you want it to stay. You will need to unbind (clear) the throttle axis in game settings if using this script.

 

Both scripts can be run at the same time.

 

auto_oculus_touch script

Copy the following to notepad, name as you like and make sure it ends with .ahk [e.g. totalvr.ahk]

then place it in the auto_oculus_touch folder. Run the script before flying.

 

 

#include auto_oculus_touch.ahk

 

; This is used to treat the trigger like a button. We need to remember the old state.

oldTrigger:=0

 

; Start the Oculus sdk.

InitOculus()

InitvJoy(1)

 

; Main polling loop.

Loop {

; Grab the latest Oculus input state (Touch, Remote and Xbox One).

Poll()

 

; Get the various analog values. Triggers are 0.0-1.0, thumbsticks are -1.0-1.0

leftIndexTrigger := GetTrigger(LeftHand, IndexTrigger)

leftHandTrigger := GetTrigger(LeftHand, HandTrigger)

leftX := GetThumbStick(LeftHand, XAxis)

leftY := GetThumbstick(LeftHand, YAxis)

rightIndexTrigger := GetTrigger(RightHand, IndexTrigger)

rightHandTrigger := GetTrigger(RightHand, HandTrigger)

rightX := GetThumbStick(RightHand, XAxis)

rightY := GetThumbStick(RightHand, YAxis)

 

; Get button states.

; Down is the current state. If you test with this, you get a key every poll it is down. Repeating.

; Pressed is set if transitioned to down in the last poll. Non repeating.

; Released is set if transitioned to up in the last poll. Non repeating.

down := GetButtonsDown()

pressed := GetButtonsPressed()

released := GetButtonsReleased()

touchDown := GetTouchDown()

touchPressed := GetTouchPressed()

touchReleased := GetTouchReleased()

 

; Now to do something with them.

SetvJoyAxis(HID_USAGE_X, leftX)

SetvJoyAxis(HID_USAGE_Y, -leftY)

SetvJoyAxisU(HID_USAGE_Z, leftIndexTrigger)

SetvJoyAxisU(HID_USAGE_RZ, rightIndexTrigger)

 

 

if pressed & ovrA

SetvJoyButton(1,1)

if released & ovrA

SetvJoyButton(1,0)

if pressed & ovrB

SetvJoyButton(2,1)

if released & ovrB

SetvJoyButton(2,0)

if pressed & ovrX

SetvJoyButton(3,1)

if released & ovrX

SetvJoyButton(3,0)

if released & ovrY

SetvJoyButton(4,1)

if released & ovrY

SetvJoyButton(4,0)

if pressed & ovrEnter

SetvJoyButton(5,1)

if released & ovrEnter

SetvJoyButton(5,0)

 

if pressed & ovrLThumb

SetvJoyButton(8,1)

if released & ovrLThumb

SetvJoyButton(8,0)

if pressed & ovrRThumb

SetvJoyButton(9,1)

if released & ovrRThumb

SetvJoyButton(9,0)

 

if leftHandTrigger > 0.7

SetvJoyButton(6,1)

else

SetvJoyButton(6,0)

 

rightHandTrigger := GetTrigger(RightHand, HandTrigger)

 

down := GetButtonsDown()

pressed := GetButtonsPressed()

released := GetButtonsReleased()

 

if rightHandTrigger > 0.5

{

pitch :=GetPitch(RightHand)

yaw :=GetYaw(Righthand)

roll :=GetRoll(RightHand)

}

else

{

pitch :=0

yaw :=0

roll :=0

}

 

SetvJoyAxis(HID_USAGE_RX, (roll)/90.0)

SetvJoyAxis(HID_USAGE_RY, (pitch)/45.0)

;SetvJoyAxis(HID_USAGE_X, (yaw)/40.0)

 

Sleep, 10

}

 

 

 

 

TouchBinder Script

 

Using this will allow smooth control of the throttle that will stay where you move it to. It will work in conjunction with the auto_oculus_touch script, just load both scripts before you go flying.

 

In DCS settings you will have to unbind (clear) the throttle axis, and assign throttle up to Numpad+ (NumpadAdd] and throttle down to Numpad- [NumpadSub] if not already set to this..

 

Open a new notepad and copy this:

 

bPressed|bLUp|0,{NumpadAdd down}

bReleased|bLup|0,{NumpadAdd up}

bPressed|bLdown|0,{NumpadSub down}

bReleased|bLDown|0,{NumpadSub up}

 

Name the file settings.txt then insert in the file containing the TouchBinder.exe. Run the script before flying.

 

 

Extras:

 

To complicate matters the auto_oculus script can be changed just by changing comments next to two lines in the script.

This includes rudder control to the right Touch so that you have pitch, roll, and yaw combined on the right controller and just throttle on the left. The two lines are: SetvJoyAxis(HID_USAGE_X, leftX) and ;SetvJoyAxis(HID_USAGE_X, (yaw)/40.0) comment out (;) either or but not both at the same time (you try explaining this....). Don't forget to reload the script if you make any changes.

 

I included a wheel brake switch press to the left Touch joystick for easy taxying and braking.

 

I use Voiceattack for many other controls e.g. Gear, Flaps up/down and the important Eject !!! command.

 

Enjoy

  • Like 1
Link to comment
Share on other sites

FYI!

 

Kegetys Shader Mod - Works on latest version - IC Pass

 

 

 

Does not pass IC. It says it in the first post.

Intel i7 9700k, 64GB DDR4 (Corsair), Gigabyte Z390 Master, RTX 2080 Ti AMP 11gb, 500GB Sabrent Rocket (System), 1TB XPG Gammix S11 Pro M.2 (DCS), Windows 11 64-bit Pro, Samsung 49" 4K CRG9 Monitor (5120x1440), Samsung Odyssey Plus, TrackIR 5, Thrustmaster Warthog Hotas, Various streamdecks, button boxes, Logitech Pro Rudder Pedals, Corsair K95 Platinum, Iron Claw mouse.

DCS OB, F-14B Tomcat, F-18C Hornet, F-16C Viper, A-10C Warthog, F-5 Tiger II, AV-8B Harrier, P-51D Mustang, FC3, Super Carrier
 

Thrustmaster Warthog Hotas, (3) Cougar MFD's, Logitech Pro Rudder Pedals, (2) Stream Decks, (1) Stream Deck XL, (1) Stream Deck Mini, Misc Button Boxes

Link to comment
Share on other sites

  • 3 weeks later...

Either this, or this should be added to the OP list of must haves

 

This makes it possible to set shadows to in-cockpit only and has a huge positive impact on framerates compared to having shadows set to low (or higher)

(with a note though, that it doesn't pass IC)

 

Also this thread should be made a sticky imho

System specs:

 

i7-8700K @stock speed - GTX 1080TI @ stock speed - AsRock Extreme4 Z370 - 32GB DDR4 @3GHz- 500GB SSD - 2TB nvme - 650W PSU

HP Reverb G1 v2 - Saitek Pro pedals - TM Warthog HOTAS - TM F/A-18 Grip - TM Cougar HOTAS (NN-Dan mod) & (throttle standalone mod) - VIRPIL VPC Rotor TCS Plus with ALPHA-L grip - Pointctrl & aux banks <-- must have for VR users!! - Andre's SimShaker Jetpad - Fully adjustable DIY playseat - VA+VAICOM

 

~ That nuke might not have been the best of ideas, Sir... the enemy is furious ~ GUMMBAH

Link to comment
Share on other sites

Not necessarily a mod, but two programs for oculus owners:

 

Touchbinder

Auto oculus touch

 

These will allow you to map keybinds to your oculus controllers, or axis to the thumb sticks, very useful for those who fly solely with touch controllers in VR

 

I fly with rudder pedals and just my touch controls, by binding things like right shift to thumb stick clicks as modifiers (and so on) you have about 30+ bindable keys for your touch controls

 

Touchbinder is very easy to configure and allows simple creation of a script using an online tool, Auto oculus touch is not as easy requiring

some manual script writing which is sometimes complex and time consuming but will allow you to bind joysticks as an axis output, useful for rudder, handy for those who fly solely with VR controllers

 

Link to touchbinder - https://github.com/Graicc/TouchBinder/releases/tag/v1.2.1

 

Link to auto oculus touch - https://forums.oculusvr.com/community/discussion/60220/auto-oculus-touch-v0-1-6-latest-release-17-nov-2019

 

 

 

 

That's very interesting. Do you have a video of a gameplay using the VR controls?

Banned by cunts.

 

apache01.png

Link to comment
Share on other sites

  • 2 weeks later...

An oldie but still useful:

F-18 Fuzzy font fix - https://forums.eagle.ru/showpost.php?p=3555460&postcount=117

SYSTEM SPECS: Hardware Intel Corei7-12700KF @ 5.1/5.3p & 3.8e GHz, 64Gb RAM, 4090 FE, Dell S2716DG, Virpil T50CM3 Throttle, WinWIng Orion 2 & F-16EX + MFG Crosswinds V2, Varjo Aero
SOFTWARE: Microsoft Windows 11, VoiceAttack & VAICOM PRO

YOUTUBE CHANNEL: @speed-of-heat

1569924735_WildcardsBadgerFAASig.jpg.dbb8c2a337e37c2bfb12855f86d70fd5.jpg

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...

+2

 

a nice sticky thread

[sIGPIC][/sIGPIC]

Crosshair VIII hero wifi, 3800x w/ Enermax 360 AIO cooler (push-pull), 32gigs DDR4 Ripjaws 3600, Win 10 home on a Plextor PCI-E x4 3gb/s HD, EVGA 2070 Super FTW3 ultra+, Soundblaster Z

Rift S, M$FFB2, CH Pro throttle, Saitek pedals

 

BS2, A10C, P51D, SPITFIRE, FC3, Uh-1H, F86, Mi-8MTV2, SA342, MIG21-bis, AV8BNA, F14, F16, FA-18C, SUPERCARRIER

Link to comment
Share on other sites

  • 3 weeks later...
If you have managed to load the above programs as suggested by THE__PWN3R here are a couple of scripts to make the transition to total VR control.

These scripts were provided by THE__PWN3R, I have tweaked them for my use. Thanks P3.

These scripts are useful for all aircraft if using VR only as some require the full stick/throttle/rudder or just rudder, depending on what the module maker has provided.

 

auto_oculus_touch script

For full stick, throttle and rudder control, it provides pitch and roll to the right Touch controller (ergonomic style), rudder and throttle to the left Touch controller joystick. The throttle needs to be held in position but read on for a solution ;=)

 

The second script is the TouchBinder script at the bottom of the page, which, adds a lot more control to the throttle and lets you set the throttle to where you want it to stay. You will need to unbind (clear) the throttle axis in game settings if using this script.

 

Both scripts can be run at the same time.

 

auto_oculus_touch script

Copy the following to notepad, name as you like and make sure it ends with .ahk [e.g. totalvr.ahk]

then place it in the auto_oculus_touch folder. Run the script before flying.

 

 

#include auto_oculus_touch.ahk

 

; This is used to treat the trigger like a button. We need to remember the old state.

oldTrigger:=0

 

; Start the Oculus sdk.

InitOculus()

InitvJoy(1)

 

; Main polling loop.

Loop {

; Grab the latest Oculus input state (Touch, Remote and Xbox One).

Poll()

 

; Get the various analog values. Triggers are 0.0-1.0, thumbsticks are -1.0-1.0

leftIndexTrigger := GetTrigger(LeftHand, IndexTrigger)

leftHandTrigger := GetTrigger(LeftHand, HandTrigger)

leftX := GetThumbStick(LeftHand, XAxis)

leftY := GetThumbstick(LeftHand, YAxis)

rightIndexTrigger := GetTrigger(RightHand, IndexTrigger)

rightHandTrigger := GetTrigger(RightHand, HandTrigger)

rightX := GetThumbStick(RightHand, XAxis)

rightY := GetThumbStick(RightHand, YAxis)

 

; Get button states.

; Down is the current state. If you test with this, you get a key every poll it is down. Repeating.

; Pressed is set if transitioned to down in the last poll. Non repeating.

; Released is set if transitioned to up in the last poll. Non repeating.

down := GetButtonsDown()

pressed := GetButtonsPressed()

released := GetButtonsReleased()

touchDown := GetTouchDown()

touchPressed := GetTouchPressed()

touchReleased := GetTouchReleased()

 

; Now to do something with them.

SetvJoyAxis(HID_USAGE_X, leftX)

SetvJoyAxis(HID_USAGE_Y, -leftY)

SetvJoyAxisU(HID_USAGE_Z, leftIndexTrigger)

SetvJoyAxisU(HID_USAGE_RZ, rightIndexTrigger)

 

 

if pressed & ovrA

SetvJoyButton(1,1)

if released & ovrA

SetvJoyButton(1,0)

if pressed & ovrB

SetvJoyButton(2,1)

if released & ovrB

SetvJoyButton(2,0)

if pressed & ovrX

SetvJoyButton(3,1)

if released & ovrX

SetvJoyButton(3,0)

if released & ovrY

SetvJoyButton(4,1)

if released & ovrY

SetvJoyButton(4,0)

if pressed & ovrEnter

SetvJoyButton(5,1)

if released & ovrEnter

SetvJoyButton(5,0)

 

if pressed & ovrLThumb

SetvJoyButton(8,1)

if released & ovrLThumb

SetvJoyButton(8,0)

if pressed & ovrRThumb

SetvJoyButton(9,1)

if released & ovrRThumb

SetvJoyButton(9,0)

 

if leftHandTrigger > 0.7

SetvJoyButton(6,1)

else

SetvJoyButton(6,0)

 

rightHandTrigger := GetTrigger(RightHand, HandTrigger)

 

down := GetButtonsDown()

pressed := GetButtonsPressed()

released := GetButtonsReleased()

 

if rightHandTrigger > 0.5

{

pitch :=GetPitch(RightHand)

yaw :=GetYaw(Righthand)

roll :=GetRoll(RightHand)

}

else

{

pitch :=0

yaw :=0

roll :=0

}

 

SetvJoyAxis(HID_USAGE_RX, (roll)/90.0)

SetvJoyAxis(HID_USAGE_RY, (pitch)/45.0)

;SetvJoyAxis(HID_USAGE_X, (yaw)/40.0)

 

Sleep, 10

}

 

 

 

 

TouchBinder Script

 

Using this will allow smooth control of the throttle that will stay where you move it to. It will work in conjunction with the auto_oculus_touch script, just load both scripts before you go flying.

 

In DCS settings you will have to unbind (clear) the throttle axis, and assign throttle up to Numpad+ (NumpadAdd] and throttle down to Numpad- [NumpadSub] if not already set to this..

 

Open a new notepad and copy this:

 

bPressed|bLUp|0,{NumpadAdd down}

bReleased|bLup|0,{NumpadAdd up}

bPressed|bLdown|0,{NumpadSub down}

bReleased|bLDown|0,{NumpadSub up}

 

Name the file settings.txt then insert in the file containing the TouchBinder.exe. Run the script before flying.

 

 

Extras:

 

To complicate matters the auto_oculus script can be changed just by changing comments next to two lines in the script.

This includes rudder control to the right Touch so that you have pitch, roll, and yaw combined on the right controller and just throttle on the left. The two lines are: SetvJoyAxis(HID_USAGE_X, leftX) and ;SetvJoyAxis(HID_USAGE_X, (yaw)/40.0) comment out (;) either or but not both at the same time (you try explaining this....). Don't forget to reload the script if you make any changes.

 

I included a wheel brake switch press to the left Touch joystick for easy taxying and braking.

 

I use Voiceattack for many other controls e.g. Gear, Flaps up/down and the important Eject !!! command.

 

Enjoy

 

 

Hello,

 

1)

I can't get the following to work tried it with both standalone and steam version.

Is yours still working (touchbinder)? minus the // etc

 

bDown|bA|0,a //view zoom

bPressed|bLThumb|0,{w down} //wheel brakes on

bReleased|bLThumb|0,{w up} //wheel brakes off

bDown|bX|0,x //re-center head

bDown|bY|0,y //game menu

bPressed|bLTrigger|0,{z down} //left rudder on

bReleased|bLTrigger|0,{z up} //left rudder off

bPressed|bRTrigger|0,{x down} //right rudder on

bReleased|bRTrigger|0,{x up} //right rudder off

 

2)

Also, I can't get the (auto oculus touch) program script to work, the autohotkey says there are error in the script, starting 1st line. #include auto_oculus_touch.ahk ???

 

3)

By the way, since you are using VR Controller, how do you play BVR and some Bombs, which requires to you to move TDC to acquire targets.

 

4)

Without a HOTAS and Mouse (mouse breaks immersion), but with Voice Attack,

I can play some stuff with VR controller

 

AA: Air to Air Gun and Missile AIM9,7, 120 with ACM only, Aircraft Landing and TakeOff

AG: AG gun, AG rocket both seems to be simple fun (have not get to them yet)


Edited by BenPR1
Link to comment
Share on other sites

  • 4 months later...

Since the forum update, most of the links don’t work......can someone point me in the right direction for them? 

System specs: PC1 :Scan 3XS Ryzen 5900X, 64GB Corsair veng DDR4 3600, EVGA GTX 3090 Win 10, Quest Pro, Samsung Odyssey G9 Neo monitor. Tir5. PC2 ( Helo) Scan 3XS Intel 9900 K, 32 GB Ram, 2080Ti, 50 inch Phillips monitor

 F/A-18C: Rhino FFB base TianHang F16 grip, Winwing MP 1, F-18 throttle, TO & Combat panels, MFG crosswind & DFB Aces  seat :cool:                       

Viper: WinWing MFSSB base with F-16 grip, Winwing F-16 throttle, plus Vipergear ICP. MFG crosswind rudders. 

Helo ( Apache) set up: Virpil collective with AH64D grip, Cyclic : Rhino FFB base & TM F18 grip, MFG crosswind rudders, Total controls AH64 MFD's,  TEDAC Unit. 

 

Link to comment
Share on other sites

All the links are dead 😞

Ryzen 7 5800X3D | 64GB DDR4 3600| MSI RTX 4080 16GB Ventus 3X OC  | Samsung 970 Evo 2TB NVME | HP Reverb G2 | DIY Head Tracker Cap | Logitech X-56 throttle | VKB NXT Premium |  Win 11

"Any sufficiently advanced technology is indistinguishable from magic."

--Arthur C Clark

Link to comment
Share on other sites

3 minutes ago, Sr. said:

All the links are dead 😞

 

Yeah the update to the forum killed a lot of links. Just have to find them and save again.

Don B

EVGA Z390 Dark MB | i9 9900k CPU @ 5.1 GHz | Gigabyte 4090 OC | 64 GB Corsair Vengeance 3200 MHz CL16 | Corsair H150i Pro Cooler |Virpil CM3 Stick w/ Alpha Prime Grip 200mm ext| Virpil CM3 Throttle | VPC Rotor TCS Base w/ Alpha-L Grip| Point Control V2|Varjo Aero|

Link to comment
Share on other sites

  • 3 years later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...