Professional Documents
Culture Documents
Tutorial Multimonitor Version 3.1 ENG
Tutorial Multimonitor Version 3.1 ENG
CONFIGURATION TUTORIAL
FOR DCS-WORLD
TRANSLATED BY ESA_JAZZ
www.CruzdeSanAndres.com
Introduction:
In order to attend the high number of questions regarding the multi-screen configuration,
mainly for the DCS-A10, I’m writing this tutorial which I expect it clears any doubts to set any
REQUIREMENTS:
The requirements are:
2º A second screen. Doesn’t matter if this second monitor has or not the same resolution as
the main screen. For this tutorial I’ll use a main monitor of 23” with a resolution of 1920x1080
4º This one is optional for a better result: purchase the Thustmaster MFD Cougar frames.
Once we meet this requirements, we make a backup copy of our current files that we need to
monitor configuration file. This file can be based in one of the files located in the path
www.CruzdeSanAndres.com Página 2
THINGS TO KEEP IN MIND:
First of all, we need to know that screen resolutions are measured in pixels in height and
in width. These resolutions have an aspect ratio which is obtained by dividing width by height.
Therefore:
Second, we need to keep in mind is every pixel is pretty much equivalent to 1 millimeter (mm).
So in order to simulate our job with the screens we can use “metered paper” and draw our screens
Third, on our drawing we need to stablish coordinates on the corners of our simulated screens.
• The left upper corner will have the coordinate 0,0 and on the lower right corner the coordinate
• The coordinates for the auxiliar monitor will be on the upper left corner 1920, 0 (we need to
add the pixels width of the first monitor) and for the lower right corner the coordinates will be
3200, 1024 (adding also the pixel width of the main monitor to the second)
MAIN AUXILIAR
MONITOR MONITOR
www.CruzdeSanAndres.com Página 3
• In case we have on our operating system graphic configuration the auxiliar monitor
placed at the left of the main monitor, the coordinates change. We need to keep this in mind
when we configure them. I’ll leave you an example of how that would be:
AUXILIAR MAIN
MONITOR MONITOR
0,1024 1280, 1024
1280,1080 3200, 1080
• there’s also a chance that we have decided that in the graphic configuration of our OS,
the monitors are on top of each other. The coordinates would be:
0,0 1920, 0
MAIN
MONITOR
0,1080 1920, 1080
0,1080 1280,1080
AUXILIAR
MONITOR
0,2104 1280, 2104
Finally, whoever has the Thrustmaster MFD Cougar, the resolution within the frames is
417x417 pixels.
www.CruzdeSanAndres.com Página 4
EDITING THE *.LUA FILE:
Having seen the previous points, I will explain below what is the meaning of each line in the
* .lua file for the multi-monitor:
_ = function(p) return p; end; -- This line does not have to be modified since is the one that
designates the file functionality.
name = _(‘MFCD’); -- Name of the configuration file that we’ll see in the sim options
Description = ‘Left MFCD on the left monitor,Right MFCD on the right and camera on the
center’ -- Describes the file itself. It doesn’t have any other function but do not erase it, just in
case.
Viewports = --Views to be projected.
{
Center = -- VView that will be projected. Center is always the cockpit view
{
x = screen.width / 3; -- X coordinate of the upper left corner that is intended to project.
y = 0; -- Y coordinate of the upper left corner that is intended to project.
width = screen.width / 3; --Width of the view that we want to project. In this case the
width of the main screen.
height = screen.height; --Height of the view that we want to project. In this case, the
main screen’s height.
viewDx = 0; -- Just in case you want to deform the image horizontally adding a bit of a
zoom..
viewDy = 0; -- Just in case you want to deform the image vertically adding a bit of a
zoom. aspect = screen.aspect / 3; --Aspect ratio that the view will have. It’s obtained
dividing width by height. In this case 1920/1080.
}
}
LEFT_MFCD = --Name of the view to be represented. In this case, left MFCD..
{
x = 0; -- X coordinate of the upper left corner to be projected. It’s located in the right
monitor.
y = 0; -- Y coordinate of the upper left corner to be projected
width = screen.width / 3; --View width that we want to project. In this case, left MFCD.
height = screen.height; --View height that we want to project. I this case, left MFCD.
}
RIGHT_MFCD = --Name of the view to be represented. In this case, right MFCD.
{
x = screen.width *(2/ 3); -- X coordinate of the upper left corner to be projected. It’s
located in the right monitor.
y = 618; -- Y coordinate of the upper left corner to be projected..
width = screen.width / 3; --View width that we want to project. In this case, right
MFCD..
height = screen.height; --View height that we want to project. I this case, right MFCD
}
UIMainView = Viewports.Center --In order for the text to be projected in the main monitor
which is the one that will show the cockpit.
www.CruzdeSanAndres.com Página 5
Now, we are going to manage the cameras the way we want to do it. We’ll need a piece of
Personally, I think that the first option it’s much easier. To make it correctly, draw a picture of
your screen configuration according the pictures of pages 3 and 4 of this pdf, and next to it, another
piece of paper with the basic lines of the last page box, without any information after the “=” signs.
Then once you’re getting an idea of the MFCD positions, you can start adding the coordinates and
the sizes to those lines. Very important, remember to place the character “;” after the numbers to
Once you get it, you should have a few lines like this: (for example the cockpit view)
Viewports =
{
Center =
{
x = 0;
y = 0;
width = 1680;
height = 1050;
viewDx = 0;
viewDy = 0;
aspect = 1.6;
}
}
And for the MFCD and/or other instruments that we want to export:
LEFT_MFCD =
{
x = 1680;
y = 618;
width = 417;
height = 417;
}
RIGHT_MFCD =
{
x = 2554;
y = 618;
width = 417;
height = 417;
}
After configuring the MFCD we’re going to add the last file line. This line is the one that will
make text to appear only in the cockpit monitor and not in the secondary monitor. Or even more
www.CruzdeSanAndres.com Página 6
annoying, to avoid that text appears spread on both monitors.
UIMainView = Viewports.Center
Next, we need to see how or created file works, we need to save it in the monitor configuration
folder. Remember that by default it’s located in: C:\Users\”your username”\Saved Games\DCS\
Config\MonitorSetup.
After saving it, start the simulator, go to “options”, “graphics” menu. We’re going to work in
the options of RESOLUTION, ASPECT RATIO, MONITORS and FULL SCREEN. In DCS World it’s
In the RESOLUTION option, write the total resolution of the monitors. This means that we
need to add the width of both monitors. In our example, we would add 1920 plus 1280.
Whilst height will be the highest of both monitors. In our example 1080.
But let’s suppose that we have a monitor on top of each other. In that scenario the width
would be the widest of both monitors (1920) and the height would be the addition of both heights.
(1080 + 1024).
We need to make sure that FULL SCREEN option is NOT marked and also unmark DISABLE
AERO INTERFACE.
Regarding the ASPECT RATIO don’t modify the numbers that appear, since the own simulator
makes the math according to the resolution that we have written. In our example, with a resolution
www.CruzdeSanAndres.com Página 7
We have finishing configuring our monitors. Now we are going to export other instruments.
There are a number of instruments that can be exported from the different DCS modules to
another monitor. Those instruments have to be digital. Here is a list of those instruments by module:
• PUI-800
• Luces de aviso
• Ekran
• UV-26
2. A-10C:
www.CruzdeSanAndres.com Página 8
• CDU
• Reloj digital
• RWR
• CMSC
• Frecuencia UHF
• Preset UHF
• Repeater UHF
3. A-342 Gazelle:
• Pantalla TV
• RWR
• NADIR
• WP1
• AMPCD (CENTER_MFCD)
• RWR
• IFEI
• UFC
6. F-14A/B
• RWR
• ElectronicCounterMeasureDisplay (F14_ECMD)
www.CruzdeSanAndres.com Página 9
HOW TO EXPORT OTHER INSTRUMENTS.
To export those instruments, we need to modify the next list of files, and therefore make sure
In DCS: Ka50 Black Shark2 we can export, other than the ABRIS and the SHKVAL, the
• PUI800: You’ll need to modify the PUI_800_init.lua file located in the following path:
CMSC\Indicator.
• EKRAN: You ‘ll need to modify the EKRAN_init.lua file located in the folder: C:\Program
indicator.
• Caution Lights: You’ll need to modify the CautionLights_panel.lua located in the folder:
Caution_lights_indicator.
• UV-26: You’ll need to modify the UV_26_init.lua file located in the folder: C:\Program
Besides the MFCD, in the A10C, you can export the following digital instruments without
• AN/ALR-69: You’ll need to modify the AN_ALR-69V_init.lua located in the folder: C:\
Program Files\Eagle Dynamics\DCS WORLD\Mods\aircraft\A-10C\Cockpit\AN_
ALR60V\indicator.
• CDU: You’ll need to modify the CDU_init.lua file located in the folder: C:\Program Files\
• Digital Clock: You’ll need to modify the DIGIT_CLK_init.lua located in the folder:
DigitalClock\indicator.
• UHF Repater: You’ll need to modify the repeater_init.lua file located in the folder: C:\
www.CruzdeSanAndres.com Página 10
Radio\indicator.
• UHF Preset Channel: You’ll need to modify the preset_init.lua file located in the folder:
Radio\indicator.
• UHF frequency status: You’ll need to modify the freq_status_init.lua file located in the
UHF_Radio\indicator.
• CMSP: You’ll need to modify the CMSP_init.lua located in the folder: C:\Program Files\
• CMSC: You’ll need to modify the CMSC_init.lua located in the folder: C:\Program Files\
You can’t export any instrument by default in this module if you don’t modify before the
following files. Nevertheless, we’re still investigating a way to export the screens with the radio
frequency.
• TV Screen: You’ll need to modify the init.lua file located in the folder: C:\Program files\
Dynamics\DCS WORLD\Mods\aircraft\SA342\Cockpit\RWR\indicator.
• NADIR: You’ll need to modify the init.lua file located in the folder: C:\Program files\
Dynamics\DCS WORLD\Mods\aircraft\SA342\Cockpit\WP1\indicator.
In order to export the multifunction displays or MPCD of the Harrier, you need to activate
the “display export option” inside the simulator. Enter in the Harrier cockpit and press the key
combination: LAlt + LCtrl + (right arrow) for the right MPCD. For the left MPCD the key combination
is LAlt + LCtrl + (left arrow). But there is a problem by doing this. It always exports both MPCD to
the same secondary monitor. To correct this issue, we need to modify a couple files. This will allow
www.CruzdeSanAndres.com Página 11
• Left MPCD: You need to modify the MPCDL_init.lua located in the folder: C:\Program
• Right MPCD: You need to modify the MPCDR_init.lua located in the folder: C:\Program
With this module happens, exactly the same, as with the Gazelle. It’s not possible to export
any of the instruments or displays without doing a modification in the following files:
• Left MDI: You need to modify the MDI_left_init.lua located in the folder: C:\Program Files\
Display_Group\MDI_IP1556A\indicator.
• Right MDI: You need to modify the MDI_right_init.lua located in the folder: C:\Program Files\
Display_Group\MDI_IP1556A\indicator.
• AMPCD: You need to modify the AMPCD_init.lua file located in the folder: C:\Program Files\
Display_Group\AMPCD\indicator.
• RWR: You need to modify the RWR_ALR67_init.lua file located in the folder: C:\
Program Files\Eagle Dynamics\DCS WORLD\Mods\aircraftF18C\Cockpit\Scripts\
TEWS\indicator.
• IFEI: You need to modify the IFEI_init.lua file located in the folder: C:\Program Files\Eagle
Dynamics\DCS WORLD\Mods\aircraftF18C\Cockpit\Scripts\IFEI\indicator.
• UFC: You need to modify the UFC_init.lua file located in the folder: C:\Program Files\
In the F-14 A/B all the digital instruments are ready to export except the RWR
• RWR: You need to modify the init.lua file located in the folder: C:\Program Files\Eagle
RWR\indicator\RIO.
www.CruzdeSanAndres.com Página 12
Once located the file, back up the original, open it and next to the line:
dofile(LockOn_Options.common_script_path..”ViewportHandling.lua”)
try_find_assigned_viewport(“NAME ASSIGNED TO THE INSTRUMENT CAME-
RA”)
www.CruzdeSanAndres.com Página 13