Jump to content

Recommended Posts

Posted

Hello. I can't get Loz's Helios A-10 profile to work with the latest version of DCS. It is something to do with the various init lua files in the Scripts folder. I copied across from Loz's download the various init files, made sure the vp=ent.RWR_SCREEN et all matches the export statements in the monitor config lua file. But it crashes the game/computer. When I replace the init file again with the original init files, the game works again. It is something, I think to do with view ports. People have said make sure the new view ports of the latest version DCS are in the init files; to what are people referring? Why doesn't using Loz's init files work with the latest DCS? What are I doing wrong?

 

Very grateful for views.

 

Apoll :(

Posted

Scooternutz, thanks very much. Does your zip include the working init files? And your monitor config? I am away from computer at present, but will check asap.

 

Thanks.

 

Apoll

Posted

Yes, all the correct init files.

 

My Monitor Setup:

 

 

 

_ = function(p) return p; end;

name = _('ScooternutzTest');

Description = 'ScooterHelios'

Viewports =

{

Center =

{

x = 0;

y = 0;

width = 1920;

height = 1080;

viewDx = 0;

viewDy = 0;

aspect = 1.6;

}

}

 

RIGHT_MFCD =

{

x = 3415;

y = 40;

width = 434;

height = 434;

}

 

LEFT_MFCD =

{

x = 1914;

y = 33;

width = 439;

height = 439;

}

 

UHF_PRESET_CHANNEL =

{

x = 3336;

y = 451;

width = 40;

height = 40;

}

 

UHF_FREQUENCY_STATUS =

{

x = 5000;

y = 723;

width = 99;

height = 19;

}

 

UHF_REPEATER =

{

x = 2604;

y = 722;

width = 85;

height = 23;

}

 

DIGIT_CLK =

{

x = 2445;

y = 835;

width = 101;

height = 104;

}

 

CMSP_SCREEN =

{

x = 2621;

y = 795;

width = 327;

height = 63;

}

 

CMSC_SCREEN =

{

x = 2767;

y = 149;

width = 238;

height = 53;

}

 

RWR_SCREEN =

{

x = 2439;

y = 118;

width = 257;

height = 251;

}

 

CDU =

{

x = 2724;

y = 289;

width = 326;

height = 224;

}

 

Shkval =

{

x = 1920;

y = 46;

width = 423;

height = 414;

}

ABRIS =

{

x = 3432;

y = 53;

width = 409;

height = 411;

}

PVI_SCREEN =

{

x = 1930;

y = 672;

width = 239;

height = 119;

}

UV26 =

{

x = 3674;

y = 663;

width = 141;

height = 43;

}

Gui =

{

x = 0;

y = 0;

width = 1920;

height = 1080;

}

KNEEBOARD =

{

x = 1920;

y = 46;

width = 423;

height = 414;

}

UHF =

{

x = 5674;

y = 530;

width = 130;

height = 40;

}

 

UIMainView = Gui

 

 

 

Posted

Wow! That's some system you have there. I think you have the main touchscreen UNDER you main view centre screen? Right? What's the resolution of your main touchscreen under the main centre screen?

 

Thanks again.

 

Apoll

Posted

The monitor under my big screen monitor is 1900x1200. Same with the two wing monitors. I have a little USB monitor to the left that I use for movies and TV. Getting DCS to export can be tricky but once you have the files you have the solution. A key, that is not fun, is understanding why the files work. There is also an export file that is called multiexport as a place holder. That will export for A-10 and Ka-50 without having to switch them out. Once you are steady I will PM you my batch file and you can modify it to your needs. I must warn you that if you mess the batch file up you could cause some serious problems with your DCS. If you are not comfortable editing a batch file then just do the crossovers manually.

 

This week or weekend I am going to film a start up and roll out just to give people an idea of what I have done.

Posted

Hmmm. Nothing works, Scooter. Put in your init files...made sure the names in the init files were accurate with the view ports names in the monitor config file. Checked your viewports lua file matched mine...could not detect any difference. Made sure my combined resolution was equal to the 2560 x 1600 + 1960 x 1080....etc. didn't work. At the bottom of your monitor lua file was centre viewport = GUI. Mine didn't so I copied exactly yours. I now wonder if it is the aspect ratio of the increased resolution is the problem. For a moment it worked, then failed again...with just a black screen with a few coloured blocks. It is crashing the video output...could a wrong aspect rAtio do that? Really annoying... Can you help further?

 

Apoll

Posted

Ok. Further to my last. What exactly has changed re exporting view ports with the release of 1.2.10 version of DCS? Something has; my monitor config lua that worked fine with the init luas up until this release no longer works. Can't work out what's wrong. I now think it maybe something to do with as left of my increased resolution. I have a 2560 x 1600 main monitor and on the right of that a 1920 x 1080 touch screen monitor. That makes a combined resolution for the stretched screen of 4480 x 1600. So what aspect should I be seeing in the options menu? It is full screen off, right? Helios only works in windowed mode, right?

 

Grateful views. I know that others have had problems with the latest version of DCS and Helios...can Znyone who has been through this pain help. Am desperate to get this working.

 

Regards,

 

Apoll

Posted

Further to my last, I have being doing reading, and a lot of people talk about having to rename the viewport names in the init luas to the new 1.2.10 version names that match in the monitor config lua. I think maybe, since I am using an old version monitor config lua that I have to use the new 1.2.10 viewport names? So...what are those? Thanks.

 

Apoll

Posted

Anyone? Attached is my config monitor file. Nothing works; in fact, it crashes the nvidea graphics driver. Please don't walk past...please help.

 

Desperate Apoll

 

_ = function(p) return p; end;

name = _('BigScreentest');

Description = 'Eyefinity Main Screen + HELIOS Touchscreen Interface'

Viewports =

{

Center =

{

x = 0;

y = 0;

width = 2560;

height = 1600;

viewDx = 0;

viewDy = 0;

aspect = 2560/1600;

}

}

 

RIGHT_MFCD =

{

x = 3970;

y = 119;

width = 445;

height = 445;

}

 

LEFT_MFCD =

{

x = 2630;

y = 119;

width = 445;

height = 445;

}

 

UHF_REPEATER =

{

x = 3199;

y = 695;

width = 140;

height = 30;

}

 

UHF_FREQUENCY_STATUS =

{

x = 3200;

y = 565;

width = 120;

height = 30;

}

 

UHF_PRESET_CHANNEL =

{

x = 3308;

y = 477;

width = 30;

height = 30;

}

 

DIGIT_CLK =

{

x = 3039;

y = 829;

width = 122;

height = 122;

}

 

CMSP_SCREEN =

{

x = 3635;

y = 191;

width = 275;

height = 66;

}

 

CMSC_SCREEN =

{

x = 3420;

y = 142;

width = 240;

height = 49;

}

 

RWR_SCREEN =

{

x = 3133;

y = 135;

width = 227;

height = 227;

}

 

UIMainView = Viewports.Center

Posted (edited)

try this export file

Here is my monitor config file.

 

 

_ = function(p) return p; end;

name = _('BMFCD');

Description = 'BMFCD'

Viewports =

{

Center =

{

x = 0;

y = 0;

width = 1920;

height = 1080;

viewDx = 0;

viewDy = 0;

aspect = 1.777777778;

}

}

 

ED_A10C_RIGHT_MFCD =

{

x = 3326;

y = 120;

width = 445;

height = 445;

}

 

ED_A10C_KNEEBOARD =

{

x = 100;

y = 100;

width = 300;

height = 450;

}

 

ED_A10C_LEFT_MFCD =

{

x = 1987;

y = 120;

width = 445;

height = 445;

}

 

ED_A10C_CMSC =

{

x = 2776;

y = 141;

width = 230;

height = 49;

}

 

ED_A10C_CMSP =

{

x = 2995;

y = 190;

width = 270;

height = 70;

}

 

ED_A10C_RWR =

{

x = 2520;

y = 161;

width = 175;

height = 175;

}

 

ED_A10C_CLOCK =

{

x = 2400;

y = 830;

width = 122;

height = 122;

}

 

ED_A10C_UHF_FREQUENCY_STATUS =

{

x = 2555;

y = 565;

width = 120;

height = 30;

}

 

 

ED_A10C_UHF_PRESET_CHANNEL =

{

x = 2668;

y = 477;

width = 30;

height = 30;

}

 

ED_A10C_UHF_REPEATER =

{

x = 2576;

y = 695;

width = 110;

height = 30;

}

 

UIMainView = Viewports.Center

Export.lua

Edited by sobe

Trackir4 using the latest Trackir 5 software, Win10 Pro [Creator Update] updated from Win7Pro Pro 64Bit, Intel® Core™ i5-2500 3.30 GHz 6M Intel Smart Cache LGA115 , GigaByte GA-Z68XP-UD4 Intel Z68 Chipset DDR3 16GB Ram, GTX MSI Gaming 1060 [6 GB] Video Card, Main Monitor 1 on left 1920x1080 Touchscreen Monitor 2 on right 1920x1080 .

Posted

Tks Sobe. But doesn't work. I notice you have the EN_A10C_RWR_SCREEN format, but others have just RWR_SCREEN format. I've tried both; no joy. There is no exporting taking place and it crashes the graphics driver, requiring a reboot.. Nothing but a black screen, with a couple of little solid colour blocks on the touchscreen, and no cockpit or terrain on the main centre view. So the graphics are not being rendered. I go back to a single screen, replace the script folder with my gackup, snd all works again. There is something fundamentally wrong. Has anyone got a step by step way of doing this? I am desperate to get this working.

 

I have set up Helios AFTER the update to 1.2.10. Could that be an issue? I note in the ED folder, there are script files in the Mod/Aircaft/a10 etc folder...BUT the same script files are ALSO in the Script folder under the Mod folder. Which lot of init files should I be changing; the ones in the Mod folder or the ones in the Script folder...or both?

 

Please help. I can't be the only one yo face this issue...

 

Apoll

Posted

Zip up your init files and your monitor files and attach please. I will look at them.

 

This is the file structure from my batch file FYI.

 

 

@echo off

rem copy c:\games\stuff.txt c:\"Program Files"\ /Y

copy c:\Backups\DCS_BACKUPS\ABRIS_init.lua c:\"Program Files\Eagle Dynamics\DCS World\Mods\aircraft\Ka-50\Cockpit\Scripts\ABRIS"\ /Y

copy c:\Backups\DCS_BACKUPS\Ekran_init.lua c:\"Program Files\Eagle Dynamics\DCS World\Mods\aircraft\Ka-50\Cockpit\Scripts\EKRAN\Indicator"\ /Y

copy c:\Backups\DCS_BACKUPS\PVI_init.lua c:\"Program Files\Eagle Dynamics\DCS World\Mods\aircraft\Ka-50\Cockpit\Scripts\PVI"\ /Y

copy c:\Backups\DCS_BACKUPS\SHKVAL_init.lua c:\"Program Files\Eagle Dynamics\DCS World\Mods\aircraft\Ka-50\Cockpit\Scripts\SHKVAL"\ /Y

copy c:\Backups\DCS_BACKUPS\UV_26_init.lua c:\"Program Files\Eagle Dynamics\DCS World\Mods\aircraft\Ka-50\Cockpit\Scripts\UV_26"\ /Y

copy c:\Backups\DCS_BACKUPS\AN_ALR69V_init.lua c:\"Program Files\Eagle Dynamics\DCS World\Mods\aircraftA-10C\Cockpit\Scripts\AN_ALR69V\Indicator"\ /Y

copy c:\Backups\DCS_BACKUPS\CDU_init.lua c:\"Program Files\Eagle Dynamics\DCS World\Mods\aircraftA-10C\Cockpit\Scripts\CDU\Indicator"\ /Y

copy c:\Backups\DCS_BACKUPS\CMSC_init.lua c:\"Program Files\Eagle Dynamics\DCS World\Mods\aircraftA-10C\Cockpit\Scripts\CMSC\Indicator"\ /Y

copy c:\Backups\DCS_BACKUPS\CMSP_init.lua c:\"Program Files\Eagle Dynamics\DCS World\Mods\aircraftA-10C\Cockpit\Scripts\CMSP\Indicator"\ /Y

copy c:\Backups\DCS_BACKUPS\DIGIT_CLK_init.lua c:\"Program Files\Eagle Dynamics\DCS World\Mods\aircraftA-10C\Cockpit\Scripts\DigitalClock\Indicator"\ /Y

copy c:\Backups\DCS_BACKUPS\freq_status_init.lua c:\"Program Files\Eagle Dynamics\DCS World\Mods\aircraftA-10C\Cockpit\Scripts\UHF_Radio\Indicator"\ /Y

copy c:\Backups\DCS_BACKUPS\preset_channel_init.lua c:\"Program Files\Eagle Dynamics\DCS World\Mods\aircraftA-10C\Cockpit\Scripts\UHF_Radio\Indicator"\ /Y

copy c:\Backups\DCS_BACKUPS\repeater_init.lua c:\"Program Files\Eagle Dynamics\DCS World\Mods\aircraftA-10C\Cockpit\Scripts\UHF_Radio\Indicator"\ /Y

copy c:\Backups\DCS_BACKUPS\focus.png c:\"Program Files\Eagle Dynamics\DCS World\Bazar\Effects\PostEffects"\ /Y

copy c:\Backups\DCS_BACKUPS\Export Backups\Export.lua c:\"Program Files\Eagle Dynamics\DCS World\Config\Export"\ /Y

copy c:\Backups\DCS_BACKUPS\Export Backups\Export.lua c:\"Program Files\Eagle Dynamics\DCS World\Scripts"\ /Y

copy c:\Backups\DCS_BACKUPS\Export Backups\Export.lua c:\"Users\Lawrence Ferrence\Saved Games\DCS\Scripts"\ /Y

copy c:\Backups\DCS_BACKUPS\Ka-50.lua c:\"Program Files\Eagle Dynamics\DCS World\Scripts\Database\helicopters"\ /Y

 

 

 

Posted

Ok Scooter. Thanks. I will also include the view ports lua. Pls stand by. I can't help think it is something fundamental; can't see anything wrong with the monitor config lua, nor with the init files as I copy exactly from your versions. Something else then...when these files are loaded, then it crashes the graphics driver, and I see nothing but a black screen and a few little colour blocks on the touchscreen. Do etching is not exporting correctly. It had to be something other than the monitor config file of the init files.

 

Anyway, stand by.

 

Apoll

Posted

Scooter, even tried to follow a recent guide made by DerekM...to absolutely no avail. keeps crashing my graphics driver (latest Nvidea drivers for a GTX 980 in SLI).

 

Here are my:

 

1) init files in the Aircraft/A10c/Scripts folder ...

