Jump to content

Shkval+Abris on second monitor


Yurgon

Recommended Posts

I just set up a 2 monitor solution for BS2 and it works great. The only problem is that my Shkval+Abris monitor is physically located to the left of the main monitor:

yurgon_dual_monitor.png.c92c742f551f3e0012f0453948bc5dab.png

 

I'm aware that MadTommy explicitly stated this kind of setup might cause problems. But before moving stuff around on my desk, I'd like to see if there ain't another solution.

 

So methinks I should set the Shkval to an x-position of -1280 and Abris to -640, but that doesn't work, they don't show at all. In order to get it to work, I have to move the small monitor to the right in Windows (and adjust Shkval and Abris x-positions to 1920 and 2560 respectively), which as you can probably understand makes my brain hurt (unless I physically moved the monitor, too).

 

Hints or solutions, anyone? For instance, I haven't tried SoftTH yet because from what I've read that tool isn't designed to address my problem, though people seem to have solved similar problems with it.

 

Camera+Abris_Shkval.lua (the one that doesn't work):

 

_  = function(p) return p; end;
name = _('Shkval/Abris + Camera');
Description = 'Abris and Shkval on the left monitor, camera on the right'
Viewports =
{
    Center =
    {
         x = 0;
         y = 0;
         width = 1920;
         height = 1200;
         viewDx = 0;
         viewDy = 0;
         aspect = 16/10;
    }
}

LEFT_MFCD =
{
    x = -1280;
    y = 200;
    width = 640;
    height = 480;
}

RIGHT_MFCD =
{
    x = -640;
    y = 200;
    width = 640;
    height = 829;
}

UIMainView = Viewports.Center

 

options.lua:

 

 

options = 
{
   ["difficulty"] = 
   {
       ["padlock"] = false,
       ["easyRadar"] = false,
       ["miniHUD"] = false,
       ["birds"] = 0,
       ["optionsView"] = "optview_allies",
       ["permitCrash"] = false,
       ["immortal"] = false,
       ["easyCommunication"] = false,
       ["map"] = true,
       ["radio"] = false,
       ["labels"] = false,
       ["tips"] = false,
       ["cockpitLanguage"] = "english",
       ["units"] = "metric",
       ["easyFlight"] = false,
       ["altTrimmingMethod"] = false,
       ["externalViews"] = true,
       ["iconsTheme"] = "russian",
       ["fuel"] = false,
       ["weapons"] = false,
       ["setGlobal"] = true,
       ["geffect"] = "realistic",
   }, -- end of ["difficulty"]
   ["graphics"] = 
   {
       ["multiMonitorSetup"] = "camera+abris_shkval",
       ["color"] = "32",
       ["heatBlr"] = 1,
       ["scenes"] = "high",
       ["water"] = 0,
       ["fullScreen"] = false,
       ["visibRange"] = "High",
       ["treesVisibility"] = 9000,
       ["aspect"] = 2.6666666666667,
       ["haze"] = 1,
       ["shadows"] = 2,
       ["TranspSSAA"] = true,
       ["textures"] = 2,
       ["cockpitShadows"] = true,
       ["lights"] = 2,
       ["effects"] = 3,
       ["MSAA"] = 2,
       ["height"] = 1200,
       ["sync"] = true,
       ["shadowTree"] = true,
       ["civTraffic"] = "",
       ["width"] = 3200,
       ["clutterMaxDistance"] = 101,
       ["HDR"] = 0,
   }, -- end of ["graphics"]
   ["views"] = 
   {
       ["cockpit"] = 
       {
           ["mirrors"] = false,
           ["reflections"] = false,
           ["russianHud"] = false,
           ["avionics"] = 1,
       }, -- end of ["cockpit"]
   }, -- end of ["views"]
   ["sound"] = 
   {
       ["world"] = 0,
       ["radioSpeech"] = true,
       ["cockpit"] = 0,
       ["volume"] = 0,
       ["headphones"] = 0,
       ["music"] = -100,
       ["subtitles"] = true,
       ["gui"] = 0,
   }, -- end of ["sound"]
   ["miscellaneous"] = 
   {
       ["Coordinate_Display"] = "Lat Long",
       ["accidental_failures"] = false,
       ["headmove"] = true,
       ["force_feedback_enabled"] = false,
       ["f5_nearest_ac"] = true,
       ["f11_free_camera"] = true,
       ["synchronize_controls"] = true,
       ["f10_awacs"] = true,
   }, -- end of ["miscellaneous"]
} -- end of options

 

 

Link to comment
Share on other sites

It will work with SoftTH

I've never heard of negative numbers being used before... Think of where -640 is in relation to 0 and it is easy to see why your Shkval does not show.

Your main monitor allways starts at [0,0], so if you have a monitor that is left to it, then it will have negative X coordinates. If you have a monitor that is up, then the monitor will have negative Y coordinates.

In the time you took to write this post you could have moved your two monitors and been done with it.

That's not allways possible because of situation on the desk. i.e I need my main monitor to be right-most, because there is no room left right from it, and as the table is L shaped, I cannot move my chair to sit infront of the left one.

Link to comment
Share on other sites

It will work with SoftTH

 

I second that! SoftTH is perfectly made for re-arranging the output of the monitors!

 

I haven't tried SoftTH yet because from what I've read that tool isn't designed to address my problem

Where did you read this?!


Edited by PeterP

Link to comment
Share on other sites

Following is a solution that will give you the wanted render without the need to rearrange your monitors.

 

Your config.SoftTHconfig for 2.08b

 

[main]
renderResolution=3200x1200
nonlocalFormat=RGB16D
keepComposition=0
; if you want to use helios - set "keepComposition=1"  - this will switch on aero
; but leave it off when not. will higher SoftTH performance.
smoothing=0
debugD3D=0
zClear=0
; leave zClear=0 (off) - 1 will produce a graphic-bug while in NVG on !
vsync=0
tripleBuffer=0
screenshotFormat=jpg
dllPathD3D9=auto
dllPathDXGI=auto
dllPathD3D11=auto

[overrides]
forceResolution=0
antialiasing=0
processAffinity=1
FOVForceHorizontal=0
FOVForceVertical=0

[debug]
compatibleIB=0
compatibleTex=0
compatibleVB=0
enableVBQuirk=1

[head_primary]
sourceRect=1280,0,1920,1200
screenMode=1920x1200

[head_1]
; Abris/Skvahl
devID=1
sourceRect=0,176,1280,1024
transportResolution=1280x1024
transportMethod=auto
noSync=0
fpsLimit=0

 

Your new Camera+Abris_Shkval.lua (that will work together with the SoftTHconfig above)

 

_  = function(p) return p; end;
name = _('Shkval/Abris + Camera');
Description = 'Abris and Shkval on the left monitor, camera on the right'
Viewports =
{
    Center =
    {
         x = 1280;
         y = 0;
         width = 1920;
         height = 1200;
         viewDx = 0;
         viewDy = 0;
         aspect = 1.6;
    }
}

LEFT_MFCD =
{
    x = 0;
    y = 176;
    width = 640;
    height = 480;
}

RIGHT_MFCD =
{
    x = 640;
    y = 176;
    width = 640;
    height = 829;
}

UIMainView = Viewports.Center  

 

 

 

Leave you options.lua as it is and set to fullscreen in-game!

 

 

Use also attached focus.png to prevent that the NVG image is stretched over both monitors.

Put it in

Eagle Dynamics\DCS Black Shark 2\Bazar\Effects\PostMotionEffect\NightVisionGoogle

and make a backup of the default!

 

NVG-edit.png

 

Learn how to edit your own focus.png >>> Triple-head/Multi-Monitor GUI and NVG Fix

Learn more about SoftTH (and read the Readme!!!) >>> SoftTH NEWS

focus.thumb.png.d88131905be98f3cd3f8b065b47fc9be.png


Edited by PeterP

Link to comment
Share on other sites

Multimonitors solved!!!

greetings Zoomboy and anyone else who wants to run in multimonitors

Two things needed first, grant yourself full permissions as admin. Change default windows setting of 'Hide Files' to 'see files'(this is where the Options.lua is that nobody can find)

ALL THIS TO BE WRITTEN IN 'NOTEPAD++'

I have two monitors, centre, 1920x1080 and right monitor 1280x1024, the top left hand corner of the centre one is 0.0.

calculate how you want screens to look then put pixel numbers and name of setup in 'multimonitor setup.lua' (thats found in c\progamefiles86\eagledynamics\ka50\config\monitorsetup

 

here's mine

Description = 'Shkval and ABRIS on the right monitor, camera on the centre monitor'

Viewports =

{

Center =

{

x = 0;

y = 0;

width = 1920;

height = 1080;

viewDx = 0;

viewDy = 0;

aspect = 1.77;

}

}

ABRIS =

{

x = 1920; -- starts at the left of the secondary screen, 1920

y = 0;

width = 640; -- half the secondary screen pixel width

height = 1024; -- full height of secondary screen

}

Shkval =

{

x = 2560; -- as the Shkval starts at the second half of the right monitor

y = 0;

width = 640; -- half of 1024, the secondary monitor width

height = 512; -- to keep aspect correct, half height of secondary monitor

 

(thanks to Stuartson for the wording)

now go to c\progamefiles86\eagledynamics\blackshark\data\scrips\options.lua

and add yor settings here's mine

["graphics"] =

{

["multiMonitorSetup"] = "camera+ABRIS+Shkval",

["color"] = "32",

["heatBlr"] = 0,

["scenes"] = "medium",

["water"] = 2,

["fullScreen"] = false,

["visibRange"] = "Medium",

["aspect"] = 2.96296,

["textures"] = 1,

["shadows"] = 2,

["display_mode"] =

{

["avi"] =

{

["bpp"] = 32,

["resolution"] = "640x480",

["full_screen"] = false,

["aspect"] = 1.333333333,

["height"] = 480,

["width"] = 640,

}, -- end of ["avi"]

}, -- end of ["display_mode"]

["effects"] = 3,

["lights"] = 2,

["haze"] = 1,

["terrPrld"] = "20",

["height"] = 1080,

["resolution"] = "3200x1080",

["civTraffic"] = 0,

["width"] = 3200,

}, -- end of ["graphics"]

Now go to c\users\your name\appdata\local\virtualstore\programefiles(86)eagledynamics\ka\options.lua

put details in.

here's mine

 

["graphics"] =

{

["multiMonitorSetup"] = "1camera",

["color"] = "32",

["heatBlr"] = 1,

["scenes"] = "high",

["water"] = 3,

["fullScreen"] = false,

["visibRange"] = "High",

["aspect"] = 1.7777777777778,

["textures"] = 2,

["shadows"] = 3,

["display_mode"] =

{

["avi"] =

{

["bpp"] = 32,

["resolution"] = "640x480",

["full_screen"] = false,

["aspect"] = 1.333333333,

["height"] = 480,

["width"] = 640,

}, -- end of ["avi"]

}, -- end of ["display_mode"]

["effects"] = 3,

["lights"] = 2,

["haze"] = 1,

["terrPrld"] = "20",

["height"] = 1080,

["resolution"] = "1920x1080",

["civTraffic"] = 1,

["width"] = 3200,

}, -- end of ["graphics"]

} -- end of options

thats it! if you keep this file open and change cockpit options in game you can see the changes!!

sceenshots and photos

http://i281.photobucket.com/albums/kk224/VampyreMaster/2screenNVG.jpg

http://i281.photobucket.com/albums/kk224/VampyreMaster/Image4.jpg

http://i281.photobucket.com/albums/kk224/VampyreMaster/cockpit1.jpg

http://i281.photobucket.com/albums/kk224/VampyreMaster/dt1.jpg

http://i281.photobucket.com/albums/kk224/VampyreMaster/dt2.jpg

 

this works for me in v101

good flying Vampyre

a your own risk of course!!


Edited by colin
Link to comment
Share on other sites

You haven't read the OP well. His setup is opposite - his right monitor is his main monitor, that he wants to use for main view. It's his main monitor in windows (the only one that has a taskbar)

It has 0,0 as it left-up corner.

He now wants to use the left monitor for ABRIS+Shkval, for that the sim would have to support -1280,0 as a valid coordinate, as that's the poisition of his left-up corner on the left monitor, but it doesn't.

I too would love for the sim to work with negative coordinates, because having the right physical monitor set-up as a left one in windows is a bit confusing. And I cannot run softth for other reasons.

Link to comment
Share on other sites

Where did you read this?!

The introduction on the SoftTH main page made it sound like it was intended for a somewhat different purpose ("SoftTH allows using three monitor "triplehead" with Direct3D 8 and 9 games without special hardware.").

 

Following is a solution that will give you the wanted render without the need to rearrange your monitors.

 

Wooohooow, works like a charm! Thx a lot, PeterP! I'd rep you again, but the forum won't let me ("You must spread some Reputation around before giving it to PeterP again.").

 

WinZ and colin, thx for the input as well.

Link to comment
Share on other sites

I've never heard of negative numbers being used before... Think of where -640 is in relation to 0 and it is easy to see why your Shkval does not show.

 

In the time you took to write this post you could have moved your two monitors and been done with it.

 

I don't mean to be rude, but don't you have better things to do? I clearly stated I prefer a software solution, and I didn't go into any detail because it really doesn't matter why I'd like the monitors to remain positioned where they are, the important thing is that I do. I fail to see how your remark is supposed to help/advance/assist this thread or my knowledge or anyone else seeking help with a comparable setup in any way.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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