71st_Mastiff Posted November 16, 2011 Posted November 16, 2011 Hello Guys, I have a little problem with MultiMonitor setup. Why the OPTIONS.LUA file is in the "C:\Users\DonZorro\Saved Games\DCS BlackShark 2"??? The MonitorSetup's LUA files are in the "D:\Black Shark 2\Config\MonitorSetup"... Help me, please! THANKS, DonZorro you do not need to make changes to the option.lua all changes should be done in the config/imonitorsetup/and use notepad ++ do not use note pad. to get the correct spread you simply make the changes in the option menu in the GUI game it self. "any failure you meet, is never a defeat; merely a set up for a greater come back", W Forbes. "Success is not final, failure is not fatal, it is the courage to continue that counts", "He who never changes his mind, never changes anything," Winston Churchill. MSI z690 MPG DDR4 || i9-14900k|| ddr4-128gb PC3200 |zotac RTX 5080|Game max 1300w|Win11| |turtle beach elite pro 5.1|| ViRpiL,T50cm2||MFG Crosswinds|| VT50CM-plus rotor Throttle || G10 RGB EVGA Keyboard/MouseLogitech || PiMax Crystal VR || 32 Asus||
warrior2seven Posted November 24, 2011 Posted November 24, 2011 Hey guys, I've been away from the sim for a while now. Last time I flew it was on v1.1.08. I have done a fresh install to v1.1.10. I cannot seem to get my MFCDs exported to my second monitor and behind my TM MFDs anymore. My options.lua and moitor.lua files no longer work like they used to. Could someone point me in towards a definitive thread or post to get me started? Any help is much appreciated. Thanks
FreeFall Posted November 24, 2011 Posted November 24, 2011 Hey guys, I've been away from the sim for a while now. Last time I flew it was on v1.1.08. I have done a fresh install to v1.1.10. I cannot seem to get my MFCDs exported to my second monitor and behind my TM MFDs anymore. When it comes to exporting indicators (like RWR, UHF repeater etc.), there has been changes with both v1.1.0.9 and v1.1.1.0 patches. However, I think that exporting MFCDs really didn't change that much. Or if changed, only a little bit. But other indicators suffered more. Take a look at another sticky: To understand the fixes needed with 1.1.0.9, read the other sticky thread starting with this message (and a couple of pages more) : http://forums.eagle.ru/showpost.php?p=1254646&postcount=116 To understand what's gotta be fixed after patch 1.1.1.0, start reading with this message on and read a couple of more pages: http://forums.eagle.ru/showpost.php?p=1325071&postcount=263 Hope this helps.
warrior2seven Posted November 24, 2011 Posted November 24, 2011 Thank you FreeFall, I appreciate the help. MFCDs are looking good, just working on whatever else I can fit on my second screen now.
FreeFall Posted November 24, 2011 Posted November 24, 2011 (edited) Thank you FreeFall You're welcome. While I was tweaking the exports I used some of these files: http://forums.eagle.ru/showpost.php?p=1256947&postcount=144 (Thank You, Gunnergolly!) Only removed a couple of duplicate lines from the beginning of some scripts, for example lines like this might be there twice of something: dofile(LockOn_Options.script_path.."UHF_Radio/indicator/common_init.lua") I think they work OK even with duplicate lines. Then you only have to resize and fix the positions by editing your monitor.lua, or whatever its name is. That takes time, so be patient. Just be careful: The names of the exports inside init.lua-files must exactly match with the names inside your monitor.lua For example if you have UHF_REPEATER entry in your monitor.lua, you have to use exactly the same name inside repeater_init.lua: . . vp = env.UHF_REPEATER . . Sometimes people use slightly different names, and if you only copy/paste the init.lua (with different name inside it, for example RWR instead of RWR_SCREEN), it won't work. Edited November 24, 2011 by FreeFall
bouncerj21 Posted November 27, 2011 Posted November 27, 2011 Hi All I am new to the forums and could really do with some help. I having been going through the various threads for a week now trying to work out how to setup my multi monitor configuration. I have been changing and tweaking the .lua file for over two days and still have gotten no where. I am running A10 1.1.1.0 my main resulotion is 1920 x 1080 and I have a small 7 inch usb monitor 800 x 600 that I wish to display my right MFD on. I have seen that a few of you have acheived this but I am pulling my hair out trying to get it to work. Can some one assist with the .lua file and what resolution/aspect ratio I need to set ???? Thanks
MadTommy Posted November 28, 2011 Author Posted November 28, 2011 bouncerj21 all the info you need should be on the 1st post of this thread. If there is a part of the guide you do not understand or similar please explain what bit you are struggling with. i5-3570K @ 4.5 Ghz, Asus P8Z77-V, 8 GB DDR3, 1.5GB GTX 480 (EVGA, superclocked), SSD, 2 x 1680x1050, x-fi extreme music. TM Warthog, Saitek combat pro pedals, TrackIR 4
FreeFall Posted November 28, 2011 Posted November 28, 2011 (edited) Can some one assist with the .lua file and what resolution/aspect ratio I need to set ???? Thanks Did this quite quickly, so it may contain errors... But at least you can try. Here we go: Your 7inch.lua file will contain the followin lines: _ = function(p) return p; end; name = _('7inch'); Description = 'Right MFCD positioned' Viewports = { Center = { x = 0; y = 0; width = 1920; height = 1080; viewDx = 0; viewDy = 0; aspect = 1.77777777777778; } } RIGHT_MFCD = { x = 1920; y = 0; width = 360; height = 360; } UIMainView = Viewports.Center Use Notepad++ and save it as "7inch.lua" into your Program Files\Eagle Dynamics\DCS A-10C\Config\MonitorSetup\ Start DCS-10C and go to Options/System Graphics. Your resolution is 2720x1080 (click the space there and type the figures). Aspect ratio will be automatically OK. In the Monitors, you should find your "7inch". Choose it. Edited November 28, 2011 by FreeFall
bouncerj21 Posted November 28, 2011 Posted November 28, 2011 Cheers FreeFall and MadTommy all sorted now :thumbup: Think it was one of those things that I have been looking at too much and confused myself. I have used your .LUA FreeFall and adjusted to fit perfectly. Thank you soo much for your help so easy when you know how :doh:
FreeFall Posted November 28, 2011 Posted November 28, 2011 I have used your .LUA FreeFall and adjusted to fit perfectly. Good. Feel free to edit the width & height of MFCD. And position coordinates as well so that it looks good on your screen.
Polar-eX Posted November 29, 2011 Posted November 29, 2011 Madtommy, you are not mad, you are briljant!! After i messed up by wrong calculations, now i can use my secondary monitor for the MFD's. Finally i dont have to crawl underneath my desk to catch my trackir for the MFD screens. Thanks bigtime!! Here is my Lua setup for the next configuration: Main: 27 inch 1920x1080 Secondary: 19 inch 1280x1024 --------------------------------------------- _ = function(p) return p; end; name = _('Test dual monitor'); Description = 'Dual monitor setup' Viewports = { Center = { x = 0; y = 0; width = 1920; height = 1080; viewDx = 0; viewDy = 0; aspect = 1.77777777777778; } } LEFT_MFCD = { x = 1920; y = 128; width = 640; height = 640; } RIGHT_MFCD = { x = 2560; y = 128; width = 640; height = 640; } UIMainView = Viewports.Center --------------------------------------------- :thumbup: I7-4790K with Corsair H110 / Asus Maximus VII HERO / 2 x 8 GB Corsair Platinum 2400 / Asus GTX980ti / OCZ Vertex 3 120 GB for OS / Corsair ax760i / Corsair Carbide 540 / Samsung EVO 500GB for games / CM 690 / Track IR5 / Logitech Extreme 3D / Saitek Proflight yoke, rudder & two USB throttle quadrants / Saitek X55 / VRinsight TT planel / Thrustmaster T500RS / Samsung SM P2770HD / 1000 cables.....
airea Posted November 30, 2011 Posted November 30, 2011 I have a 27 inch (2560*1440) and a 17 inch (1280*1924) monitor and wiyth previous versions of A10c, I was able to run main camera and left mfcd properly. Now, no matter what I did, I was not able to run dual monitor setup. Here is my monitor setup lua file: _ = function(p) return p; end; name = _('2 Monitor Setup'); 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 = 1440; viewDx = 0; viewDy = 0; aspect = 1.77777777777; } } LEFT_MFCD = { x = 2560; y = 0; width = 0; height = 0; } RIGHT_MFCD = { x = 2560; y = 0; width = 1280; height = 1024; } UIMainView = Viewports.Center What am I doing wrong, what did change after 1.1.1.0 version?
71st_Mastiff Posted November 30, 2011 Posted November 30, 2011 _ = function(p) return p; end; name = _('2 Monitor Setup'); 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 = 1440; viewDx = 0; viewDy = 0; aspect = 1.77777777777; } } LEFT_MFCD = { x = 2560; y = 0; width = 0; height = 0; } RIGHT_MFCD = { x = 2560; y = 0; width = 1280; height = 1024; heres your problem } UIMainView = Viewports.Center "any failure you meet, is never a defeat; merely a set up for a greater come back", W Forbes. "Success is not final, failure is not fatal, it is the courage to continue that counts", "He who never changes his mind, never changes anything," Winston Churchill. MSI z690 MPG DDR4 || i9-14900k|| ddr4-128gb PC3200 |zotac RTX 5080|Game max 1300w|Win11| |turtle beach elite pro 5.1|| ViRpiL,T50cm2||MFG Crosswinds|| VT50CM-plus rotor Throttle || G10 RGB EVGA Keyboard/MouseLogitech || PiMax Crystal VR || 32 Asus||
airdog Posted November 30, 2011 Posted November 30, 2011 Your description in the Lua(in red) makes it sound as if you have 3 monitors. But you describe it as if it's only 2 monitors. Which is it?. The script below is assuming that your 2nd monitor is to the right of your main monitor and that you want your MFD's on the second monitor. Total resolution should be 3840x1440 in the options GUI Try This. _ = function(p) return p; end; name = _('2 Monitor Setup'); 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 = 1440; viewDx = 0; viewDy = 0; aspect = 1.77777777777; } } LEFT_MFCD = { x = 2560; y = 0; width = 640; height = 640; } RIGHT_MFCD = { x = 3200; y = 0; width = 640; height = 640; } UIMainView = Viewports.Center Airdog | Asus ROG Strix Z370-E Mobo | i7 8700K @ 4.7 | 32 GB DDR4@3200mhz | Gigabyte 2080Ti OC 11GB| Samsung M.2 960 Evo 250Gb and 500Gb | Win10 Pro | Hotas Warthog #02743 | Track IR 5 | Toshiba 47" 120hz LED | Acer 23" Touchscreen | HELIOS |Oculus Rift-S| http://www.blackknightssquadron.com/
airea Posted December 1, 2011 Posted December 1, 2011 Your description in the Lua(in red) makes it sound as if you have 3 monitors. But you describe it as if it's only 2 monitors. Which is it?. The script below is assuming that your 2nd monitor is to the right of your main monitor and that you want your MFD's on the second monitor. Total resolution should be 3840x1440 in the options GUI Try This. _ = function(p) return p; end; name = _('2 Monitor Setup'); 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 = 1440; viewDx = 0; viewDy = 0; aspect = 1.77777777777; } } LEFT_MFCD = { x = 2560; y = 0; width = 640; height = 640; } RIGHT_MFCD = { x = 3200; y = 0; width = 640; height = 640; } UIMainView = Viewports.Center I have only ywo monitors and I was running the left MFCD on my left monitor. The lua fila which I loaded has three monitors but the right MFCD had zero width and height, which was acting like a ghost monitor. It was working properly with the previous versions. If I wanted right MFCD being visible on my monitor, I was simply increasing the width and height of it, while decreasing the same numbers for the left MFCD. All in all, my problem is, I have only two monitors and I just need the left MFCD to be visible on my second monitor (I dont need right MFCD at the moment).
71st_Mastiff Posted December 1, 2011 Posted December 1, 2011 there is a left only MFCD lua too "any failure you meet, is never a defeat; merely a set up for a greater come back", W Forbes. "Success is not final, failure is not fatal, it is the courage to continue that counts", "He who never changes his mind, never changes anything," Winston Churchill. MSI z690 MPG DDR4 || i9-14900k|| ddr4-128gb PC3200 |zotac RTX 5080|Game max 1300w|Win11| |turtle beach elite pro 5.1|| ViRpiL,T50cm2||MFG Crosswinds|| VT50CM-plus rotor Throttle || G10 RGB EVGA Keyboard/MouseLogitech || PiMax Crystal VR || 32 Asus||
airdog Posted December 1, 2011 Posted December 1, 2011 I have only ywo monitors and I was running the left MFCD on my left monitor. The lua fila which I loaded has three monitors but the right MFCD had zero width and height, which was acting like a ghost monitor. It was working properly with the previous versions. If I wanted right MFCD being visible on my monitor, I was simply increasing the width and height of it, while decreasing the same numbers for the left MFCD. All in all, my problem is, I have only two monitors and I just need the left MFCD to be visible on my second monitor (I dont need right MFCD at the moment). First item that needs to be cleared is that in windows monitor setup your main monitor needs to be the most right monitor with your secondary display to the right. You can physically put the secondary monitor to your left but in windows monitor setup it can't be there. I'm pretty sure that A10 requires that the main monitor be the right most monitor but if it doesn't it sure makes it easier to do this setup. In the a10c options page set total res to 3840x1440 and do not change the aspect ratio that it calculates. Make sure full screen is unchecked Now try this monitor setup .lua _ = function(p) return p; end; name = _('2 Monitor Setup'); 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 = 1440; viewDx = 0; viewDy = 0; aspect = 1.77777777777; } } LEFT_MFCD = { x = 2560; y = 0; width = 1024 height = 1024 } UIMainView = Viewports.Center Airdog | Asus ROG Strix Z370-E Mobo | i7 8700K @ 4.7 | 32 GB DDR4@3200mhz | Gigabyte 2080Ti OC 11GB| Samsung M.2 960 Evo 250Gb and 500Gb | Win10 Pro | Hotas Warthog #02743 | Track IR 5 | Toshiba 47" 120hz LED | Acer 23" Touchscreen | HELIOS |Oculus Rift-S| http://www.blackknightssquadron.com/
FieroCDSP Posted December 3, 2011 Posted December 3, 2011 (edited) Perhaps I missed it in my search, but is there a way to make a left side second monitor work for MFDs only? I tried using negative X values, which seemed to work somewhat, but I ended up getting no visual change (still extended desktop) from the left monitor, and my right had the right mfd screen on the up-left corner with the cockpit centered, and the pause screen bar half off of the right side of the screen. Windows is set up right, as I scroll left and the mouse moves left onto my expanded desktop. Both monitors are identical models at 1920x1080 res. options screen is set at 3840x1080, and it came up with 3.55 aspect. script follows: _ = function(p) return p; end; name = _('test1'); Description = 'Center main with MFDs left'; Viewports = { Center = { x = 0; y = 0; width = 1920; height = 1080; viewDx = 0; viewDy = 0; aspect = 1.777; } } LEFT_MFCD = { x = -1920; y = 0; width = 640; height = 640; } RIGHT_MFCD = { x = -1270; x = 0; width = 640; height = 640; } UIMainVuew = Viewports.Center EDIT: I just tried telling windows that my extra monitor was to my right, adjusted values, and ran into problems with the video not engaging at all on either screen, but the cursor and clickable hot-points were there. Okay, found the X/Y issue in the RMFD field, and switched the monitor ID opposite of what it actually is, so winblows displays the left screen as a right. still testing. Fixed! corrected script errors and it's working. Edited December 4, 2011 by FieroCDSP
MadTommy Posted December 5, 2011 Author Posted December 5, 2011 ^^ as long as your top left most monitor is the primary monitor in windows, you can do as you like. The cockpit (center viewport) does not have to start at x=0 & y=0. It could just as easily start at x=1980 y=0 (or any other value) if you wanted the right monitor to have you cockpit view on it. i5-3570K @ 4.5 Ghz, Asus P8Z77-V, 8 GB DDR3, 1.5GB GTX 480 (EVGA, superclocked), SSD, 2 x 1680x1050, x-fi extreme music. TM Warthog, Saitek combat pro pedals, TrackIR 4
Chain Posted December 6, 2011 Posted December 6, 2011 Can somebody give me an example config for my setup. I have read this whole thread and tried everything but still nogo. I have not been able to get anything on other screens than my main one. Ok here is my setup: NVidia GTX 460 SLI (SLI set to OFF) Center screen: 1920x1080 (Optoma HD20 projector) Right screen 1 (top right monitor in windows monitor setup, "extend these displays" setting on) 800x600 (8.4" LCD, VGA) Right screen 2 (to the right of screen 1 in windows monitor setup, "extend these displays" setting on) 800x600 (8.4" LCD, VGA) I would like to fly the sim with 1920x1080 resolution and have two MFD-displays on my small 8.4" screens. Can someone help me out? I'll buy you a beer. System: Windows 10 | i7-7700K @ 4.5 Ghz | 32GB of RAM | Nvidia GTX 1080, 3440x1440 | DELL Ultrawide U3415W | Samsung 960 Evo M.2 and 2 TB Seagate Barracuda | TM Warthog Hotas | SLAW F-16 Pedals | Oculus Rift CV1 and HTC Vive PRO VR + High fidelity F/A-18C simpit :)
MadTommy Posted December 6, 2011 Author Posted December 6, 2011 (edited) Can somebody give me an example config for my setup. If you confirm you meet these: Essential Requirements: Full screen OFF (ingame). Extended desktop enabled in Windows. The 'primary' monitor, in Windows, needs to be your top left most monitor, otherwise you may have problems. And do Step One of the guide in the original post and let me know your combined resolution i will make your profile for you. Edited December 6, 2011 by MadTommy i5-3570K @ 4.5 Ghz, Asus P8Z77-V, 8 GB DDR3, 1.5GB GTX 480 (EVGA, superclocked), SSD, 2 x 1680x1050, x-fi extreme music. TM Warthog, Saitek combat pro pedals, TrackIR 4
Chain Posted December 6, 2011 Posted December 6, 2011 If you confirm you meet these: Yes these are set as instructed. And do Step One of the guide in the original post and let me know your combined resolution i will make your profile for you. resolution: 3520x1080 width: 1920+800+800 height: 1080 Thanks. System: Windows 10 | i7-7700K @ 4.5 Ghz | 32GB of RAM | Nvidia GTX 1080, 3440x1440 | DELL Ultrawide U3415W | Samsung 960 Evo M.2 and 2 TB Seagate Barracuda | TM Warthog Hotas | SLAW F-16 Pedals | Oculus Rift CV1 and HTC Vive PRO VR + High fidelity F/A-18C simpit :)
Chain Posted December 6, 2011 Posted December 6, 2011 (edited) The displays are working now! The problem was nvidia overclocking software. It had messed up the display id numbers somehow. :thumbup: One more question... is it possible to use one 1920x1080 screen and two 800x600 screens in nvidia SLI mode? Edited December 6, 2011 by Chain System: Windows 10 | i7-7700K @ 4.5 Ghz | 32GB of RAM | Nvidia GTX 1080, 3440x1440 | DELL Ultrawide U3415W | Samsung 960 Evo M.2 and 2 TB Seagate Barracuda | TM Warthog Hotas | SLAW F-16 Pedals | Oculus Rift CV1 and HTC Vive PRO VR + High fidelity F/A-18C simpit :)
MadTommy Posted December 6, 2011 Author Posted December 6, 2011 The displays are working now! The problem was nvidia overclocking software. It had messed up the display id numbers somehow. :thumbup: One more question... is it possible to use one 1920x1080 screen and two 800x600 screens in nvidia SLI mode? Glad you got it working... I'm afraid I'm not familiar with Sli setups, someone else will need to help you with that. i5-3570K @ 4.5 Ghz, Asus P8Z77-V, 8 GB DDR3, 1.5GB GTX 480 (EVGA, superclocked), SSD, 2 x 1680x1050, x-fi extreme music. TM Warthog, Saitek combat pro pedals, TrackIR 4
ralfidude Posted December 19, 2011 Posted December 19, 2011 This is so awesome, beyond awesome. Got it on my first try. YOU sir, are AWESOME! Thank you for this! [sIGPIC]http://i17.photobucket.com/albums/b66/ralfidude/redofullalmost_zpsa942f3fe.gif[/sIGPIC]
Recommended Posts