Jump to content

Recommended Posts

Posted

So I had this set up like 4 years ago many many versions ago. But recently wanted to use my Usb 7" monitor to export my Gazelle TV image to.

 

So I got the LUA working ok to export the image...for now I put it mostly on my main screen. But I'm having issues getting things to work together.

 

So I use one monitor which is 1920*1080. My USB monitor resolution is at 800X480. So I though I just change my resolution to 1920*1560 since my USB is to the bottom and left side. But then it changes the whole menu screen and everything else to that resolution and I can't see the whole bottom of the screen. So I have to change the resolution back to 1920X1080.

 

So how do I tell it to use 1920X1080 for the menu screen and ME....and switch to 1920X1560 for flight resolution?

Coder - Oculus Rift Guy - Court Jester

Posted

Add the following to the end of your monitor config

 

UIMainView = Viewports.Center

 

Hope this helps

"Yeah, and though I work in the valley of Death, I will fear no Evil. For where there is one, there is always three. I preparest my aircraft to receive the Iron that will be delivered in the presence of my enemies. Thy ALCM and JDAM they comfort me. Power was given unto the aircrew to make peace upon the world by way of the sword. And when the call went out, Behold the "Sword of Stealth". And his name was Death. And Hell followed him. For the day of wrath has come and no mercy shall be given."

Posted
So I had this set up like 4 years ago many many versions ago. But recently wanted to use my Usb 7" monitor to export my Gazelle TV image to.

 

So I got the LUA working ok to export the image...for now I put it mostly on my main screen. But I'm having issues getting things to work together.

 

So I use one monitor which is 1920*1080. My USB monitor resolution is at 800X480. So I though I just change my resolution to 1920*1560 since my USB is to the bottom and left side. But then it changes the whole menu screen and everything else to that resolution and I can't see the whole bottom of the screen. So I have to change the resolution back to 1920X1080.

 

So how do I tell it to use 1920X1080 for the menu screen and ME....and switch to 1920X1560 for flight resolution?

Roie, make sure your monitor config file has this line in it, this will confine the GUI to the main monitor.

 

GUI =
{
x = 0;
y = 0;
width = 1920;
height = 1080;
}

Intel 9600K@4.7GHz, Asus Z390, 64GB DDR4, EVGA RTX 3070, Custom Water Cooling, 970 EVO 1TB NVMe

34" UltraWide 3440x1440 Curved Monitor, 21" Touch Screen MFD monitor, TIR5

My Pit Build, Moza AB9 FFB w/WH Grip, TMWH Throttle, MFG Crosswinds W/Combat Pedals/Damper, Custom A-10C panels, Custom Helo Collective, SimShaker with Transducer

Posted

So I changed my resolution to 1920*1560 and modified the config file as such:

 

_  = function(p) return p; end;
name = _('TV');
Description = 'One monitor configuration'
Viewports =
{
    Center =
    {
         x = 0;
         y = 0;
         width = screen.width;
         height = screen.height;
         viewDx = 0;
         viewDy = 0;
         aspect = screen.aspect;
    }

}
SA342_TV =
{
x = 10;
y = 1100;
width = 540;
height = 540;
	}
UIMainView = Viewports.Center

 

When I launch the sim it still treats the USB as part of the screen so some of the main menu screen goes down there. Also when I go into options windows I have to move my USB window to the center so I can actually click on ok. Am I still missing something?

 

Add the following to the end of your monitor config

 

UIMainView = Viewports.Center

 

Hope this helps

Coder - Oculus Rift Guy - Court Jester

Posted

Your Y coordinates are off. You have it starting at 1100. But you said it was in the lower left, corner, right? So the Y should be 1080.

 

The fact that you want to project the image 20 pixels in is immaterial.

 

Look at my LEFT MFCD config here.

hsb

HW Spec in Spoiler

---

 

i7-10700K Direct-To-Die/OC'ed to 5.1GHz, MSI Z490 MB, 32GB DDR4 3200MHz, EVGA 2080 Ti FTW3, NVMe+SSD, Win 10 x64 Pro, MFG, Warthog, TM MFDs, Komodo Huey set, Rverbe G1

 

Posted
So I changed my resolution to 1920*1560 and modified the config file as such:

 

_  = function(p) return p; end;
name = _('TV');
Description = 'One monitor configuration'
Viewports =
{
    Center =
    {
         x = 0;
         y = 0;
         width = screen.width;
         height = screen.height;
         viewDx = 0;
         viewDy = 0;
         aspect = screen.aspect;
    }

}
   SA342_TV =
   {
   x = 10;
   y = 1100;
   width = 540;
   height = 540;
       }
UIMainView = Viewports.Center

When I launch the sim it still treats the USB as part of the screen so some of the main menu screen goes down there. Also when I go into options windows I have to move my USB window to the center so I can actually click on ok. Am I still missing something?

Add the line I posted above and also confine the center to 1080 instead of screen.height;.

Intel 9600K@4.7GHz, Asus Z390, 64GB DDR4, EVGA RTX 3070, Custom Water Cooling, 970 EVO 1TB NVMe

34" UltraWide 3440x1440 Curved Monitor, 21" Touch Screen MFD monitor, TIR5

