Jump to content

Recommended Posts

Posted

Is there an app or utility so i can edit DCS configuration file outside of the sim?

For example to select graphic options outside of DCS, so that when i change monitor setup and resolution settings i dont have to wait for DCS to reload itself?

[sIGPIC][/sIGPIC]

Pilot from Croatia

Posted
Is there an app or utility so i can edit DCS configuration file outside of the sim?

For example to select graphic options outside of DCS, so that when i change monitor setup and resolution settings i dont have to wait for DCS to reload itself?

 

That's not how it works..

Specs:

Asus Z97 PRO Gamer, i7 4790K@4.6GHz, 4x8GB Kingston @2400MHz 11-13-14-32, Titan X, Creative X-Fi, 128+2x250GB SSDs, VPC T50 Throttle + G940, MFG Crosswinds, TrackIR 5 w/ pro clip, JetSeat, Win10 Pro 64-bit, Oculus Rift, 27"@1920x1080

 

Settings:

2.1.x - Textures:High Terrain:High Civ.Traffic:Off Water:High VisRan:Low Heatblur:High Shadows:High Res:1920x1080 RoC:1024 MSAA:4x AF:16x HDR:OFF DefS: ON GCI: ON DoF:Off Lens: OFF C/G:390m Trees:1500m R:max Gamma: 1.5

 

Posted (edited)

If you only need to change monitor setup/res, you can make "presets" by making copies of options.lua and write a batch to switch between configs. (this is what I do to quickly switch pancake<>VR)

 

Assuming the batch is directly placed in Saved Games\DCS\Config, and your alternative option files are "MyOptions_1.lua" and "MyOptions_2.lua :

@echo off
choice /c 12 /m "Press 1 for MyOptions_1 and 2 for MyOptions_2"
if "%ERRORLEVEL%" == "1" goto OPT1
if "%ERRORLEVEL%" == "2" goto OPT2

:OPT1
xcopy /y /f "MyOptions_1.lua" "options.lua"
exit

:OPT2
xcopy /y /f "MyOptions_2.lua" "options.lua"
exit

Then send a shortcut to desktop.

 

Otherwise, you can use any notepad app (windows notepad or notepad++) to edit the settings by hand.

 

 

edit : another approach, if anyone still interested. This variant allow to keep any changes made in DCS settings page.

 

1 - you'll need to enable windows developer mode (win 10 ONLY). The command we're going to use usually require administrator rights, dev mode bypass the admin requirement.

To do so, open windows settings, and head to "Update and security > For developers". Tick "Developer mode". (you need an administrator session to enable this setting)

 

2 - Head back to Saved Games\DCS\Config\ and copy the options.lua 2 times.

One copy should be named "options.2d.lua", and the other one "options.3d.lua" (obviously without quote marks).

 

3 - Create a new batch file in Saved Games\DCS\Config\ (right-click on the background > new > text file). Make sure the extension is .bat (and not .txt) !!!

 

4 - Open this batch with notepad/notepad++ and paste the following :

@echo off
choice /c 23 /m "Press 2 for pancake (2D) and 3 for VR (3D)"
if "%ERRORLEVEL%" == "1" goto OPT1
if "%ERRORLEVEL%" == "2" goto OPT2

:OPT1
del options.lua
mklink "options.lua" "options.2D.lua"
exit

:OPT2
del options.lua
mklink "options.lua" "options.3D.lua"
exit

 

5 - Save, select the batch, send shortcut to desktop and profit.

 

If you prefer to use other keys to select your options, simply change this line, exemple with V for VR and F for flat :

choice /c fv /m "Press F for flat (2D) and V for VR (3D)"

Edited by Clorydric

Intel 9900KF @ 5.1GHz / RTX 2080S OC @ 1.93GHz / ASUS Prime Z390-A / 2x16Gb DDR4 @ 3333 CL16 / Corsair TX850M / Samsung NVME 970 EVO+ / TM warthog Thr. / VKB Gunfighter mkIII + MCG / MFG Crosswind mk3 / Valve Index

Posted
If you only need to change monitor setup/res, you can make "presets" by making copies of options.lua and write a batch to switch between configs. (this is what I do to quickly switch pancake<>VR)

 

Assuming the batch is directly placed in Saved Games\DCS\Config, and your alternative option files are "MyOptions_1.lua" and "MyOptions_2.lua :

@echo off
choice /c 12 /m "Press 1 for MyOptions_1 and 2 for MyOptions_2"
if "%ERRORLEVEL%" == "1" goto OPT1
if "%ERRORLEVEL%" == "2" goto OPT2

:OPT1
xcopy /y /f "MyOptions_1.lua" "options.lua"
exit

:OPT2
xcopy /y /f "MyOptions_2.lua" "options.lua"
exit

Then send a shortcut to desktop.

 

Otherwise, you can use any notepad app (windows notepad or notepad++) to edit the settings by hand.

 

Thanks i used your approach, now all's good finally

[sIGPIC][/sIGPIC]

Pilot from Croatia

Posted
If you only need to change monitor setup/res, you can make "presets" by making copies of options.lua and write a batch to switch between configs. (this is what I do to quickly switch pancake<>VR)

 

Assuming the batch is directly placed in Saved Games\DCS\Config, and your alternative option files are "MyOptions_1.lua" and "MyOptions_2.lua :

@echo off
choice /c 12 /m "Press 1 for MyOptions_1 and 2 for MyOptions_2"
if "%ERRORLEVEL%" == "1" goto OPT1
if "%ERRORLEVEL%" == "2" goto OPT2

:OPT1
xcopy /y /f "MyOptions_1.lua" "options.lua"
exit

:OPT2
xcopy /y /f "MyOptions_2.lua" "options.lua"
exit

Then send a shortcut to desktop.

 

Otherwise, you can use any notepad app (windows notepad or notepad++) to edit the settings by hand.

 

:thumbup: :thumbup: :thumbup: :thumbup:

Easy and effective too!

Thanks a lot for sharing your experience.

 

With best regards.

Posted

You can use SkateZilla's utility : https://forums.eagle.ru/showthread.php?t=160053

Zip - VEAF :pilotfly:

 

If you want to learn, talk and fly with french-speaking friends, the Virtual European Air Force is here for you ! Meet us on our Discord and our forum

If you're a mission creator, you may want to check the VEAF Mission Creation Tools (and its GitHub repository) a set of open-source scripts and tools that make creating a dynamic mission a breeze !

  • Recently Browsing   0 members

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