Jump to content

Recommended Posts

Posted

Hey guys, I've searched all over to find a straight forward way to use a usb powered monitor to display the Shkval with no success. From the suggestions I read, I need to make the resolution of my primary monitor the same resolution of my secondary monitor (being 800x600).. which isnt practical at all. Are there any suggestions and/or guides I can follow or is it really that big of a pain?

Posted (edited)

It took me a while to figure out how to change both lua files to work with my dual monitor setup. Here's how I did it - hopefully it will help.

 

My monitors

- Primary, 1920 x 1080

- Secondary, 1680 x 1050

 

Screen resolution config in Windows

monitors.jpg

Make sure they're aligned - primary at [0,0] and secondary at [0,height of primary]. If you put them side by side (my default is primary on the right and secondary on the left), then text commands during flight will overlap and you won't be able to read them :(

 

options.lua

- "multiMonitorSetup" - make sure you enter the setup name used in monitor setup file. In my case it's "my_setup2".

- "aspect" is based on your primary monitor.

- "width" is from your primary as well.

- " height" is the total of primary plus secondary, so in my case: 1080+1050=2130.

- "resolution" is from primary as well.

 

["graphics"] =

{

["multiMonitorSetup"] = "my_setup2",

["color"] = "32",

["heatBlr"] = 1,

["scenes"] = "high",

["water"] = 3,

["fullScreen"] = false,

["visibRange"] = "High",

["aspect"] = 1.777777778,

["textures"] = 2,

["shadows"] = 3,

["effects"] = 3,

["width"] = 1920,

["lights"] = 2,

["height"] = 2130,

["civTraffic"] = 1,

["resolution"] = "1920x1080",

["haze"] = 1,

}, -- end of ["graphics"]

My monitor setup file

- "name" - make sure the name you use here is unique and used in options.lua file. In my case it's 'my_setup2'.

- "height" is from your primary display.

- "aspect" from primary as well (1920 / 1080 = 1.7777778 ).

 

Shkval:

- x = 0

- y = height of your primary display.

- width = first I tried to enter half of the width of my secondary but it didn't work for some reason. So I started experimenting with values and finally discovered that - in my specific case - 840 is 50% of the width. No idea why but it works.

 

ABRIS:

- x = width of Shkval

- y = height of your primary display.

- width = should be the same as width of Shkval. This way they'll share the secondary display 50% each.

 

_ = function(p) return p; end;

name = _('my_setup2');

Description = 'Shkval on the left monitor,ABRIS on the right and camera on the center';

Viewports =

{

Center =

{

x = 0;

y = 0;

width = screen.width;

height = 1080;

viewDx = 0;

viewDy = 0;

aspect = 1.777777778;

}

}

 

Shkval =

{

x = 0;

y = 1080;

width = 840;

height = 1050;

}

 

ABRIS =

{

x = 840;

y = 1080;

width = 840;

height = 1050;

}

Good luck! Edited by Newbie
  • Like 1
Posted

Tango thanks for the detail.

 

I wonder that if can i use that system with su25t in FC2? Since it is BS based code i've already managed to build options.lua and it is working but i think "schval" in my_setup2 didnt defined as general variable.

 

At least so far i couldnt do it. Is there a luck?

Is anybody know schval display's coordinate detail file in FC2?

I'll try to copy displayed view onto screen no 2.

 

Thanks...

  • Recently Browsing   0 members

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