fitness88 Posted November 13, 2020 Posted November 13, 2020 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.
Bailey Posted November 14, 2020 Posted November 14, 2020 I do not think this is possible. I also have a 3screen-ish setup, but I play in to different locations. I have to switch the Primary screen every time. DCS VoiceAttack Profiles | My Mods and Utilities on ED User Files | DiCE: DCS Integrated Countermeasure Editor DCS Update Witching Utility | DCS-ExportScripts for Stream Deck Community Github Library | Kiowa Integrated Overlays
fitness88 Posted November 14, 2020 Author Posted November 14, 2020 I've read a lot on this subject, I believe there is 3rd party software out there that might be able to do this.
Bailey Posted November 14, 2020 Posted November 14, 2020 I'm all ears! DCS VoiceAttack Profiles | My Mods and Utilities on ED User Files | DiCE: DCS Integrated Countermeasure Editor DCS Update Witching Utility | DCS-ExportScripts for Stream Deck Community Github Library | Kiowa Integrated Overlays
LeCuvier Posted November 14, 2020 Posted November 14, 2020 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
fitness88 Posted November 14, 2020 Author Posted November 14, 2020 I'm all ears! displayfusion offers some support...I'm going to look into the above post.
Bailey Posted November 15, 2020 Posted November 15, 2020 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 DCS VoiceAttack Profiles | My Mods and Utilities on ED User Files | DiCE: DCS Integrated Countermeasure Editor DCS Update Witching Utility | DCS-ExportScripts for Stream Deck Community Github Library | Kiowa Integrated Overlays
LeCuvier Posted November 15, 2020 Posted November 15, 2020 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
fitness88 Posted November 15, 2020 Author Posted November 15, 2020 I tried putting the code into a .lua file but didn't work. Can someone please attach a .lua file that will move dcs to another monitor?
Bailey Posted November 16, 2020 Posted November 16, 2020 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. DCS VoiceAttack Profiles | My Mods and Utilities on ED User Files | DiCE: DCS Integrated Countermeasure Editor DCS Update Witching Utility | DCS-ExportScripts for Stream Deck Community Github Library | Kiowa Integrated Overlays
LeCuvier Posted November 16, 2020 Posted November 16, 2020 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
Bailey Posted November 16, 2020 Posted November 16, 2020 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. DCS VoiceAttack Profiles | My Mods and Utilities on ED User Files | DiCE: DCS Integrated Countermeasure Editor DCS Update Witching Utility | DCS-ExportScripts for Stream Deck Community Github Library | Kiowa Integrated Overlays
LeCuvier Posted November 17, 2020 Posted November 17, 2020 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
fitness88 Posted November 17, 2020 Author Posted November 17, 2020 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'.
CDR Storm Posted January 7, 2021 Posted January 7, 2021 LeCuvier, Which file do I modify to implement your solution? Where is it located? Thank you.
Recommended Posts