Jump to content

Dummies Guide for the “MonitorSetup.lua“


PeterP
 Share

Recommended Posts

Dummies Guide for the “MonitorSetup.lua“ and placing/positioning different view-ports 1.0.X

 

 

Dummies Guide for the “MonitorSetup.lua“

and placing/positioning different view-ports 1.0.X

 

 

1. Overview



2. The “Monitor Setup Lua” file



2.1 The “Center” View-port



2.2 The “MFCD” View-ports

 

3. The “MFCD” View-ports at a second monitor

 

3.1 Two Monitors with same resolution

 

3.2 Two Monitors with different resolution



4. Link-list for known bugs and the workarounds

 



PeterP

http://forums.eagle.ru/member.php?u=59989

28/05/2012

 

It's 16 pages and should cover all aspects for a successfully Multi-monitor set-up.

 

The first two pages:

copypaste.jpg

 

 

This is version1.0.X - I will probably change some things.

Please let me know if everything is logical correct and if you found some bad typos/grammar.

I only read it three-times up to now.

And I was writing it all today.

So please give me a slag if everything is not absolute top-notch up-to now.

And some things are still missing.:P

 

File: Dummies Guide for the “MonitorSetup.lua“1.0.2.pdf.zip

Size: 1.54 Mb

[download]

 

 

This pre-sets will switch on the export of avionics to dedicated view-ports - just by simple copy'n'paste.

And will remove any conflicts between A10C and Ka-50

 

>>> http://forums.eagle.ru/showthread.php?p=1541311#post1541311

 

2Ka-50AbrisandShkvalONexample.jpg

 

wol_error.gifThis image has been resized. Click this bar to view the full image. The original image is sized 1024x576.2A-10CMFCDsinCockpitOFFexample.jpg

 

 

 

...and there is no need to set your left screen as Main in a 'windowd' setup if you don't want to.

Use the 'Phantommonitorfix' to align the DCS simulation screen in your Top-Left corner of your whole desktop - even if your left monitor isn't the main-screen.

 

Tip - place the exe or a shortcut of this skript it in your startup folder ,

C:\Users\>User Name<\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup to lower your workload .

So it is loaded when your system boots and you don't have to manually start it any more. - It uses no measurable recurrences and only gets active when DCS.exe is loaded.


Edited by PeterP
  • Like 5

Link to comment
Share on other sites

Great Work! Thank you for that!

 

Regards

Terrorvogel

ASROCK X79 Extreme11 (WC), i7-4930K (WC), 32GB G.Skill TridentX, Vertex 3 120GB, GTX 980ti, 3x 39,5" Philips 4K, TrackIR 5, TM Warthog with PeterP´s FFB2 Mod, 2xSaitek Throttle, 2x Thrustmaster Cougar MFD Bezel, Simped Vario Pedals modded with toe brakes, Opencockpit Cards, 4x Soundcard, 2x Buttkicker Gamer 2, 4x GTX 950 with tons of touchscreens...

Link to comment
Share on other sites

Thanks! -

I really didn't expected 80 downloads after 24 hours.... (OK - that means nothing - as the question is : How many really read it?!;))

 

I will add next weekends probably 3-4 more points that show how to enable and use additional view-ports that at default not available, like e.g PVI, CDU, ect.

And we will take a look at setting up a a system with two usb-monitors. -as this seems to be the most frequently asked question on the forum.

And than even a example with Helios together - and when I have still skin on my fingertips after typing this, I will give a brief overview about SoftTH to run everything in full-screen mode.

 

-that's the plan.

 

And I want to excuse myself for my grammatical in-perfection and typos... I just stared at it too long (and I changed too often the entire structure - until it seems to be "right")...

I read it today again and had to LoL sometimes...

 

... sorry I was always better at maths than language - even in German.

(did you know?!: multiply a number with five - and it will always have a 5 or a zero at the end.... - see... , you can't do this with grammar ! :D)

 

I talked today with a US-American speaker and he promised me to cross-check it when finished. :)

 

 

But please feel free to tell me -novice or experienced user , this doesn't matter- what may to change - where you have the biggest difficulties to comprehend /follow.

 

... I'm so used to edit things like this that I might miss important steps to explain because some things are absolute natural for me and I didn't think to mention them.

 

Short: constructive criticism is very welcome!


Edited by PeterP
  • Like 1

Link to comment
Share on other sites

Hi Peter,

 

