Jump to content

Possible to have two different settings profiles for regular and VR?


Recommended Posts

Posted

My settings are quite different for each, and would like to have separate profiles one for normal, and one for VR. Is there some way to do this?

  • Upvote 5
Posted

It would be useful to switch between Tank Crew and IL2. You can save two different versions of the startup.cfg file? Should work

  • Upvote 1
AEthelraedUnraed
Posted
8 hours ago, Hartigan said:

It would be useful to switch between Tank Crew and IL2. You can save two different versions of the startup.cfg file? Should work

That's what I do. I've got two versions of startup.cfg, that I can switch by running a batch file (even less work than copy-pasting :P). Works like a charm, although these days I barely fly non-VR anymore.

Posted

Steam has the option to launch the game in either VR or non-VR mode, it'd be amazing if your graphics settings adjusted based on which of those were selected.

 

For VR I like to run a smaller mirror on the desktop and with high settings, but for desktop I'd love fullscreen and Ultra.

Posted
5 hours ago, AEthelraedUnraed said:

That's what I do. I've got two versions of startup.cfg, that I can switch by running a batch file (even less work than copy-pasting :P). Works like a charm, although these days I barely fly non-VR anymore.

 

Same here. I have two ("IL-2 TV.bat" and "IL-2 VR.bat"), with shortcuts added to the IL-2 GB Start Menu folder. Running the batch switches .cfg files and launches the game; subsequently if the game is launched directly the last used .cfg file will continue to be used. Managing the two .cfg files is greatly simplified with the Config Editor tool which you can find elsewhere in the forum.

 

Here is the "TV" file:

echo off
REM copy C:\Program Files (x86)\1C Game Studios\IL-2 Sturmovik Great Battles\data\startup.cfg C:\Program Files (x86)\1C Game Studios\IL-2 Sturmovik Great Battles\data\startup.cfg.bak
copy "C:\Program Files (x86)\1C Game Studios\IL-2 Sturmovik Great Battles\data\TVstartup.cfg" "C:\Program Files (x86)\1C Game Studios\IL-2 Sturmovik Great Battles\data\startup.cfg"
start "" /D "C:\Program Files (x86)\1C Game Studios\IL-2 Sturmovik Great Battles\bin\game\" "C:\Program Files (x86)\1C Game Studios\IL-2 Sturmovik Great Battles\bin\game\Launcher.exe"

 

The REM can be deleted if you want to make a backup every time the switch is done.

  • Upvote 1
Posted

Thanks! ... I figured a batch file would be the answer, but wasn't 100% sure how to write it. Thanks for the code.

 

My use case is VR for flying and Regular for Tanks - I don't like VR for tanks; more hassle and doesn't add anything for me. I also find I have my settings quite a bit different for each - maxxed out for tanks, and tuned down a bit for VR. (I run 2880p)

  • 3 months later...
-332FG-brooklynspo
Posted (edited)

@reve_etrange

Thank you for this - I use it regularly when switching between 2-D and VR. I was wondering if it would be possible to set up the batch files to also switch the Input files (with the keybinds) as I use different mappings in each mode.

(edit: I guess I can try duplicating the actions in the batch file on the Input folder... )




Thank You, B.

Edited by -332FG-brooklynspo
-332FG-brooklynspo
Posted (edited)

Hey! It worked! "TV" file looks like this:

@echo off
copy /y  "C:\Program Files\IL-2 Sturmovik Great Battles\data\startup.cfg" "C:\Program Files\IL-2 Sturmovik Great Battles\data\startup.cfg.bak"
copy "C:\Program Files\IL-2 Sturmovik Great Battles\data\TVstartup.cfg" "C:\Program Files\IL-2 Sturmovik Great Battles\data\startup.cfg"
xcopy "C:\Program Files\IL-2 Sturmovik Great Battles\data\TVinput" "C:\Program Files\IL-2 Sturmovik Great Battles\data\input" /s /k /e /y
xcopy "C:\Program Files\IL-2 Sturmovik Great Battles\data\LuaScripts\TVsnapviews" "C:\Program Files\IL-2 Sturmovik Great Battles\data\LuaScripts\snapviews" /s /k /e /y
start "" /D "C:\Program Files\IL-2 Sturmovik Great Battles\bin\game\" "C:\Program Files\IL-2 Sturmovik Great Battles\bin\game\Launcher.exe"
 

Edited by -332FG-brooklynspo
  • 3 months later...
-332FG-brooklynspo
Posted (edited)

Heads up - the contents of the "input" folder have changed slightly with the new custom input profiles feature introduce in update 4.707. In order to use the batch file to switch between VR and 2D you will have to rebuild the input folders to include the new files and folders. You can simply copy paste and rename old files and folders. The new items are the Custom folder, global actions, global pitch and profiling.txt. Not sure what all these do yet, but they need to be present in your input folders.

I have also updated my startup batch files to include snapviews folder as well as config and input.


@echo off
copy /y  "C:\Program Files\IL-2 Sturmovik Great Battles\data\startup.cfg" "C:\Program Files\IL-2 Sturmovik Great Battles\data\startup.cfg.bak"
copy "C:\Program Files\IL-2 Sturmovik Great Battles\data\TVstartup.cfg" "C:\Program Files\IL-2 Sturmovik Great Battles\data\startup.cfg"
xcopy "C:\Program Files\IL-2 Sturmovik Great Battles\data\TVinput" "C:\Program Files\IL-2 Sturmovik Great Battles\data\input" /s /k /e /y
xcopy "C:\Program Files\IL-2 Sturmovik Great Battles\data\LuaScripts\TVsnapviews" "C:\Program Files\IL-2 Sturmovik Great Battles\data\LuaScripts\snapviews" /s /k /e /y
start "" /D "C:\Program Files\IL-2 Sturmovik Great Battles\bin\game\" "C:\Program Files\IL-2 Sturmovik Great Battles\bin\game\Launcher.exe"
 

 

Edited by -332FG-brooklynspo
Ala13_UnopaUno_VR
Posted

Please

KPnutskgwanchos
Posted

You can also simply use JSME to swap the startup files over

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...