Jump to content

IL-2 (Steam version) startup choices (VR or 2D)


Recommended Posts

Posted

I'm running a G2v2 in OpenXR\OpenComposite. To start the 1C version is simple, for VR just check the "Enable VR" (or not) in Settings before hitting "Play". For Steam you have to enter the game and go to settings, enable VR, then save, exit, and restart and you are in VR. To run in 2D you have to go in again, un-tik VR, save, exit, restart.. Is there a way to set up a shortcut for Steam IL-2 to force VR and use the standard shortcut for 2D?

Posted (edited)

Yes, but you'll have to swap startup.cfg files. I do this with a launch script. Here's an example of what I do. It's not feature-complete yet (I have a menu that launches, it looks like this):

 

MAKE A BACKUP OF YOUR STARTUP.CFG BEFORE ANY TINKERING. Once you get your 2D and VR settings dialed in, save two copies. startup2d.cfg and startupvr.cfg

 

Edit: I will eventually make a $gamepath variable, clean up the entire launcher, and post it in the mods forum.. maybe this week :P. I always meant to make it a windows-forms based app but never got around to it.  Full script below if you're interested. 

image.png.952939b0fc2eda7d27c420585a95da35.png

2D script:

Quote

            del "D:\Steam\steamapps\common\IL-2 Sturmovik Battle of Stalingrad\data\startup.cfg"
            Write-Host 'Removed old startup.cfg' -ForegroundColor Yellow
            copy "D:\Steam\steamapps\common\IL-2 Sturmovik Battle of Stalingrad\data\startup2d.cfg" "D:\Steam\steamapps\common\IL-2 Sturmovik Battle of Stalingrad\data\startup.cfg"
            Write-Host 'Added fullscreen startup.cfg' -ForegroundColor Green
            Start-Sleep -s 5
         d:\steam\steam.exe steam://rungameid/307960
         exit

 

VR script:

Quote

            del "D:\Steam\steamapps\common\IL-2 Sturmovik Battle of Stalingrad\data\startup.cfg"
            Write-Host 'Removed old startup.cfg' -ForegroundColor Yellow
            copy "D:\Steam\steamapps\common\IL-2 Sturmovik Battle of Stalingrad\data\startupvr.cfg" "D:\Steam\steamapps\common\IL-2 Sturmovik Battle of Stalingrad\data\startup.cfg"
            Write-Host 'Added VR startup.cfg' -ForegroundColor Green
         D:\Steam\steamapps\common\SteamVR\bin\win64\vrstartup.exe"
         Start-Sleep -s 5

#d:\steam\steam.exe steam://rungameid/307960/VR

#YOU MANUALLY NEED TO GO LAUNCH IT FROM STEAM, steam used to have a /VR launch flag but it's not working.

         exit

 

Edited by R3animate
  • Thanks 1
Posted (edited)

R3animate's solution is good if you want to have separate graphical settings. If you just want to switch between modes for testing/settings up controls then just make two shortcuts - one with a path of:

steam://launch/307960/vr

 

And one with a path of:

steam://launch/307960/

 

Edited by Firdimigdi
  • Upvote 2
Posted
6 minutes ago, Firdimigdi said:

R3animate's solution is good if you want to have separate graphical settings. If you just want to switch between modes for testing/settings up controls then just make two shortcuts - one with a path of:

steam://launch/307960/vr

 

And one with a path of:

steam://launch/307960/

 

Perfect, thanks guys!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...