Jump to content

Multi-monitor set-up guide & help (unofficial)


MadTommy

Recommended Posts

Thanks for the tutorial...worked the first time I fired it up!!! Cougar MFD's are on the way from Amazon.com WOOT!!!

5152084875_4469307afb_b.jpg

 

is there a way to turn off in cockpit MFCDs on the top screen (main cockpit screnn) and keep only the MFCDs on the second screen to stay turn on?

Using A-10c

Link to comment
Share on other sites

  • 2 weeks later...

Simple Center Viewport, Left and Right MFD Config still not working

 

I would love if someone could help me figure out why this lua is not working.

 

Based on many posts above, here is what I have loaded in my MonitorSetup folder:

 

 

_ = function(p) return p; end;

name = _('LRMFCDCamera');

Description = 'Left MFCD on the left monitor, Right MFCD on the right and camera on the center'

Viewports =

{

Center =

{

x = 0;

y = 0;

width = 2560;

height = 1080;

viewDx = 0;

viewDy = 0;

aspect = 2560/1080;

},

}

 

LEFT_MFCD =

{

x = 480;

y = 1080;

width = 600;

height = 600;

aspect = 1024/600;

}

 

RIGHT_MFCD =

{

x = 1536;

y = 1080;

width = 600;

height = 600;

aspect = 1024/600;

}

 

UIMainView = Viewports.Center

GU_MAIN_VIEWPORT = Viewports.Center

 

 

Here is how I have my displays configured in Windows 10:

 

IMG_2623.jpg.29a24c83b3c3ce5d7981633d0aa60db0.jpg

 

I've also selected my lua config file in the display setup with DCS and set the dimensions to 2560 x 1680. The Main Screen is 2560 x 1080 and the two MFDs are android tablets at 1024 x 600 each.

 

Here is how the Main Menus Appears:

 

IMG_2619.jpg.ad928180c8f04f9c79d62d4fb0e7c6c9.jpg

 

Here is what the main screen looks like in sim:

 

IMG_2621.jpg.01826d1fd3d4ab86360e78b4e3e01cf4.jpg

 

Here is my overall setup:

 

IMG_2622.jpg.55f8d3495e4fb8cfa784e0b12a9618b0.jpg

 

Any assistance would be much appreciated.

Thanks

Link to comment
Share on other sites

Well, I figured it out. Apparently I didn't understand my own equipment. All I had to do was touch the MFD displays and then DCS recognized them. They were already showing the desktop and my mouse could move into them, but I never did that while DCS was running.

 

I actually accidentally touch one while I was in the simulation and the two MFDs that were at the bottom of my Center Viewer jumped onto the tablets!

 

Of course I had to tweak the alignment once I finally got them on the MFDs, but that was easy. I had no idea that I had to touch the screens to get DCS to recognize them.

 

By the way I was using Deskspace on Kindle Fires if anyone runs into this again.

Link to comment
Share on other sites

OK I'm new to LUA scripting but I've read up on this thread and I'm still struggling. What I'm trying to achieve is to create a viewport for my knee board on my second monitor (atm the f14 but preferably most aircraft).

 

My 1st monitor is a UWS 3440 x 1440 monitor and my second is a dell 2048 x 1152 resolution monitor Total combined resolution is 5488 x 2592 and if im not mistaken the aspect should be 2.1172839506172

 

I'm realy struggling to get my monitor config file setup up correctly if any of you bright sparks can help it would be much appreciated included the lua code i have tried so far.

 

thanks in advance.

 

_ = function(p) return p; end;

name = _('KNEEBOARDTEST1');

Description = 'One main monitor + Kneeboard on second'

Viewports =