Thank you very much for this good and easy understanable tutorial! I rarly tought about using my second monitor as a MFCD/Abris, but with your tutorial I got it to work in a few minutes. :thumbup:

 

Danke!

 

EDIT: Is it normal that I can't use the F2, F3, etc to change to the outside view anymore, after setting up windowed mode?

EDIT2: Sorry, I think I had the comms menu open, and I was clicking arround in there instead changing views.

Foto.thumb.JPG.04991d1e31666df4c9f5412b34cc21b3.JPG


Edited by xxJohnxx

Check out my YouTube: xxJohnxx

 

Intel i7 6800k watercooled | ASUS Rampage V Edition 10 | 32 GB RAM | Asus GTX1080 watercooled

Link to comment
Share on other sites

Sorry, once me again. I have another two little problems left, after I set up the screens like you described.

-When I press a key on my keyboard DCS does what it should, but I can also hear a "ding" (the "ding" windows makes when you press a key while you are on the desktop). That is not a huge problem, but it would be nice if I could fix it.

 

-The bigger problem I have now, that I can't use my mousewheel any more. I am able to toggle swithes, with both, the left and the right button, butt I can't turn any dials anymore.

Also, it would be awsome if you may have a solution for this problem.

 

BTW: I have read a little bit about SoftTH and it sounds if it would be able to solve my problems, because I am back in fullscreen then, wouldn't it?

 

Thanks!

Check out my YouTube: xxJohnxx

 

Intel i7 6800k watercooled | ASUS Rampage V Edition 10 | 32 GB RAM | Asus GTX1080 watercooled

Link to comment
Share on other sites

This has nothing to do with DCS - it seems that DCS is not the top window and the key-presses will run at desktop level- sorry cant help you. - you have to check that DCS is always the active window. - and maybe others windows are open that can get activated by a combination of key-presses or scripts.

 

About SoftTH: please follow the appropriate link - everything you want to know/ask is already explained there.

Well, you have to dig a little - or simply ask your question over there.

Edit: PMed with xxJohnxx and everything is now working as it should - it was a classic PEBKAC.


Edited by PeterP

Link to comment
Share on other sites

Great Job :thumbup:Thx bro:music_whistling:

[sIGPIC][/sIGPIC] SMOKE'M:smoke: IF YA GOT'M!:gun_rifle:

H2o Cooler I7 9700k GA 390x MB Win 10 pro

Evga RTX 2070 8Gig DD5

32 Gig Corsair Vengence, 2T SSD.

TM.Warthog:joystick: :punk:, CV-1:matrix:,3x23" monitors, Tm MFD's, Saitek pro rudders wrapped up in 2 sheets of plywood:megalol:

Link to comment
Share on other sites

Thanks Peter, great info for those new to multi monitor setups.

Can you tell me how to stop displaying the MFDs in the cockpit? Had it like this pre DCSW, and now i find it very distracting having them displayed twice.

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...

Thank You PeterP. Really thanks a lot. With your instructions I got it and did it. Thanks.

 

But I wonder, can we 'display' some (one or two) gauges on other a monitor? Can this be done?

i7-2600 @3.4GHz | Corsair 16GB @1600MHz. | MSI GTX1660Ti Gaming X | Samsung 256GB SSD (Win10HPx64)
Samsung G5 32" + Samsung 18" + 2x8"TFT Displays | Saitek X-55 Rhino & Rudder | TM MFD Cougars | Logitech G13, G230, G510, PZ55 & Farming Sim Panel | TIR5
>>MY MODS<< | Discord: Devrim#1068

Link to comment
Share on other sites

Thanks for links. But it's interesting that none of them are woking.

i7-2600 @3.4GHz | Corsair 16GB @1600MHz. | MSI GTX1660Ti Gaming X | Samsung 256GB SSD (Win10HPx64)
Samsung G5 32" + Samsung 18" + 2x8"TFT Displays | Saitek X-55 Rhino & Rudder | TM MFD Cougars | Logitech G13, G230, G510, PZ55 & Farming Sim Panel | TIR5
>>MY MODS<< | Discord: Devrim#1068

Link to comment
Share on other sites

Its not "interesting" - that's simply bad! ...I didn't know that Helios is off-line at this moment as I posted this links.

 

Tip: register yourself on SCS-simulation forum and ask why the Helios download is off-line and/or simply post this question in the links I gave to you.

