Elf1606688794 Posted February 27 Posted February 27 (edited) I have 2 monitors and when in full screen DCS is on monitor 1 but when I put it in Winblows mode its on monitor 2. I can't seem to click/drag it over to monitor 1 and I tried holding the Winblows key then pressing and holding the shift key and then using the arrow keys to no avail. Any ideas on how to fix this? *Edit* I attached the imgui.ini file in case that helps. I also tried renaming it and letting the game generate the file again but it generated the exact same thing. imgui.ini Edited February 27 by Elf1606688794
Elf1606688794 Posted February 28 Author Posted February 28 Does anyone know which file to delete so that default settings are auto-generated on start up again?
Leg2ion Posted February 28 Posted February 28 Not sure what imgui.ini is (or does) but I set my monitor/display positions by editing the monitor lua in saved games/dcs/config/monitor setup - then point DCS at it in the in game settings. If you always want it on monitor 1 you could try setting it to start on that screen? Assume you always want it on monitor 1 - does it matter if full screen or windowed? AMD Ryzen 5 5600X; ASUS ROG Strix X570-F, Corsair Vengeance 64 GB (2x 32GB) 3600MHz; Seagate FireCuda 510 500GB M.2-2280 (OS); Samsung 860 EVO 2TB M.2-2280 (DCS); MSI GeForce RTX 3090 SUPRIM X 24GB OC GPU. TM Warthog Hotas; T.Flight Pedals; DelanClip/Trackhat.
Elf1606688794 Posted February 28 Author Posted February 28 (edited) 2 hours ago, Leg2ion said: Not sure what imgui.ini is (or does) but I set my monitor/display positions by editing the monitor lua in saved games/dcs/config/monitor setup - then point DCS at it in the in game settings. If you always want it on monitor 1 you could try setting it to start on that screen? Assume you always want it on monitor 1 - does it matter if full screen or windowed? Correct, and yes. I keep a template (made on a spread sheet) open for the stick/throttle mapping for the aircraft I am flying and it has 3 tabs. In full screen mode, alt/tab to the other monitor results in a black screen for DCS that lasts several seconds that can result in castastrophe by the time I can alt/tab again to get back to DCS. With windowed mode I can simply move the mouse between monitors and switch tabs on the template. I'm not really familiar with editing lua files and one might say it's above my paygrade. Edit- I don't have a "monitor lua" in that directory, does it have a different name? Edited February 28 by Elf1606688794
Elf1606688794 Posted March 1 Author Posted March 1 I found which lua file has my monitor settings by opening every lua file until I found it. It's attached, can you tell me what I need to change? appSettings.lua
Solution Elf1606688794 Posted March 1 Author Solution Posted March 1 (edited) Solution: Since I am totally inept when it comes to editing lua files (or any coding for that matter) on a hunch I renamed the appsettings.lua to appsettings_copy.lua and started the game. DCS recreated the file and the only difference between the two files are the first two lines. ["y"] = 64, ["x"] = -1920, It's working as advertised now and your comments got me looking in the right direction. A big thanks to you for that. Edited March 1 by Elf1606688794
Leg2ion Posted March 1 Posted March 1 Apologies @Elf1606688794 - should have given some more info last night. I cannot find the lua you are referring to - do you have a location path. Just concerned if it is a core file and there is an update it may get overwritten. there is an easier way to do this. Create a 'MonitorSetup' folder in Saved Games/DCS/Config: I have attached a very basic 'Custom' lua based on a single 1920 x 1080 monitor. Drop that file in the monitor setup folder. When you then open DCS, go to Options, and Monitors, and you will see Custom in the drop down (it picks up the name contained in the file and not he name of the file). Select that custom file, and DCS will use the settings in that, with no fear of overwrite if there is an update. If you decide to start using multiple monitors/touchscreen/helios etc - this is the lua you look to modify for your own custom setup. Hope that explains things a bit better and helps - if you need any more assistance shout! Custom.lua 1 AMD Ryzen 5 5600X; ASUS ROG Strix X570-F, Corsair Vengeance 64 GB (2x 32GB) 3600MHz; Seagate FireCuda 510 500GB M.2-2280 (OS); Samsung 860 EVO 2TB M.2-2280 (DCS); MSI GeForce RTX 3090 SUPRIM X 24GB OC GPU. TM Warthog Hotas; T.Flight Pedals; DelanClip/Trackhat.
Recommended Posts