Jump to content

Recommended Posts

Posted

I have 3 monitors dedicated to DCS.

3840 x 1600 and below that two 1920x1080.

The display settings looks like this:

v38QI7K.png

I followed this guide

 

I also did this:

 

https://forums.eagle.ru/topic/196207-kneeboard-only-half-on-screen-multimonitor/?tab=comments#comment-377705

 

https://forums.eagle.ru/topic/196207-kneeboard-only-half-on-screen-multimonitor/?tab=comments#comment-3777055

In my C:\Users\Stefan\Saved Games\DCS.openbeta\Config\MonitorSetup

folder I have

Camera+2MFCDs+knee.lua

which reads

 

--3840 x 2680       3840 screen with 1920 screen below it
_  = function(p) return p; end;
name = _('Camera + 2 MFCDs+knee');
Description = '2 MFCDs on the right and camera on the left'
Viewports =
{
     Center =
     {
          x = 0;
          y = 0;
          width  = 3840;
          height = 1600;
          viewDx = 0;
          viewDy = 0;
          aspect = 3840 / 1600;
     }
}

LEFT_MFCD =
{
     x = 20;
     y = 1600 + 200;
     width = 830;
     height = 830;
}
RIGHT_MFCD =
{
     x = 1080;
     y = 1600 + 200;
     width = 830;
     height = 830;
}

JF17_LEFT_MFCD =
{
x = 20;
y = 1600 + 200;
width = 830;
height = 1106;
}

