Jump to content

Recommended Posts

Posted

I have 3 monitors and would like to have DCS open on another monitor other than the main. I do not want to change this monitor to my main in win10.

Is there a way to do this?

 

Thank you.

Posted

I would think that it's feasible. Have a look at my monitor config file. I have the main monitor in the middle, and a secondary monitor to the right.

_ = function(p) return p; end;
name = _('Camera + Left MFCD + Right MFCD');
Description = 'Left MFCD in Upper Right, Right MFCD in Lower Right, camera on the center'
Viewports =
{
Center =
{
x = 0;
y = 0;
width = 2560;
height = screen.height;
viewDx = 0;
viewDy = 0;
aspect = 2560 / 1440;
}
}
-- LEFT_MFCD is on top of RIGHT_MFCD
RIGHT_MFCD =
{
x = 2560;
y = 1440 - 536; -- = 904
width = 500;
height = 500;
}

LEFT_MFCD =
{
x = 2560;
y = 1440 - 1048; -- =
width = 500;
height = 500;
}

UIMainView = Viewports.Center
GU_MAIN_VIEWPORT = Viewports.Center

The last two lines assign the UIMainView and GU_MAIN_VIEWPORT to the viewport "CENTER".

The viewport "CENTER" has parameters that define where in the screen setup it is and how large it is. The values for x and why should allow you to put your DCS World Main screen anywhere within the overall screen configuration.

LeCuvier

Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5

Posted
I would think that it's feasible. Have a look at my monitor config file. I have the main monitor in the middle, and a secondary monitor to the right.

_ = function(p) return p; end;
name = _('Camera + Left MFCD + Right MFCD');
Description = 'Left MFCD in Upper Right, Right MFCD in Lower Right, camera on the center'
Viewports =
{
Center =
{
x = 0;
y = 0;
width = 2560;
height = screen.height;
viewDx = 0;
viewDy = 0;
aspect = 2560 / 1440;
}
}
-- LEFT_MFCD is on top of RIGHT_MFCD
RIGHT_MFCD =
{
x = 2560;
y = 1440 - 536; -- = 904
width = 500;
height = 500;
}

LEFT_MFCD =
{
x = 2560;
y = 1440 - 1048; -- =
width = 500;
height = 500;
}

UIMainView = Viewports.Center
GU_MAIN_VIEWPORT = Viewports.Center

The last two lines assign the UIMainView and GU_MAIN_VIEWPORT to the viewport "CENTER".

The viewport "CENTER" has parameters that define where in the screen setup it is and how large it is. The values for x and why should allow you to put your DCS World Main screen anywhere within the overall screen configuration.

 

I think that "Viewports.Center" refers to "Viewports" in line 4, and then to "Center" in line 6. The names can be farm animals as much as the code cares. I don't think that is the solution. Yes, this worked as an example.

 

_ = function(p) return p; end;
name = _('1 Screen');
Description = 'One monitor configuration'
Viewports =
{
Lion =
{
x = 0;
y = 0;
width = screen.width;
height = screen.height;
viewDx = 0;
viewDy = 0;
aspect = screen.aspect;
}
}
GU_MAIN_VIEWPORT = Viewports.Lion

Posted

Viewports is a collection of viewports. One member of that collection is CENTER. Viewports.CENTER refers to the CENTER member of the collection Viewports. Yes, of course you can use any name in lieu of CENTER. The point of my post is that you can specify where in the overall screen setup you want UIMainView and GU_MAIN_VIEWPORT to appear.

LeCuvier

Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5

Posted
Viewports is a collection of viewports. One member of that collection is CENTER. Viewports.CENTER refers to the CENTER member of the collection Viewports. Yes, of course you can use any name in lieu of CENTER. The point of my post is that you can specify where in the overall screen setup you want UIMainView and GU_MAIN_VIEWPORT to appear.

 

...to appear within DCS. Not the windows environment. That was the result of my efforts.

Posted

I tested my theory and failed. The 2-Monitor setup file I had created does not appear in the dropdown. Apparently DCS World does not allow the main UI to be on a secondary monitor.

LeCuvier

Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5

Posted
I tested my theory and failed. The 2-Monitor setup file I had created does not appear in the dropdown. Apparently DCS World does not allow the main UI to be on a secondary monitor.

 

Please post the code. If it "does not show up", there's likely a syntax error.

Posted

 

Please post the code. If it "does not show up", there's likely a syntax error.

 

Thanks for your comment! Yes, I forgot two end-of-line semicolons. And it actually works! Here is my experimental code:

_ = function(p) return p; end;
name = _('Camera Right - Left + Right MFCD Left');
Description = 'Camera on 2nd Monitor at Right'
Viewports =
{
Center =
{
x = 2560;
y = 380;
width = 1680;
height = 1050;
viewDx = 0;
viewDy = 0;
aspect = 1680 / 1050;
}
}
-- LEFT_MFCD is on top of RIGHT_MFCD
RIGHT_MFCD =
{
x = 500;
y = 710;
width = 700;
height = 700;
}

LEFT_MFCD =
{
x = 500;
y = 0;
width = 700;
height = 700;
}

UIMainView = Viewports.Center
GU_MAIN_VIEWPORT = Viewports.Center

I have a main monitor 2560 x 1440, plus a secondary monitor 1680 x 1050 at the right. My objective was to prove that my approach can in fact display the DCS World main screen on the secondary monitor, and the exported MFCD's (which normally appear on the secondary monitor) on the Windows 10 Main Monitor. My code does that. Perfectly!

LeCuvier

Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5

Posted

I want to move dcs over to another monitor is so that I can use OculusMirror.exe on my main display instead of the default mirror of dcs. Unfortunately when OculusMirror.exe is on top of the dcs default mirror it takes dcs 'out of focus'.

  • 1 month later...
  • Recently Browsing   0 members

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