(BTW: I willing to help but I can't do everything for others)

 

 

I have a Helios-installation.zip on my HD but don't know if I'm allowed to load it up.

 

EDIT:

Download Helios here: http://www.gadrocsworkshop.com/helios/latest


Edited by PeterP

Link to comment
Share on other sites

Thank you all guys. PeterP & Flim.

And thank you Flim for the Gadrocsworkshop.

i7-2600 @3.4GHz | Corsair 16GB @1600MHz. | MSI GTX1660Ti Gaming X | Samsung 256GB SSD (Win10HPx64)
Samsung G5 32" + Samsung 18" + 2x8"TFT Displays | Saitek X-55 Rhino & Rudder | TM MFD Cougars | Logitech G13, G230, G510, PZ55 & Farming Sim Panel | TIR5
>>MY MODS<< | Discord: Devrim#1068

Link to comment
Share on other sites

@Peter,

 

A dummies guide that uses pictures and explanations is well done.

That being said, you asked for opinions, so I will offer some to help you help others...

 

What you've done is really just the tip of the iceberg. I exhort you to think about going the

next level to applying HELIOS both for VGA and displayLinked USB (LCD) monitors. Ive

done this for both DCS-A10c and FalconBMS, so it can be done. Maybe these pictures will

inspire you and others...

 

DCS-A10c with two USB LCDs as MFDs and TM Bezels as OSBs, plus 1 touch panel USB LCD as CDU (Helios + LUA scripts)

HELIOS12-4.gif

 

FalconBMS with 2 USB LCDs as MFDs (GPT Extractor) and 1 touch panel USB LCD as the ICP (Helios)

AV8R-BMS-MFDs2.jpg

 

Heres yet another idea, running the BMS ICP off an iPad which is a touch panel monitor itself

BMSICP-1.jpg

 

So yes, VGA main monitor plus USB monitors can be made to co-exist. Also, native sim

monitor extraction (be it DCS or BMS) can be used in conjunction with HELIOS or other

remote solutions like SPLASH XDISPLAY to display on an iPad for example.


Edited by AV8R
  • Like 1
Link to comment
Share on other sites

@Peter,

 

A dummies guide that uses pictures and explanations is well done.

That being said, you asked for opinions, so I will offer some to help you help others...

Thanks!

What you've done is really just the tip of the iceberg.
I know...

I exhort you to think about going the

next level to applying HELIOS both for VGA and displayLinked USB (LCD) monitors. Ive

done this for both DCS-A10c and FalconBMS, so it can be done. Maybe these pictures will

inspire you and others...

I'm thinking about doing this.

... I will start some research.

- If you like: post some pics of DCS including the in-cockpit view and I will add them to the guide if you allow this . :)

 

 

So yes, VGA main monitor plus USB monitors can be made to co-exist. Also, native sim

monitor extraction (be it DCS or BMS) can be used in conjunction with HELIOS or other

remote solutions like SPLASH XDISPLAY to display on an iPad for example.

Oh - I almost forgot - thanks for the reminder! ;)

 

 

Serious : I wrote already big parts of the Helios part - and how to in-cooperate it in a mixed render-surface including a Virtual-display drivers and the native outputs of a GPU.

Well , all needs still a lot of polishing.

 

So:

Can you please tell me what was the hardest parts to do it with DCS - so I can check if I have included everything. -such kind of feed back would be really nice.

:)


Edited by PeterP

Link to comment
Share on other sites

@Peter,

 

You want some A10c cockpit pics...

So here's some year old pics I made when I was doing this for DCS-A10c

 

Cockpit with MFDs

AV8RMFDS.gif

 

Cockpit with CDU as I was making work on an USB touch panel + Helios

HELIOS5.gif

HELIOS6.gif

AV8RCDU1.gif

 

What is not documented...

Helios is powerful but is poorly documented and thus presents a steep learning

curve for those not familiar with it and combining DCS' LUA scripts and Windows

display positioning. The whole display exportation and replication methodology

as it applies to our flight sim use is assumed and not handled well.

That's where you come in.

 

What I found difficult was creating an USB touch panel CDU...

The trick is to use Helios art that has a cutout for the CDU data rather than

using the screen replicator that is used to display MFDs. MFDs can be done

either with Helios software bezel and OSBs, or as I have done as LUA displayed

data plus TM Cougar MFD hardware with push button OSBs.

 

HELIOS4.gif

 

The other hurdle is getting Windows and the video card propeties to consistently

position and display the monitors exactly where Helios and DCS' LUAs expects them to be.

I know you are well aware of this and is what you've painstakingly wrote about.