JF17_RIGHT_MFCD =
{
x = 1080;
y = 1600 + 200;
width = 830;
height = 1106;

KNEEBOARD =
{
x = 2700;
y = 1601;
width = 707;
height = 1060;
}

GUI = 
{
      x = 0;
      y = 0;
      width = 3840;
      height = 1600;
}

UIMainView = GUI
GU_MAIN_VIEWPORT = Viewports.Center

 

The MFCDs show up fine but the kneeboard is showing up on the main monitor.

 

I also tried these settings:

KNEEBOARD =
{
x = 1920;
y = 1700;
width = 526;
height = 789;
}
 

 

Same thing.

 

How do I get my kneeboard onto the other monitor, not the main one.?

4930K @ 4.5, 32g ram, TitanPascal

Posted

Interestingly, when I use a plane without MFCDs, (like the A4E) the kneeboard appears but occupies a huge portion of the main screen and the bottom right screen as well.

4930K @ 4.5, 32g ram, TitanPascal

Posted

otoh, the mig29s(part of the flaming cliffs pack) shows the kneeboard on the left side of the main monitor and the bottom right monitor.

4930K @ 4.5, 32g ram, TitanPascal

Posted (edited)
On 11/15/2021 at 6:26 PM, skypickle said:

I have 3 monitors dedicated to DCS.

3840 x 1600 and below that two 1920x1080.

The display settings looks like this:

v38QI7K.png

I followed this guide

 

I also did this:

 

https://forums.eagle.ru/topic/196207-kneeboard-only-half-on-screen-multimonitor/?tab=comments#comment-377705

 

https://forums.eagle.ru/topic/196207-kneeboard-only-half-on-screen-multimonitor/?tab=comments#comment-3777055

In my C:\Users\Stefan\Saved Games\DCS.openbeta\Config\MonitorSetup

folder I have

Camera+2MFCDs+knee.lua

which reads

 

--3840 x 2680       3840 screen with 1920 screen below it
_  = function(p) return p; end;
name = _('Camera + 2 MFCDs+knee');
Description = '2 MFCDs on the right and camera on the left'
Viewports =
{
     Center =
     {
          x = 0;
          y = 0;
          width  = 3840;
          height = 1600;
          viewDx = 0;
          viewDy = 0;
          aspect = 3840 / 1600;
     }
}

LEFT_MFCD =
{
     x = 20;
     y = 1600 + 200;
     width = 830;
     height = 830;
}
RIGHT_MFCD =
{
     x = 1080;
     y = 1600 + 200;
     width = 830;
     height = 830;
}

JF17_LEFT_MFCD =
{
x = 20;
y = 1600 + 200;
width = 830;
height = 1106;
}

JF17_RIGHT_MFCD =
{
x = 1080;
y = 1600 + 200;
width = 830;
height = 1106;

KNEEBOARD =
{
x = 2700;
y = 1601;
width = 707;
height = 1060;
}

GUI = 
{
      x = 0;
      y = 0;
      width = 3840;
      height = 1600;
}

UIMainView = GUI
GU_MAIN_VIEWPORT = Viewports.Center

 

The MFCDs show up fine but the kneeboard is showing up on the main monitor.

 

I also tried these settings:

KNEEBOARD =
{
x = 1920;
y = 1700;
width = 526;
height = 789;
}
 

 

Same thing.

 

How do I get my kneeboard onto the other monitor, not the main one.?

This works, seems long winded but not too bad to do.

If you want the kneeboard to open on your monitor labelled 1 above.

Try these values for line 33 as a start.

{3840,640,600,800}

 

Quote


**The Process:**  
copy C:\\Program Files\\Eagle Dynamics\\DCS World OpenBeta\\Scripts\\Aircrafts\_Common\\Cockpit\\ViewportHandling to ViewportHandling-resize.lua

‐‐---------------------------------

edit that file and make change line 33 from 

dedicated\_viewport           = {default\_x,default\_y,default\_width,default\_height}  
to  
dedicated\_viewport           = {0,640,600,800}     
or whatever values you want.  This gives a bottom left oriented kneeboard with size 600x800

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

copy C:\\Program Files\\Eagle Dynamics\\DCS World OpenBeta\\Scripts\\Aircrafts\_Common\\Cockpit\\KNEEBOARD\\indicator\\init.lua to init2.lua

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

change 2nd line:

dofile(LockOn\_Options.common\_script\_path.."ViewportHandling.lua")

to:

dofile(LockOn\_Options.common\_script\_path.."ViewportHandling-resize.lua")

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

copy C:\\Program Files\\Eagle Dynamics\\DCS World OpenBeta\\Scripts\\Aircrafts\_Common\\Cockpit\\KNEEBOARD\\declare\_kneeboard\_device.lua to declare\_kneeboard\_device2.lua

change:

local             init\_script = LockOn\_Options.common\_script\_path.."KNEEBOARD/indicator/init.lua"

to:

local             init\_script = LockOn\_Options.common\_script\_path.."KNEEBOARD/indicator/init2.lua"

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

once you've done all that, they shouldnt get changed on updates and you only need to edit the AC calls (typing below)

for a10 (example):

 

edit C:\\Program Files\\Eagle Dynamics\\DCS World OpenBeta\\Mods\\aircraft\\A-10C\\Cockpit\\Scripts\\device\_init.lua

 

change:

dofile(LockOn\_Options.common\_script\_path.."KNEEBOARD/declare\_kneeboard\_device.lua")

to:

dofile(LockOn\_Options.common\_script\_path.."KNEEBOARD/declare\_kneeboard\_device2.lua")

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

SO.. how do to a relatively painless DCS update?  We've found that just using a program like Notepad++ and doing a find/replace all within files, with those last 2 lines of code, works and saves you from manually having to change every one of your aircraft in their respective subfolders.  So, it would be:  


Find what:  
dofile(LockOn\_Options.common\_script\_path.."KNEEBOARD/declare\_kneeboard\_device.lua")  


Replace with:  
dofile(LockOn\_Options.common\_script\_path.."KNEEBOARD/declare\_kneeboard\_device2.lua")

 

Filters:  \*.lua  


Directory: D:\\DCS\\Mods\\aircraft

 

Doing this will take a few seconds and voila, updates 17 modules in my case.  Let me know if you have any questions.

 

Edited by jonsky7
  • Recently Browsing   0 members

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