FoxTwo Posted April 3, 2019 Posted April 3, 2019 Pretty simple but I wrote two scripts to enable/disable VR and launch DCS. Just copy the contents into two script files. DCS_vr-enable.ps1 $options = "$env:userprofile\Saved Games\DCS\Config\options.lua" (Get-Content $options) -replace '\["enable"\] = false,', '["enable"] = true,' | Set-Content $options &"$env:ProgramFiles\Eagle Dynamics\DCS World\bin\DCS_updater.exe" DCS_vr-disable.ps1 $options = "$env:userprofile\Saved Games\DCS\Config\options.lua" (Get-Content $options) -replace '\["enable"\] = true,', '["enable"] = false,' | Set-Content $options &"$env:ProgramFiles\Eagle Dynamics\DCS World\bin\DCS_updater.exe" Instead of launching DCS by the shortcut just right click and run the appropriate script with powershell.
Recommended Posts