It extremely frustrating to do when using 32 bit Vista and also throwing DisplayLink

into the mix. Then there s getting each monitor a black background so that the portions not

being displayed on don't show up as your Windows background.

 

Exporting from Falcon presents more challenges as its older software, but the latest BMS

coding and third party utilities make it possible to do what DCS does via LUAs. Helios

brings out the cockpit art with selectable button callbacks, to either sim. Too bad the

IL2 series didn't make it into these.

 

All the pictures are done via a single Q6600 computer with one nVidia

cheers


Edited by AV8R
Link to comment
Share on other sites

@Peter,

 

You want some A10c cockpit pics...

So here's some year old pics I made when I was doing this for DCS-A10c

Thanks for the pics!

 

Can I use them ? - especially interested in the first :"Cockpit with MFDs" - as it shows the usual workspace of a desktop-pilot. :)

 

It extremely frustrating to do when using 32 bit Vista and also throwing DisplayLink

into the mix. Then there s getting each monitor a black background so that the portions not

being displayed on don't show up as your Windows background.

Yeah - you telling me? :)

 

Spurious- you should upgrade to Win7-64 asap - it is alto easier to do such things .

 

and you should also have a look at SoftTH >>> as it can help immense to streamline your render-data and help to maintain a good fps in DCS.

 

Enjoyed your cheeky responses, cheers
;)Well , at least you did understand it! :)

never mind.

 

 

 

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

now something complete different:

 

 

This is how you render a black square inside DCS:

(check the negative width/height ...and it has no impact on FPS)

 

BlackSquare.jpg

 

...and here is a example in which kind of setting it can be very useful:

>>>> http://forums.eagle.ru/showthread.php?p=1490580#post1490580

Screen_120625_201015.jpg


Edited by PeterP

Link to comment
Share on other sites

@Peter,

 

Of course you can use my pics, that was my contribution to your effort. I would hardly think my

rig is representative of very many, but its a poor man's way to have individual MFDs and CDU or

ICP touch displays. Some would rather just put them on large VGA screens with soft OSBs or

even velcro attaching TM Bezels on to the monitor's screen itself. I would think the VipersPits

crew are likely to have individual monitors for each MFD like I did in some shape or form.

 

Regarding the blackout boxes...

Im not a fan of using the cockpit in a manner that doesn't look realistic, so they don't look good

to me. Just my opinion of course. That being said, I can imagine two uses for it that would be

beneficial:

a. An ATC role

b. RIO back seater or trainer mode

 

The Helios part of the equation is pretty poorly documented, so if you are a documentation guy

maybe you can write a section in your dummies guide to help others. It looks like you have

the main screen spread out on multiple monitors well thought out. Probably in my next PC I

will go that route when I have the horse power to run it all.

 

Remember, bring the hay off the loft down to the floor where it can be enjoyed by all. Thats

the goal of an applications note and good writer.

 

Cheers from Southern California

 

:pilotfly:

Link to comment
Share on other sites

@Peter,

 

So SoftTH isnt just for "triple head to go" hardware configurations only...

In the dummies guide, it mentions this, but does not go further:

"SoftTH NEWS

– ain-sightoverviewaboutSofTH.SoftTHisdonation-wareandletyoudowhatthe big GPU company's don't allow you to do or only at high costs.

SoftTh let you render every monitor combination at High FPS in full-screen mode. You can even Mix SoftTH with AMD-Eyefinity and/or TH2GO,NVIDIA-Surround ! Especially interesting for DCS. -SoftTH let you use full-screen Mode If you export MDFS/ABRIS ect. on additional screens . You are not forced to use Windowed mode any more.

Even Helios is working with DCS in Fullscreen on all secondary heads. And Yes , it will gain your performance!"

 

these links get into the details, spread out in long customer support like threads (you've earne you right to be cheeky)

http://forums.eagle.ru/showthread.php?t=71710

http://forums.eagle.ru/showthread.php?t=69791&page=4

there's alot to read through in these threads, including what dlls you need and where they go.

Do you intent to augment your dummies guide's to condense this into one application's note, or is that for another

Not-so-dummies-guide follow on project? This would be what I'd be interested in.

It appears that SoftTH could be used to run any sim in full screen mode, as long as the sim has what to support it?

 

 

What do you think about Oates' CoordManipUlator script? (Have you tried it)

http://forums.eagle.ru/showpost.php?p=1086335&postcount=10


Edited by AV8R
Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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