{

Center =

{

x = 0;

y = 0;

width = 3440;

height = 1440;

viewDx = 0;

viewDy = 0;

aspect = 3440/1440;

}

 

 

KNEEBOARD =

{

x = 300;

y = 300;

width = 300;

height = 300;

}

 

UIMainView = Viewports.Center

 

GUI =

{

x = 3440;

y = 0;

width = 3440;

height = 1440;

}

 

 

GU_MAIN_VIEWPORT = Viewports.Center

Link to comment
Share on other sites

_ = function(p) return p; end;

name = _('Ikarus');

Description = 'Ikarus' ;

Viewports =

{

Center =

{

x = 0;

y = 0;

width = screen.width; --1920

height = 1080;

viewDx = 0;

viewDy = 0;

aspect = screen.aspect;

}

}

 

LEFT_MFCD =

{

x = 65;

y = 1205;

width = 450;

height = 450;

}

 

RIGHT_MFCD =

{

x = 1405;

y = 1205;

width = 450;

height = 450;

}

 

RWR_SCREEN =

{

x = 509;

y = 1171;

width = 300;

height = 300;

}

 

CDU_SCREEN =

{

x = 1170;

y = 1700;

width = 425;

height = 425;

}

 

 

UIMainView = Viewports.Center

Link to comment
Share on other sites

Yep tried that also, I don't believe this allows you to move the KneeBoard to a second monitor, just to move it around the single display. I will include some screenshots of what my displays are doing right now, I'm pretty sure I have the viewports messed up somewhere....

IMG_20190416_110418.thumb.jpg.121795256b459f1d0b91070313448c53.jpg

IMG_20190416_105455.thumb.jpg.8e3f00095086f1e431bd8936a8540815.jpg


Edited by Badass1982
Link to comment
Share on other sites

Yep tried that also, I don't believe this allows you to move the KneeBoard to a second monitor, just to move it around the single display. I will include some screenshots of what my displays are doing right now, I'm pretty sure I have the viewports messed up somewhere....

 

it does

option

profile

modify

choose your planes

save

Link to comment
Share on other sites

Using the kneeboard builder or using your monitor LUA?

hsb

HW Spec in Spoiler

---

 

i7-10700K Direct-To-Die/OC'ed to 5.1GHz, MSI Z490 MB, 32GB DDR4 3200MHz, EVGA 2080 Ti FTW3, NVMe+SSD, Win 10 x64 Pro, MFG, Warthog, TM MFDs, Komodo Huey set, Rverbe G1

 

Link to comment
Share on other sites

Edit

MODS\new_Kneeboard\Scripts\Aircrafts\_Common\Cockpit\ViewportHandling.lua

 

 

Look around about line 32 and edit this:-

dedicated_viewport = {default_x,default_y,default_width,default_height}

to read this:-

dedicated_viewport = {0,0,550,800}

This will make the Kneeboard appear on the top left corner of whatever viewport or multi monitor setup you have.

Alter your X,Y position accordingly if you want it elsewhere. Increase the second number to be greater than the width of your main monitor.

Try to keep the Aspect ratio of the size similar to this, or use the default_width & default_height variables.

 

Obviously, the actual position depends on how your monitors are setup in Windows & your monitor.lua settings. I use up to 4 monitors arranged horizontally, with either 1,2,3 as 3d screens, with 2 as GUI, and 4 as an MFD export, or 1 as space for kneepad & Control Indicator, 2 as 3D screen/GUI, 4 as blank (possibly a web page or PDF guide here), and 4 as before - with MFDs and instrument exports.


Edited by mkiii
correction
Link to comment
Share on other sites

Edit

MODS\new_Kneeboard\Scripts\Aircrafts\_Common\Cockpit\ViewportHandling.lua

 

 

Look around about line 32 and edit this:-

dedicated_viewport = {default_x,default_y,default_width,default_height}

to read this:-

dedicated_viewport = {0,0,550,800}

This will make the Kneeboard appear on the top left corner of whatever viewport or multi monitor setup you have.

Alter your X,Y position accordingly if you want it elsewhere. Increase the second number to be greater than the width of your main monitor.

Try to keep the Aspect ratio of the size similar to this, or use the default_width & default_height variables.

 

 

Obviously, the actual position depends on how your monitors are setup in Windows & your monitor.lua settings. I use up to 4 monitors arranged horizontally, with either 1,2,3 as 3d screens, with 2 as GUI, and 4 as an MFD export, or 1 as space for kneepad & Control Indicator, 2 as 3D screen/GUI, 4 as blank (possibly a web page or PDF guide here), and 4 as before - with MFDs and instrument exports.

 

Great

thanks !!

Link to comment
Share on other sites

  • 4 weeks later...

Is it still not possible to export mfds to monitors to the left of my primary screen (i.e. negative coordinates)? I really don't want Windows to treat my left monitor as the primary


Edited by 98abaile
Link to comment
Share on other sites

It's just X and Y coordinate. So if you should be able to specify the UIMainView to the center view. Or

 

 

 

Also, you can just tell Windows that the middle (or the right) monitor is your Primary. It's a logical designation.

 

 

 

See https://forums.eagle.ru/showpost.php?p=2616874&postcount=799 for more info.

 

 

PS: But I do recall a thread where someone said that the MFD's can't be on the left. But I'm not sure.

hsb

HW Spec in Spoiler

---

 

i7-10700K Direct-To-Die/OC'ed to 5.1GHz, MSI Z490 MB, 32GB DDR4 3200MHz, EVGA 2080 Ti FTW3, NVMe+SSD, Win 10 x64 Pro, MFG, Warthog, TM MFDs, Komodo Huey set, Rverbe G1

 

Link to comment
Share on other sites

  • 2 months later...

Guys, can you please help me?

 

I've got two 8" screens (resolution of 1024x768 ) and my main screen (1920x1080).

Screens are set up next to each other.

 

lua.script is as follows:

 

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

 

_ = function(p) return p; end;

name = _('HSBMFD1');

Description = '1 Screen and L-R MultiMFD'

Viewports =

{

Center =

{

x = 0;

y = 0;

width = 3968;

height = 1080;

viewDx = 0;

viewDy = 0;

aspect = 3.7;

},

 

LEFT_MFCD =

{

x = 1920;

y = 0;

width = 525;

height = 525;

},

 

RIGHT_MFCD =

{

x = 3443;

y = 0;

width = 525;

height = 525;

},

}

 

UIMainView = Viewports.Center

LEFT_MFCD = Viewports.LEFT_MFCD

RIGHT_MFCD = Viewports.RIGHT_MFCD

 

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

 

My DCS settings are:

Resolution 3968x1080

Aspect ratio (automatically changed)

 

When I've "full screen" ON I can't see the right part of the screen with mission editor, campaign etc...

 

When I've "full screen" OFF the screen is all stretched out and hard to read.

 

What am I doing wrong?


Edited by ehlw1993
Link to comment
Share on other sites

Here is how it works on my PC. I have 1920*1200 + 1024*768 + 1024*768. Two small monitors in Windows setup are located right in bottom in one line from main monitor

 

 

_  = function(p) return p; end;
name = _('MY_MFCD');
Description = 'Left MFCD on the left monitor,Right MFCD on the right and camera on the center'
Viewports =
{
    Center =
    {
         x = 0;
         y = 0;
         width = 1920;
         height = 1200;
         viewDx = 0;
         viewDy = 0;
         aspect = 1920 / 1200;
    }
}

LEFT_MFCD =
{
    x = 2086;
    y = 470;
    width = 700;
    height = 700;
}

RIGHT_MFCD =
{
    x = 3110;
    y = 470;
    width = 700;
    height = 700;
}

F14_HSD =
{
    x = 2086;
    y = 470;
    width = 700;
    height = 700;
}

F14_VDI=
{
    x = 3110;
    y = 470;
    width = 700;
    height = 700;
}

UIMainView = Viewports.Center
GU_MAIN_VIEWPORT = Viewports.Center
--LEFT_MFCD = Viewports.LEFT_MFCD
--RIGHT_MFCD = Viewports.RIGHT_MFCD

 

 

In options menu in DCS choose resolution 3968*1200. It should be last in list. Also choose aspect ratio about 3.3333

 

 

In your case, you should only change vertical resolution 1200 to 1080.

 

When my DCS loads, image is squeezed on center screen, so I press Alt+Enter or just click with mouse on my mfcd and image goes normal

Link to comment
Share on other sites

Also man, your settings are totally incorrect

 

_ = function(p) return p; end;
name = _('HSBMFD1');
Description = '1 Screen and L-R MultiMFD'
Viewports =
{
Center =
{
x = 0;
y = 0;
width = 3968;
height = 1080;
viewDx = 0;
viewDy = 0;
aspect = 3.7;
},

LEFT_MFCD =
{
x = 1920;
y = 0;
width = 525;
height = 525;
},

RIGHT_MFCD =
{
x = 3443;
y = 0;
width = 525;
height = 525;
},
}

UIMainView = Viewports.Center
LEFT_MFCD = Viewports.LEFT_MFCD
RIGHT_MFCD = Viewports.RIGHT_MFCD

 

Here you say DCS that your mains screen has resolution 3968*1080. But yours must be 1920*1080

Link to comment
Share on other sites

For you it should be this

_  = function(p) return p; end;
name = _('MY_MFCD');
Description = 'Left MFCD on the left monitor,Right MFCD on the right and camera on the center'
Viewports =
{
    Center =
    {
         x = 0;
         y = 0;
         width = 1920;
         height = 1080;
         viewDx = 0;
         viewDy = 0;
         aspect = 1920 / 1080;
    }
}

LEFT_MFCD =
{
    x = 2086;
    y = 470;
    width = 700;
    height = 700;
}

RIGHT_MFCD =
{
    x = 3110;
    y = 470;
    width = 700;
    height = 700;
}

F14_HSD =
{
    x = 2086;
    y = 470;
    width = 700;
    height = 700;
}

F14_VDI=
{
    x = 3110;
    y = 470;
    width = 700;
    height = 700;
}

UIMainView = Viewports.Center
GU_MAIN_VIEWPORT = Viewports.Center
--LEFT_MFCD = Viewports.LEFT_MFCD
--RIGHT_MFCD = Viewports.RIGHT_MFCD

Link to comment
Share on other sites

  • 2 weeks later...

zippoa can you help me, pls?

 

I have 3 monitors, at the left and right side a 1024*768 resolution monitors, and at center a 2560*1080 ultrawide monitor. If choose inside DCS a LMPCD automatic placement it works correct. But if a choose LMPCD + Camera + RMPCD the lmpcd and RMPCD bleeds to the center monitor. The resolution I choose was 4608*1080 and aspect ratio 4,266666.

 

Here is my display settings:

 

 

 

thanks


Edited by Biga42
Link to comment
Share on other sites

zippoa can you help me, pls?

 

I have 3 monitors, at the left and right side a 1024*768 resolution monitors, and at center a 2560*1080 ultrawide monitor. If choose inside DCS a LMPCD automatic placement it works correct. But if a choose LMPCD + Camera + RMPCD the lmpcd and RMPCD bleeds to the center monitor. The resolution I choose was 4608*1080 and aspect ratio 4,266666.

 

Here is my display settings:

 

 

 

thanks

 

 

It's easier if you line up the displays in Windows because DCS uses X and Y coordinates that start from the top left corner. You can keep your setting as is, so long as you specify the correct Y axis for your middle monitor.

 

This has the step by step instructions I wrote a while ago. If you still need help, just post the LUA file that you are using.

 

https://forums.eagle.ru/showpost.php?p=2616874&postcount=799

hsb

HW Spec in Spoiler

---

 

i7-10700K Direct-To-Die/OC'ed to 5.1GHz, MSI Z490 MB, 32GB DDR4 3200MHz, EVGA 2080 Ti FTW3, NVMe+SSD, Win 10 x64 Pro, MFG, Warthog, TM MFDs, Komodo Huey set, Rverbe G1

 

Link to comment
Share on other sites

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
  • Recently Browsing   0 members

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