2) my monitor config file in my main game directory...

3) my export file in the saved games DCS folder.

 

Hopefully you can spot what is wrong. Nothing is being exported, and consistently crashes the graphics driver.

 

Thanks again for your help.

 

Apoll :cry:

BigScreentest.lua

CMSC_init.lua

Export.lua

AN_ALR69V_init.lua

CMSP_init.lua

DIGIT_CLK_init.lua

MFCD_init.lua

freq_status_init.lua

repeater_init.lua

preset_channel_init.lua

Posted

I have looked at all your files and they do not have the lines for exporting. Also your monitor config file is looking for exported init files and is not finding them. I am going to modify your monitor file to match the files I posted earlier. Backup all of your files so you can revert. This looks like a simple fix.

Working on it now....

Posted

Scooter, I can't thank you enough. Don't have the lines for exporting? That is strange since I copied exactly the files from others. I will have a look and see what lines are missing... Thanks again. Really appreciate it. How do I increase your rep here?

 

Apoll

Posted

Hey Scooter. No good. Used the modified monitor lua you provided....used your original init lua files...no good. Same as before. No export taking place...just a black screen and crashes the graphics driver. It's something else. I have uploaded all my files.... can't work it out.

 

Apoll :(

BigScreentest.lua

ViewportHandling.lua

AN_ALR69V_init.lua

CMSC_init.lua

CMSP_init.lua

DIGIT_CLK_init.lua

freq_status_init.lua

repeater_init.lua

preset_channel_init.lua

Posted

Further question: in my install of DCS, I have the various init.lua files in the Mods/aircraft/A-10c/Cockpit/Scripts folder. BUT...I also have the exact same init.lua files also in another directory: DCS World/Scripts/... Is that a problem? To which init file, in the Mods directory OR the Scripts directory, does the config monitor file talk to? Is this likely to be causing a problem?

 

I remain desperate to get the viewports exporting in the latest version of DCS A-10c.

 

Apoll

Posted
Further question: in my install of DCS, I have the various init.lua files in the Mods/aircraft/A-10c/Cockpit/Scripts folder. BUT...I also have the exact same init.lua files also in another directory: DCS World/Scripts/... Is that a problem? To which init file, in the Mods directory OR the Scripts directory, does the config monitor file talk to? Is this likely to be causing a problem?

 

I remain desperate to get the viewports exporting in the latest version of DCS A-10c.

 

Apoll

 

"Mods/aircraft/A-10c/Cockpit/Scripts" is the correct folder.

 

If the setup crashes your graphics driver, I doubt the problem is with your Lua files, but the best way to proceed IMO is to build a minimal test case.

 

  • Start with a fresh / repaired install of DCS: World so you can be sure that all your Lua files are in their original and up-to-date condition and no other modifications are influencing anything.
     
  • Edit DCS World\Mods\aircraft\A-10C\Cockpit\Scripts\DigitalClock\Indicator\DIGIT_CLK_init.lua and add the following two lines to the end:
    dofile(LockOn_Options.common_script_path.."ViewportHandling.lua")
    try_find_assigned_viewport("ED_A10C_CLOCK")
    


     

  • In your DCS World\Config\MonitorSetup folder, make a copy of "1Camera.lua" and modify it so it looks like this:
    _  = function(p) return p; end;
    name = _('1 Screen Export Test');
    Description = 'One monitor configuration'
    Viewports =
    {
        Center =
        {
             x = 0;
             y = 0;
             width = screen.width;
             height = screen.height;
             viewDx = 0;
             viewDy = 0;
             aspect = screen.aspect;
        }
    }
    
    ED_A10C_CLOCK =
    {
    	x = 0;
    	y = 0;
    	width = 133;
    	height = 133;
    }
    


     

  • Select your new monitor configuration in the DCS options

 

You should now see the clock in the top-left corner of your screen on top of the 3D cockpit view. If you do, slowly modify your setup one step at a time (i.e. expand it to full eyefinity resolution, check if it breaks, add a new indicator, check, etc) to find where the problem is.

Posted

FsfIan, thanks. It may well get to this. In the meantime, did more searches and found one guy having problems and it was fixed with a Regedit fix: apparently the Regestry version of the Mods directory is still showing aircrafts instead of aircraft. That might be an issue, so I'm going to check that first. But I will go down your path if no joy...

 

Whatever can be causing such a massive problem???

 

Apoll

Posted

Talk me through your steps 1 by 1 i think you may be getting crossed wires some where and we are all getting electrocuted trying to help you, have you set helios up right, have you put the Export file in saved games.

Looking at your other files they seem to almost correct but not quite and your monitor config is wrong.

In order for me to help you need to clean everything up you have done so we can start again by this i mean back to before you started trying to get helios to work, also if you are running any other mods remove them and run dcs repair.

You will need to clear out saved games to as repair does not look in saved games.

 

Alternatively and always the best way is to start over, uninstall dcs completely including saved games, pull out any files you would like to keep for example controller configs, option settings and views you can drop these back in the new install it saves having to go through the mundane task of setting up controls again.

 

1 question ignoring the fact that you could not get the elements in the monitor config lua to display you haven't said whether or not you got the gauges to work in Loz's profile.

Eagles may soar high but weasel's don't get sucked into jet engines.

 

 

System Spec.

Monitors: Samsung 570DX & Rift CV1

Mobo: MSI Godlike gaming X-99A

CPU: Intel i7 5930K @ 3.50Ghz

RAM: 32gb

GPU: EVGA Nvidia GTX 980Ti VR Ready

Cooling: Predator 360

Power Supply: OCZ ZX Series 80 Plus Gold

Drives: Samsung SSD's 1tb, 500g plus others with OS Win10 64 bit

 

  • Recently Browsing   0 members

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