PatriotCFS Posted November 3, 2011 Share Posted November 3, 2011 Its been a couple of years since I've had to set this up, but can someone please help me out? I have 2 monitors and I would like to have my cockpit view on the primary 1920x1080 and my SHVAL on the secondary 1280x1024. Many thanks for any help! Link to comment Share on other sites More sharing options...
JG14_Smil Posted November 3, 2011 Share Posted November 3, 2011 http://forums.eagle.ru/showthread.php?t=80199 Link to comment Share on other sites More sharing options...
PatriotCFS Posted November 3, 2011 Author Share Posted November 3, 2011 Thanks for the link, but I think some changes have been made with the new version. Plus Im using Win7... not sure if it matters or not. Link to comment Share on other sites More sharing options...
PeterP Posted November 3, 2011 Share Posted November 3, 2011 Doesn't matter allot - just try to comprehend how it works and adapt this info from the link for BlackShark2. Until nobody knows how your monitors are aligned to each other exactly - there is no way to give you a working "monitor".lua for your demands. This is not a "guess and try" - this is mathematical calculation! ;) Link to comment Share on other sites More sharing options...
PatriotCFS Posted November 3, 2011 Author Share Posted November 3, 2011 Gotcha PeterP, could you point me to the file(s) that need to be edited? The closest thing I could find is the Camera+LMFCD(on right side).lau. But it is very different from BS1. Link to comment Share on other sites More sharing options...
PeterP Posted November 3, 2011 Share Posted November 3, 2011 (edited) Not in front of the simulation-pc so I will pull the most out of my head...: Take this file you have as a starter and change all values corresponding your set-up. Use Notepad++ (its freeware - goggle for it) to edit and a calculator for this! (making your own simple drawing helps allot to have a better overview what you are doing... ) After you edited the values give the file a unique name that will appear in the drop-down menu of DCS. Do this in line 2+3: Example: name = _('Your unique Name'); Description = 'Your unique description: e.g. My setup for Shkval and Cockpit';Than rename the file (e.g. My_setup.lua ) and save it in the same location. Now you can launch BS and choose your edited setting. Edit: especially for this kind of questions I opened a new thread in the "wish list" - maybe this will help...: Annotation in frequently user-changed Files Here is a example with annotations: _ = function(p) return p; end; name = _('Your unique Name'); Description = 'Your unique description: e.g. My setup for Shkval' Viewports = { Center = -- this is the cockpit view { x = 0; -- horizontal starting location y = 0; -- vertical starting location width = 1920; -- can be "screen.width" grabbed from the "options.lua" or a number height = 1080; -- your screen-height of the cockpit view viewDx = 0; -- rotation of the camera position to the Left/right - You want it to be 0 viewDy = 0; -- same as above , but rotation in vertical position aspect = 1.77; -- = your aspect-ratio 1920/1080=1.77 } } LEFT_MFCD = -- Shkval render { x = ???; -- horizontal starting location y = ???; -- vertical starting location width = 1280; -- same function as in "camera" height = 1024; -- same function as in "camera" } Edited November 10, 2011 by PeterP Link to comment Share on other sites More sharing options...
audax Posted November 3, 2011 Share Posted November 3, 2011 You now config multi monitor exactly like in DCS: A-10C. Your Abris is now called "RIGHT_MFCD" and the Shkval is now called "LEFT_MFCD". Link to comment Share on other sites More sharing options...
jib Posted November 3, 2011 Share Posted November 3, 2011 Are other pannels (like PVI and Flare numbers) now exportable? Mods I use: KA-50 JTAC - Better Fire and Smoke - Unchain Rudder from trim KA50 - Sim FFB for G940 - Beczl Rocket Pods Updated! Processor: Intel Q6600 @ 3.00GHz GPU: GeForce MSI RTX 2060 6GB RAM: Crucial 8GB DDR2 HDD: 1TBGB Crucial SSD OS: Windows 10, 64-bit Peripherals: Logitech G940 Hotas, TrackiR 5, Voice Activated commands , Sharkoon 5.1 headset. ,Touch Control for iPad, JoyToKey Link to comment Share on other sites More sharing options...
cltmmm Posted November 4, 2011 Share Posted November 4, 2011 (edited) Can't Get Aspect Right Posted that I couldn't get my aspects right... I found a typo in my one file. It all works now. Now need the flare counts to export! Edited November 4, 2011 by cltmmm Link to comment Share on other sites More sharing options...
Gunnergolly Posted November 4, 2011 Share Posted November 4, 2011 Anybody know how i can disable the Shkval display within the cockpit. The reason i ask is that im exporting it onto my second monitor with is a running a Halios profile and therefore don't use the "cockpit" shkval.......hoping to gain a few FPS... I've disabled my MFCD's within the A-10C by modifying the MFCD_init.lua file by disabling the render_purpose.General line. I'm guessing that it's something to do with the SHKVAL_init.lua file located here but can't seem to figure it out..... E:\DCS Black Shark 2\Scripts\Aircrafts\Ka-50\Cockpit\SHKVAL Cheers... Win 11 Home 64Bit, i7-13700K@5.2Ghz Water Cooled, 32 Gb RAM, PNY RTX4090, HP Reverb, PICO 4, Quest 3, Realsimulator FSSB R3, Thrustmaster Warthog HOTAS, MFG Crosswind Pedals. Link to comment Share on other sites More sharing options...
PatriotCFS Posted November 4, 2011 Author Share Posted November 4, 2011 You now config multi monitor exactly like in DCS: A-10C. Your Abris is now called "RIGHT_MFCD" and the Shkval is now called "LEFT_MFCD". Can you tell me how you got it working... step by step? Link to comment Share on other sites More sharing options...
C6_Hellfrog Posted November 4, 2011 Share Posted November 4, 2011 if you solves this one, please report if you gain really some fps or not ! Link to comment Share on other sites More sharing options...
JG14_Smil Posted November 5, 2011 Share Posted November 5, 2011 (edited) Gunnergolly, I was able to disable the 3D ABRIS and Shkval and have only the exported cockpit in 1.02 but it has changed in BS2 and I've had no luck with it yet. The multi monitor part was easy once pointed to the proper options.lua file (In the Users folders). I just copied my original monitor setup file over to BS2. I have the patched version. Edited November 5, 2011 by JG14_Smil Link to comment Share on other sites More sharing options...
lefuneste01 Posted November 5, 2011 Share Posted November 5, 2011 You now config multi monitor exactly like in DCS: A-10C. Your Abris is now called "RIGHT_MFCD" and the Shkval is now called "LEFT_MFCD". Works well, but it also need to disable the "full screen" mode. P8700K @4.8 GHz, 3080ti, 32 GB RAM, HP reverb Pro. I spend my time making 3dmigoto VR mods for BoS and DCS instead of flying, see https://www.patreon.com/lefuneste Link to comment Share on other sites More sharing options...
audax Posted November 5, 2011 Share Posted November 5, 2011 Can you tell me how you got it working... step by step? Use your BS1 config but replace "SHKVAL" with "LEFT_MFCD" and "ABRIS" with "RIGHT_MFCD". That's all. Because you are flying a skinned A-10C after all ;) Link to comment Share on other sites More sharing options...
PatriotCFS Posted November 5, 2011 Author Share Posted November 5, 2011 Use your BS1 config but replace "SHKVAL" with "LEFT_MFCD" and "ABRIS" with "RIGHT_MFCD". That's all. Because you are flying a skinned A-10C after all ;) Ok, i got that selected, full screen is off, my desktop is set to Extend... But the screen is not extending over to the second monitor. Any ideas why its not? :helpsmilie: Link to comment Share on other sites More sharing options...
audax Posted November 5, 2011 Share Posted November 5, 2011 Ok, i got that selected, full screen is off, my desktop is set to Extend... But the screen is not extending over to the second monitor. Any ideas why its not? :helpsmilie: You need to increase your resolution to WIDTH_leftMonitor + WIDTH_rightMonitor in the config which now is in C:\User\<user>\My Saved Games\DCS: Black Shark 2\config\options.cfg (Or something like that.) I use a resolution of 3600 x 1080 for a 1920x1080 and a 1680x1050 screen. Link to comment Share on other sites More sharing options...
PatriotCFS Posted November 5, 2011 Author Share Posted November 5, 2011 You need to increase your resolution to WIDTH_leftMonitor + WIDTH_rightMonitor in the config which now is in C:\User\<user>\My Saved Games\DCS: Black Shark 2\config\options.cfg (Or something like that.) I use a resolution of 3600 x 1080 for a 1920x1080 and a 1680x1050 screen. Thanks! Thats exactly what I was looking for! My resolution is set for 3200 x 1080 for a 1920x1080 and 1280x1024 screens. That setting stretched most of it to the other screen, is there any other adjustments needed to be made to center it between the 2 monitors evenly? Link to comment Share on other sites More sharing options...
thinkr Posted November 7, 2011 Share Posted November 7, 2011 Now for all the marbles.... Has the Multi-player in Blackshark 2 with DUAL Screens Been FIXED so YOU CAN SEE AND CLICK ALL THE BUTTONS On one screen and click them to join a game or is the multi-player menu still stretched? P.S. Thanks ED for this update:) Modded CapLoz HeliosV2.1_1280x1024.zip 2x 1080p 22"Monitors, Saitek X52, Saitek Combat Rudder Pedals, Trackir5, Win7Pro Pro 64Bit, Intel Q9550 @3.8Ghz, EP45-UD3L, 8GB Ram, Nvidia 560Ti 2GB, 2x 500GB Velociraptor Flaming Cliffs 3 DCS:A10C,KA-50, Huey, Mi-8, WWII Euro 40+ Supporter, Mig21 Falcon 4 BMS IL-2 Sturmovik: 1946 Take on Helicopters Arma 2 AO + PMC + BF All Addons Series Arma 3 EECH & EEAH Medivac & Search and Rescue 4 Series Link to comment Share on other sites More sharing options...
RedX Posted November 7, 2011 Share Posted November 7, 2011 (edited) Did anyone find out yet how to turn off the ABRIS and Shkval displays in the 3D cockpit when using multimonitor setup in order to increase FPS? I can't seem to be able to figure it out. Something has changed from the A-10C config files. EDIT : I found it !! In order to disable the in-cockpit ABRIS and Shkval displays when they are already displayed on external monitor(s), go to DCS Black Shark 2\Scripts\Aircrafts\_Common\Cockpit\ViewportHandling.lua and edit lines 31-32: purposes = {render_purpose.GENERAL, render_purpose.HUD_ONLY_VIEW, into a single line as follows: purposes = {render_purpose.HUD_ONLY_VIEW, Didn't notice any problems yet. Maybe later :-). ABRIS_init.lua and SHKVAL_init.lua need no tweaking now. Edited November 7, 2011 by RedX found solution! Intel Core i7 9700K@4.6GHz|ASUS Strix Z390-H|G.Skill DDR4 32GB@3200MHz|MSI GeForce RTX 2080 Ti|2xSSD 500GB Samsung 970 EVO M.2 RAID0|SSD Samsung 850 EVO|Corsair HX 750W|Fractal Design Define R6 Blackout|UWQHD 34"|Valve Index|Logitech G9|MS Natural Ergonomic Keyboard 4000|VPC WarBRD Base+MongoosT-50CM2 Grip|VPC MongoosT-50 Throttle|VKB T-Rudder|Beyerdynamic DT770|Boom mic|Windows 10 Home Link to comment Share on other sites More sharing options...
C6_Hellfrog Posted November 7, 2011 Share Posted November 7, 2011 yes RedX, found me too this afternoon, and confirm your mod. Link to comment Share on other sites More sharing options...
RedX Posted November 7, 2011 Share Posted November 7, 2011 Now all we need is the exact method to also export PVI-800 digit display, radio channel, etc. to the other display next to ABRIS and SHKVAL just like in A-10C :-) Intel Core i7 9700K@4.6GHz|ASUS Strix Z390-H|G.Skill DDR4 32GB@3200MHz|MSI GeForce RTX 2080 Ti|2xSSD 500GB Samsung 970 EVO M.2 RAID0|SSD Samsung 850 EVO|Corsair HX 750W|Fractal Design Define R6 Blackout|UWQHD 34"|Valve Index|Logitech G9|MS Natural Ergonomic Keyboard 4000|VPC WarBRD Base+MongoosT-50CM2 Grip|VPC MongoosT-50 Throttle|VKB T-Rudder|Beyerdynamic DT770|Boom mic|Windows 10 Home Link to comment Share on other sites More sharing options...
C6_Hellfrog Posted November 7, 2011 Share Posted November 7, 2011 working on it... export works... need to adjust placement... still WIP... Link to comment Share on other sites More sharing options...
Gunnergolly Posted November 7, 2011 Share Posted November 7, 2011 (edited) RedX, appreciate your posting on how you figured out how to disable the "in cockpit" Abris/Shkval displays, hopefully might help free up some resources. Until recently i haven't played BS in ages, I've noticed that my Halios EKRAN digital display is not displaying information correctly. I think there is a fix for this which involves modifying some .Lua script somewhere. I'll search the Halios forums when i have time. Thanks again... Edited November 7, 2011 by Gunnergolly Win 11 Home 64Bit, i7-13700K@5.2Ghz Water Cooled, 32 Gb RAM, PNY RTX4090, HP Reverb, PICO 4, Quest 3, Realsimulator FSSB R3, Thrustmaster Warthog HOTAS, MFG Crosswind Pedals. Link to comment Share on other sites More sharing options...
C6_Hellfrog Posted November 8, 2011 Share Posted November 8, 2011 on the good way... still some work to do I have two screens 1920x1080, main is above, second below my users...options.lua : _ = function(p) return p; end; name = _('7_200+Pit+Shkval+Abris+2x1920x1080Vertic'); Description = '1920x1080:pit++1920x1080=Shkval:920x690+ABRIS:600x800'; Viewports = { Center = { x = 0; y = 0; width = 1920; height = 1080; viewDx = 0; viewDy = 0; aspect = 16/9; } } [color=Blue]SHKVAL [/color]= -- or LEFT_MFCD Shkval ASPECT 115/78 ?? { x = 0; y = 1080; width = 990; height = 705; } [color=Blue]ABRIS [/color]= -- or RIGHT_MFCD { x = 1276; y = 1080; width = 660; height = 805; } [color=Blue]PVI [/color]= -- or MFCD_03 { x = 10; y = 1645; width = 224; height = 75; } [color=Blue]UV26 [/color]= -- or MFCD_04 { x = 655; y = 1336; width = 76; height = 33; } [color=Blue]EKRAN [/color]= -- or MFCD_05 { x = 1186; y = 1790; width = 120; height = 140; } UIMainView = Viewports.Center -- if you comment above line, main view is streched on all displays my UV_26_init.lua dofile(LockOn_Options.common_script_path.."devices_defs.lua") [color=Blue]-- add Hellfrog dofile(LockOn_Options.common_script_path.."ViewportHandling.lua") -- end add Hellfrog[/color] indicator_type = indicator_types.COMMON [color=Blue]-- add Hellfrog purposes = {render_purpose.GENERAL} try_find_assigned_viewport("UV26","MFCD_04") -- end add Hellfrog[/color] -------PAGE IDs------- ... my PVI_init.lua dofile(LockOn_Options.common_script_path.."devices_defs.lua") [color=Blue]-- add Hellfrog dofile(LockOn_Options.common_script_path.."ViewportHandling.lua") -- end add Hellfrog[/color] indicator_type = indicator_types.COMMON [color=Blue]-- add Hellfrog purposes = {render_purpose.GENERAL} try_find_assigned_viewport("PVI","MFCD_03") -- end add Hellfro[/color]g -------PAGE IDs------- ... my EKRAN_init.lua dofile(LockOn_Options.common_script_path.."devices_defs.lua") [color=Blue] -- add Hellfrog dofile(LockOn_Options.common_script_path.."ViewportHandling.lua") -- end add Hellfrog[/color] indicator_type = indicator_types.COMMON [color=Blue]-- add Hellfrog purposes = {render_purpose.GENERAL} try_find_assigned_viewport("EKRAN","MFCD_05") -- end add Hellfrog[/color] ... I have success to export and have it working OK on second screen, but coordintes are not OK as it should be... if someone can help optimizing... I had no succes to prnt sreen in game because it saves only mainscreen... but it really success to export abris + shval + pvi + uv26 + ekran on second screen !!! only 5-8 FPS hit / no export i put a link to a jpg of setup with different numbers than in above files, to display on mainscreen for capture with PRTSCR (I am in Alt F1 view with indicators and shval and abris removed from main view and i am working on axes graphs...) http://www.kirikoo.net/images/7Hellfrog-20111108-012417.jpg 1 Link to comment Share on other sites More sharing options...
Recommended Posts