My Pit Build, Moza AB9 FFB w/WH Grip, TMWH Throttle, MFG Crosswinds W/Combat Pedals/Damper, Custom A-10C panels, Custom Helo Collective, SimShaker with Transducer

Posted

My monitors are main 1920x1080 and 2 800x600 usb monitors placed landscape, left and right bottom of the main. This makes my total resolution 1920x1680.

These are my monitor config settings,

 

Viewports =

{

Center =

{

x = 0;

y = 0;

width = 1920;

height = 1080;

aspect = 1.7777777777777777777777777778;

 

 

SA342_TV =

{

x = 1065;

y = 1100;

width = 540;

height = 540;

}

 

NADIR =

{

x = 10;

y = 1100;

width = 540;

height = 540;

}

 

GazelleRWR =

{

x = 10;

y = 1100;

width = 540;

height = 540;

}

 

 

 

This places the tv on the right lower usb monitor and NADIR and RWR on the left.

 

See if this helps

"Yeah, and though I work in the valley of Death, I will fear no Evil. For where there is one, there is always three. I preparest my aircraft to receive the Iron that will be delivered in the presence of my enemies. Thy ALCM and JDAM they comfort me. Power was given unto the aircrew to make peace upon the world by way of the sword. And when the call went out, Behold the "Sword of Stealth". And his name was Death. And Hell followed him. For the day of wrath has come and no mercy shall be given."

Posted

Maybe you could try this or experiment from here. In your case I would make something like:

_  = function(p) return p; end;
name = _('TV');
Description = 'One monitor configuration'
Viewports =
{
    Center =
    {
         x = 0;
         y = 0;
         width = 1920;
         height = 1080; -- then the DCS game menu uses this
         viewDx = 0;
         viewDy = 0;
         aspect = 1920 / 1080; -- then the DCS game menu uses this
    }

}
SA342_TV =
{
x = 0;
y = 1080; -- then the 7" monitor starts below the main screen
width = 1920; --you want 800 but probably behaves weird
height = 480;
viewDx = 0;
viewDy = -1.3495; --view position downwards in some index number (should be -1 but works weird on my side)
aspect = 1920 / 480;
}
UIMainView = Viewports.Center

 

 

Make sure your resolution in the DCS option menu is 1560 =(1080 + 480) and in windows the monitor setup is comparable with what you try to execute. I Hope you can then export the tv image on some position in the 7" screen with the .lua.

 

 

:)

Posted

Go it working...the trick was giving the center the actual info:

 

     Center =
    {
         x = 0;
         y = 0;
         width = 1920;
         height = 1080;
         viewDx = 0;
         viewDy = 0;
         aspect = 1.7777; 
    }

 

My usb is 800*480 so I made the TV box 480X480 and centered it by making the x=160. So far works well. Will test more tomorrow.

Coder - Oculus Rift Guy - Court Jester

Posted

Glad you got it sorted. Just a thought, I have the tv viewport set to 540x540 so as to fit inside the mfd cougar frames. This results in the tv image being squashed slightly.

 

You could adjust the X = 480 of the tv viewport size to say 520 and the tv image would match! You may have to try different values to find the best one.

 

Have Fun!

"Yeah, and though I work in the valley of Death, I will fear no Evil. For where there is one, there is always three. I preparest my aircraft to receive the Iron that will be delivered in the presence of my enemies. Thy ALCM and JDAM they comfort me. Power was given unto the aircrew to make peace upon the world by way of the sword. And when the call went out, Behold the "Sword of Stealth". And his name was Death. And Hell followed him. For the day of wrath has come and no mercy shall be given."

Posted

Yeah I played a little with the values of the size. Since the my usb screen has a height of 480, I figured use that value. But I also set it to 800 just to make things bigger. The issue was that it cut off the bottom part as expected, but also cut the part where I see the launch indicator...so brought it back to 480X480 for now. Overall, I achieved my goal of being able to stay in the pilots seat and control the firing of weapons. Since I have all the controls I need mapped to hotas I can do everything from the right side of the copter.

 

Glad you got it sorted. Just a thought, I have the tv viewport set to 540x540 so as to fit inside the mfd cougar frames. This results in the tv image being squashed slightly.

 

You could adjust the X = 480 of the tv viewport size to say 520 and the tv image would match! You may have to try different values to find the best one.

 

Have Fun!

Coder - Oculus Rift Guy - Court Jester

Posted
Overall, I achieved my goal of being able to stay in the pilots seat and control the firing of weapons. Since I have all the controls I need mapped to hotas I can do everything from the right side of the copter.

I also have the TV exported to a lower monitor but I cannot fire missiles from the pilot seat :huh: The button makes the click sound but nothing happens unless I move to the commander seat.

Intel 9600K@4.7GHz, Asus Z390, 64GB DDR4, EVGA RTX 3070, Custom Water Cooling, 970 EVO 1TB NVMe

34" UltraWide 3440x1440 Curved Monitor, 21" Touch Screen MFD monitor, TIR5

My Pit Build, Moza AB9 FFB w/WH Grip, TMWH Throttle, MFG Crosswinds W/Combat Pedals/Damper, Custom A-10C panels, Custom Helo Collective, SimShaker with Transducer

  • Recently Browsing   0 members

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