Jump to content

2.9.7.59263 causing MonitorSetup lua file to not work properly anymore in ST Single Thread


Recommended Posts

Posted (edited)

Edit: I discovered that I was running ST instead of MT.
I fixed my desktop shortcut to use MT and the problem is now fixed.


Original issue:
I have a single ultrawide monitor with a resolution of 5120 x 1440 pixels and an aspect ratio of 32:9.

Prior to updating to 2.9.7.59263 I was using the following LUA file to center and limit the dimensions of GUI to only 3/5 (3072 pixels) of the 5120 pixel screen which worked fine.

_  = function(p) return p; end;
name = _('1 Screen - del13r');
Description = 'One monitor configuration'
Viewports =
{
     Center =
     {
          x = 0;
          y = 0;
          width = screen.width;
          height = screen.height;
          viewDx = 0;
          viewDy = 0;
          aspect = screen.aspect;
     }
}
GUI =
{
 x = (screen.width / 5);
 y = 0;
 width = ((screen.width / 5) * 3);
 height = screen.height;
}
UIMainView = GUI
GU_MAIN_VIEWPORT = Viewports.Center

Here is what it used to look like before 2.9.7.59263

desired effect.png

Here is currently what that configuration erroneously displays just the background of the gui with no icons and only spanning across 2/5 instead of the intended 3/5.
Again, this was not an issue before 2.9.7.59263

DCS GUI X offset issue 1 fifth offset.png

When I change just 1 value of the GUI section offset to x = 0; the problem goes away, i get the correct 3/5 width, but i lose my centering which is regrettable.

DCS GUI X offset issue no offset.png

So then I thought I would try a smaller GUI secion offset of x = 50; and we can see the GUI and icons start to glitch.

DCS GUI X offset issue 50 pixels.png

I am providing this information in a hope that someone can fix this in the next patch by restoring the functionality.

 

Edited by del13r
added the fix to the top
Posted

Solved my own issue.
It was steam launching DCS in ST even though I set steam to use MT.
Where I went wrong was that I created a desktop shortcut that ignores the MT preference I set.
I followed this guide and that fixed my issue.

 

  • Like 2
Posted (edited)

Writing this comment for the next time I have an issue. Hopefully it helps someone else too.

 

How to check whether you are running ST or MT:

 

Once running the ST icon looks like this.

image.png

and the bottom right of the home screen says Version: 2.9.X.XXXXX

ST example.png

 

Compared to

Once running the MT icon looks like this.

Screenshot 2024-08-24 081745.png

and the bottom right of the home screen will actually say MULTI THREAD PREVIEW 2.9.X.XXXXX

MT example.png

 

Another method is that you can view the log at
%userprofile%\Saved Games\DCS\Logs\dcs.log

This is what confirms it.

ST
INFO    APP (Main): Command line: C:\Steam\steamapps\common\DCSWorld\bin\DCS.exe
INFO    APP (Main): DCS/2.9.7.59263 (x86_64; Windows NT 10.0.22631)

MT
INFO    APP (Main): Command line: C:\Steam\steamapps\common\DCSWorld\bin-mt\DCS.exe
INFO    APP (Main): DCS/2.9.7.59263 (x86_64; MT; Windows NT 10.0.22631)

Edited by del13r
Spelling and Grammar
  • del13r changed the title to 2.9.7.59263 causing MonitorSetup lua file to not work properly anymore in ST Single Thread
  • Recently Browsing   0 members

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