Jump to content

Recommended Posts

Posted (edited)

Hello!

 

I have 2 screen set up for windows, where I have an old monitor 1280x1024 on the left, and my laptop display on the right 1366x768.

 

I recently looked up to make a .Lua file in order to use my dual screen setup for DCS, but all I end up with is 2 black screens, and DCS has stopped working.

 

I do have access to the option menu btw ( because it's still in single screen at that point )

 

Hoping you guys could take a look and help me out why it keeps crashing? :)

 

_ = function(p) return p; end;
name = _('My_example');
Description = 'Two monitor configuration';
Viewports =
{
Center =
{
x = 1280;
y = 768;
width = 1366;
height = 768;
viewDx = 0;
viewDy = 0;
aspect = 1.6;
}
}

LEFT_MFCD =
{
x = 0;
y = 0;
width = 640;
height = 640;
}

RIGHT_MFCD =
{
x = 640;
y = 0;
width = 640;
height = 640;
}

CDU_SCREEN =
{
x = 256;
y = 640;
width = 384;
height = 384;
}

RWR_SCREEN =
{
x = 640;
y = 640;
width = 384;
height = 384;
}

UIMainView = Viewports.Center

 

I have then set the total resolution to 2646x1024.

 

Thanks guys!

 

--------------------------------------

edit:

 

My specs:

Windows 7 64-bit

Intel i7-3610QM CPU @ 2.30GHz ( 8 CPUs ), ~2.3Ghz

8192MB Ram

 

Graphics: 2 cards ( battery saving & Optimal )

 

Intel HD Graphics 4000

Approx Total memory 4046MB

 

NVIDIA GEFORCE GT 630M

2GB

Edited by JulienBlanc

[sIGPIC][/sIGPIC]

Gigabyte GTX 970 G1

Intel i7-4790K 4GHz

H100i

256 GB SSD + 1TB HDD Crucial+ WD Blue

16 Gb Ram DDR3-1866-C9R Mhz Veng. Pro.

GA-Z97X-G5

SuperNova 750 G2

Posted

It is disabled, I've switched the sides of the monitors, making the "main laptop screen" appear top left in windows, changing the Lua accordingly, which seemed to have solved the crashing.

 

I however can't get the RWR to appear or the CDU...

 

F-15C I can only see Left MFCD ( radar ) but no RWR

 

Su-27 I can only see Right MFCD ( radar ) but no RWR

 

Would anyone know the lines to adding the RWR, Engine, and fuel management? Or where I can find them? I.E. in the F-15C I'd like the weapon screen aswell

[sIGPIC][/sIGPIC]

Gigabyte GTX 970 G1

Intel i7-4790K 4GHz

H100i

256 GB SSD + 1TB HDD Crucial+ WD Blue

16 Gb Ram DDR3-1866-C9R Mhz Veng. Pro.

GA-Z97X-G5

SuperNova 750 G2

Posted (edited)
Hello!

 

I have 2 screen set up for windows, where I have an old monitor 1280x1024 on the left, and my laptop display on the right 1366x768.

 

I recently looked up to make a .Lua file in order to use my dual screen setup for DCS, but all I end up with is 2 black screens, and DCS has stopped working.

 

I do have access to the option menu btw ( because it's still in single screen at that point )

 

Hoping you guys could take a look and help me out why it keeps crashing? :)

 

I have then set the total resolution to 2646x1024.

 

Thanks guys!

 

--------------------------------------

edit:

 

My specs:

Windows 7 64-bit

Intel i7-3610QM CPU @ 2.30GHz ( 8 CPUs ), ~2.3Ghz

8192MB Ram

 

Graphics: 2 cards ( battery saving & Optimal )

 

Intel HD Graphics 4000

Approx Total memory 4046MB

 

NVIDIA GEFORCE GT 630M

2GB

 

Using that code, your positions are wrong, you setting the Center Viewport to start at the Bottom Right Corner of Primary Screen, meaning you'd be Running a Resolution of 2646x1536 as the Center Viewport Horizontal starts at 1280 and goes 1366 px wide, and the Vertical Px Starts at 768 and goes down 768px

 

You're screens arent arranged that way in Windows Display Management or in in real life

(Stair Stepped, Bottom Right Corner touches the Top left corner of the secondary screen)

 

Arranging the Screens in Windows so that the 1280x1024 is your primary and your 1366x768 is your extended

You'd end up with a Resolution of 2646x1024 So this would put the Center Viewport on the Laptop display and the Gauges on the extended screen:

 

_ = function(p) return p; end;
name = _('My_example');
Description = 'Two monitor configuration';
Viewports = {
Center = {
x = 1281;
y = 0;
width = 1366;
height = 768;
viewDx = 0;
viewDy = 0;
aspect = 1.7786;}
}

LEFT_MFCD =
{
x = 0;
y = 0;
width = 640;
height = 640;
}

RIGHT_MFCD =
{
x = 640;
y = 0;
width = 640;
height = 640;
}

CDU_SCREEN =
{
x = 256;
y = 640;
width = 384;
height = 384;
}

RWR_SCREEN =
{
x = 640;
y = 640;
width = 384;
height = 384;
}

UIMainView = Viewports.Center

 

Also, only F-15C Display that's exportable is the Radar/LEFT MFCD, i think it's the same for the Flankers, RWR Indicators are exportable afaik, but I never tried.

Edited by SkateZilla

Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2),

ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9)

3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs

  • Recently Browsing   0 members

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