HeliosVirtualCockpit / Helios

Helios Distribution
https://github.com/HeliosVirtualCockpit/Helios/wiki
GNU General Public License v3.0
200 stars 33 forks source link

DCS Additional Viewports showing red error in Profile Editor #484

Closed Todd1215 closed 2 years ago

Todd1215 commented 2 years ago

When trying to resolve Status Report issues in a DCS profile that contains DCS Additional Viewports Interface, apply patches shows message "Not all patches were installed" but the viewport patch files are written to DCS locations with success as noted in the details.

Helios_status_report_132806080091239996.txt

Todd1215 commented 2 years ago

It seems the issue is with the CDU_init.lua patch file. It couldn't revert the one that was there. AS a work around I copied a previous one back to CDU_init.lua and then was able to apply patches without issues.

PSYKO-nz commented 2 years ago

I also had this issue, do you want my report? it was the exact same error

Todd1215 commented 2 years ago

I also had this issue, do you want my report? it was the exact same error

No i don't need the report. Did you do what i did to resolve it by manually updating the file then apply patches?

matt-cahill commented 2 years ago

I'll look into this today. Does anyone happen to have the broken CDU_init.lua file still? I'd like to see what couldn't be reverted.

PSYKO-nz commented 2 years ago

I also had this issue, do you want my report? it was the exact same error

No i don't need the report. Did you do what i did to resolve it by manually updating the file then apply patches?

No, I read that in your post but wasn’t sure how to do it so I just reverted to the previous version of Helios and everything worked fine :)

PSYKO-nz commented 2 years ago

I'll look into this today. Does anyone happen to have the broken CDU_init.lua file still? I'd like to see what couldn't be reverted.

Unfortunately not, as I reverted to the last version, but I could reinstall the one with the cdu issue and grab that file for you if you need? All I need to know is the location of it and I’ll get it for you :)

sobe1205 commented 2 years ago

Same issue. It would be great if you could post the lua file or send it to me by email.

matt-cahill commented 2 years ago

Ok no problem I'll see if I can reproduce it myself first and then let you know rather than asking you to break your setup again. I'll post instructions if I do need it.

PSYKO-nz commented 2 years ago

Sweet as, ready to help if needed :)

matt-cahill commented 2 years ago

I can't reproduce on a fresh installation of DCS open beta with Helios 1.6.5100.0000. All the patches apply and revert cleanly. At the moment I don't think there's anything wrong with the patch files or the Helios code.

It's likely that the problematic lua files have been modified by something else outside of Helios, so the patching system can no longer find the right part of the file to change.

An easy fix for this would be to use Eagle Dynamics' "Repair DCS World" feature which will move all modified files to a backup directory and replace them with clean versions. After that is done you should be able to apply the Helios patches again in the normal way. Doing this will of course clean (and back up) any other mods that have been applied to the DCS install directory too.

@PSYKO-nz if you do want to post the file so I can compare it to a clean one it would be

Mods\aircraft\A-10C\Cockpit\Scripts\CDU\indicator\CDU_init.lua or Mods\aircraft\A-10C_2\Cockpit\Scripts\CDU\indicator\CDU_init.lua

depending on which version of the A-10 you are having this problem. Could you also let me know the versions of Helios and DCS you are using too please?

Relevant Profile Editor logs for dev's reference:

2021-11-07 11:22:19.4056|INFO|GadrocsWorkshop.Helios.LogManager|loading Viewports patches for DCS 2.7.7.14727 from C:\Program Files\Helios Virtual Cockpit\Helios\Plugins\Patches\DCS using version 002_007_00006_13436_00000 of the patches|
2021-11-07 11:22:19.4337|INFO|GadrocsWorkshop.Helios.LogManager|loading Viewports patches for DCS 2.7.7.14727 from C:\Program Files\Helios Virtual Cockpit\Helios\Plugins\Patches\DCS using version 002_007_00006_13436_00000 of the patches|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\A-10C\Cockpit\Scripts\AN_ALR69V\indicator\AN_ALR69V_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\A-10C\Cockpit\Scripts\CDU\indicator\CDU_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\A-10C\Cockpit\Scripts\CMSC\indicator\CMSC_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\A-10C\Cockpit\Scripts\CMSP\indicator\CMSP_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\A-10C\Cockpit\Scripts\DigitalClock\Indicator\DIGIT_CLK_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\A-10C\Cockpit\Scripts\HUD\Indicator\HUD_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\A-10C\Cockpit\Scripts\MFCD\indicator\MFCD_left_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\A-10C\Cockpit\Scripts\MFCD\indicator\MFCD_right_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\A-10C\Cockpit\Scripts\UHF_Radio\indicator\freq_status_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\A-10C\Cockpit\Scripts\UHF_Radio\indicator\preset_channel_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\A-10C\Cockpit\Scripts\UHF_Radio\indicator\repeater_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\A-10C_2\Cockpit\Scripts\AN_ALR69V\indicator\AN_ALR69V_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\A-10C_2\Cockpit\Scripts\CDU\indicator\CDU_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\A-10C_2\Cockpit\Scripts\CMSC\indicator\CMSC_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\A-10C_2\Cockpit\Scripts\CMSP\indicator\CMSP_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\A-10C_2\Cockpit\Scripts\DigitalClock\Indicator\DIGIT_CLK_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\A-10C_2\Cockpit\Scripts\HUD\Indicator\HUD_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\A-10C_2\Cockpit\Scripts\MFCD\indicator\MFCD_left_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\A-10C_2\Cockpit\Scripts\MFCD\indicator\MFCD_right_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\A-10C_2\Cockpit\Scripts\UHF_Radio\indicator\freq_status_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\A-10C_2\Cockpit\Scripts\UHF_Radio\indicator\preset_channel_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\A-10C_2\Cockpit\Scripts\UHF_Radio\indicator\repeater_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\AV8BNA\Cockpit\MPCD\indicator\MPCD_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\F-16C\Cockpit\Scripts\Displays\DED\indicator\DED_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\F-16C\Cockpit\Scripts\Displays\EHSI\indicator\EHSI_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\F-16C\Cockpit\Scripts\Displays\EHSI\indicator\LCD\EHSI_LCD.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\F-16C\Cockpit\Scripts\Displays\HUD\indicator\HUD_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\F-16C\Cockpit\Scripts\Displays\MFD\indicator\MFD_left_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\F-16C\Cockpit\Scripts\Displays\MFD\indicator\MFD_right_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\F-16C\Cockpit\Scripts\Displays\MFD\indicator\LCD\MFD_LCD.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\F-16C\Cockpit\Scripts\EWS\RWR\indicator\RWR_ALR56_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\F14\Cockpit\Scripts\HeadUpDisplay\Indicator\init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\F14\Cockpit\Scripts\RWR\Indicator\Pilot\init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\F14\Cockpit\Scripts\RWR\Indicator\RIO\init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\F14\Cockpit\Scripts\UHF_Radio\Indicator\Main\init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\F14\Cockpit\Scripts\UHF_Radio\Indicator\RemotePilot\init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\F14\Cockpit\Scripts\UHF_Radio\Indicator\RemoteRIO\init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\F14\Cockpit\Scripts\VHF_Radio\Indicator\Main\init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\F14\Cockpit\Scripts\VHF_Radio\Indicator\RemotePilot\init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\FA-18C\Cockpit\Scripts\IFEI\indicator\IFEI_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\FA-18C\Cockpit\Scripts\Multipurpose_Display_Group\AMPCD\indicator\AMPCD_viewport_cfg.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\FA-18C\Cockpit\Scripts\Multipurpose_Display_Group\HUD_AVQ32\indicator\AVQ32_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\FA-18C\Cockpit\Scripts\Multipurpose_Display_Group\MDI_IP1556A\indicator\MDI_left_viewport_cfg.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\FA-18C\Cockpit\Scripts\Multipurpose_Display_Group\MDI_IP1556A\indicator\MDI_right_viewport_cfg.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\FA-18C\Cockpit\Scripts\TEWS\indicator\RWR_ALR67_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\FA-18C\Cockpit\Scripts\UFC\indicator\UFC_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\Ka-50\Cockpit\Scripts\ABRIS\BAKE\init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\Ka-50\Cockpit\Scripts\HUD\HUD_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\Ka-50\Cockpit\Scripts\SHKVAL\BAKE\init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\M-2000C\Cockpit\COM\COM_GreenBox_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\M-2000C\Cockpit\COM\COM_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\M-2000C\Cockpit\FUEL\FUEL_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\M-2000C\Cockpit\PCA_PPA\PCA_BR_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\M-2000C\Cockpit\PCA_PPA\PCA_UR_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\M-2000C\Cockpit\PCA_PPA\PPA_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\M-2000C\Cockpit\PCN\PCN_BR_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\M-2000C\Cockpit\PCN\PCN_UR_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\M-2000C\Cockpit\RWR\RWR_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\M-2000C\Cockpit\VTB\VTB_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\M-2000C\Cockpit\VTH\HUD_init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\SA342\Cockpit\NADIR\init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\SA342\Cockpit\Radio\Indicator\FM\init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\SA342\Cockpit\Radio\Indicator\UHF\init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\SA342\Cockpit\RWR\indicator\init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\SA342\Cockpit\TV\Indicator\init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' restored original file Mods\aircraft\SA342\Cockpit\WP1\init.lua|
2021-11-07 11:22:40.7652|INFO|GadrocsWorkshop.Helios.LogManager|loading Viewports patches for DCS 2.7.7.14727 from C:\Program Files\Helios Virtual Cockpit\Helios\Plugins\Patches\DCS using version 002_007_00006_13436_00000 of the patches|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\A-10C\Cockpit\Scripts\AN_ALR69V\indicator\AN_ALR69V_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\A-10C\Cockpit\Scripts\CDU\indicator\CDU_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\A-10C\Cockpit\Scripts\CMSC\indicator\CMSC_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\A-10C\Cockpit\Scripts\CMSP\indicator\CMSP_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\A-10C\Cockpit\Scripts\DigitalClock\Indicator\DIGIT_CLK_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\A-10C\Cockpit\Scripts\HUD\Indicator\HUD_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\A-10C\Cockpit\Scripts\MFCD\indicator\MFCD_left_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\A-10C\Cockpit\Scripts\MFCD\indicator\MFCD_right_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\A-10C\Cockpit\Scripts\UHF_Radio\indicator\freq_status_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\A-10C\Cockpit\Scripts\UHF_Radio\indicator\preset_channel_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\A-10C\Cockpit\Scripts\UHF_Radio\indicator\repeater_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\A-10C_2\Cockpit\Scripts\AN_ALR69V\indicator\AN_ALR69V_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\A-10C_2\Cockpit\Scripts\CDU\indicator\CDU_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\A-10C_2\Cockpit\Scripts\CMSC\indicator\CMSC_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\A-10C_2\Cockpit\Scripts\CMSP\indicator\CMSP_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\A-10C_2\Cockpit\Scripts\DigitalClock\Indicator\DIGIT_CLK_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\A-10C_2\Cockpit\Scripts\HUD\Indicator\HUD_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\A-10C_2\Cockpit\Scripts\MFCD\indicator\MFCD_left_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\A-10C_2\Cockpit\Scripts\MFCD\indicator\MFCD_right_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\A-10C_2\Cockpit\Scripts\UHF_Radio\indicator\freq_status_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\A-10C_2\Cockpit\Scripts\UHF_Radio\indicator\preset_channel_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\A-10C_2\Cockpit\Scripts\UHF_Radio\indicator\repeater_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\AV8BNA\Cockpit\MPCD\indicator\MPCD_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\F-16C\Cockpit\Scripts\Displays\DED\indicator\DED_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\F-16C\Cockpit\Scripts\Displays\EHSI\indicator\EHSI_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\F-16C\Cockpit\Scripts\Displays\EHSI\indicator\LCD\EHSI_LCD.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\F-16C\Cockpit\Scripts\Displays\HUD\indicator\HUD_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\F-16C\Cockpit\Scripts\Displays\MFD\indicator\MFD_left_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\F-16C\Cockpit\Scripts\Displays\MFD\indicator\MFD_right_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\F-16C\Cockpit\Scripts\Displays\MFD\indicator\LCD\MFD_LCD.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\F-16C\Cockpit\Scripts\EWS\RWR\indicator\RWR_ALR56_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\F14\Cockpit\Scripts\HeadUpDisplay\Indicator\init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\F14\Cockpit\Scripts\RWR\Indicator\Pilot\init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\F14\Cockpit\Scripts\RWR\Indicator\RIO\init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\F14\Cockpit\Scripts\UHF_Radio\Indicator\Main\init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\F14\Cockpit\Scripts\UHF_Radio\Indicator\RemotePilot\init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\F14\Cockpit\Scripts\UHF_Radio\Indicator\RemoteRIO\init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\F14\Cockpit\Scripts\VHF_Radio\Indicator\Main\init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\F14\Cockpit\Scripts\VHF_Radio\Indicator\RemotePilot\init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\FA-18C\Cockpit\Scripts\IFEI\indicator\IFEI_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\FA-18C\Cockpit\Scripts\Multipurpose_Display_Group\AMPCD\indicator\AMPCD_viewport_cfg.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\FA-18C\Cockpit\Scripts\Multipurpose_Display_Group\HUD_AVQ32\indicator\AVQ32_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\FA-18C\Cockpit\Scripts\Multipurpose_Display_Group\MDI_IP1556A\indicator\MDI_left_viewport_cfg.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\FA-18C\Cockpit\Scripts\Multipurpose_Display_Group\MDI_IP1556A\indicator\MDI_right_viewport_cfg.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\FA-18C\Cockpit\Scripts\TEWS\indicator\RWR_ALR67_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\FA-18C\Cockpit\Scripts\UFC\indicator\UFC_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\Ka-50\Cockpit\Scripts\ABRIS\BAKE\init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\Ka-50\Cockpit\Scripts\HUD\HUD_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\Ka-50\Cockpit\Scripts\SHKVAL\BAKE\init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\M-2000C\Cockpit\COM\COM_GreenBox_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\M-2000C\Cockpit\COM\COM_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\M-2000C\Cockpit\FUEL\FUEL_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\M-2000C\Cockpit\PCA_PPA\PCA_BR_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\M-2000C\Cockpit\PCA_PPA\PCA_UR_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\M-2000C\Cockpit\PCA_PPA\PPA_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\M-2000C\Cockpit\PCN\PCN_BR_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\M-2000C\Cockpit\PCN\PCN_UR_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\M-2000C\Cockpit\RWR\RWR_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\M-2000C\Cockpit\VTB\VTB_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\M-2000C\Cockpit\VTH\HUD_init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\SA342\Cockpit\NADIR\init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\SA342\Cockpit\Radio\Indicator\FM\init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\SA342\Cockpit\Radio\Indicator\UHF\init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\SA342\Cockpit\RWR\indicator\init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\SA342\Cockpit\TV\Indicator\init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|DCS installation in 'D:\DCS World OpenBeta' successfully wrote Mods\aircraft\SA342\Cockpit\WP1\init.lua after applying patch|
2021-11-07 11:22:48.3173|INFO|GadrocsWorkshop.Helios.LogManager|loading Viewports patches for DCS 2.7.7.14727 from C:\Program Files\Helios Virtual Cockpit\Helios\Plugins\Patches\DCS using version 002_007_00006_13436_00000 of the patches|
PSYKO-nz commented 2 years ago

Helios 1.6.5100.0 not working

DCS 2.7.7.15038

Helios 1.6.5013.0 working

fresh report and both versions of helios mentioned above and both versions of the a10 are in this folder, if you need more info or help let me know cdu error test.zip

I should also note that as I described above, uninstalling Helios and re installing the previous one (1.6.5013) returns Helios and all profiles to working condition

I also should add that I’m not running any mods or changes to the a10s other than Helios

sobe1205 commented 2 years ago

I use a mod manager so I uninstalled the mods, did a repair and then used Helios and now it is OK. I am using the latest version of Helios that just came out. Helios 1.6.5100.0

Todd1215 commented 2 years ago

Same issue. It would be great if you could post the lua file or send it to me by email.

Here is my offending lua fie. Its from location DCS World OpenBeta\Mods\aircraft\A-10C\Cockpit\Scripts\CDU\indicator CDU_init.lua.txt

matt-cahill commented 2 years ago

Thanks for the extra info @Todd1215 @PSYKO-nz @sobe1205 , as a result I can see what's happening now and I can reproduce the problem reliably. I just need to discuss with the devs the best way to prevent this from happening again in the future.

The fix for now is to make sure that the files being patched are as ED intended before starting (and thus how they were when we made the patch files), any means of doing that is fine but the DCS repair function is probably the most reliable.

The fault happens when there is one fewer empty new lines (lines with only a carriage return/line ending) than there should be above the point where the patch should be installed in the file.

in the case of the CDU file this is OK

...
opacity_sensitive_materials = 
{
    "font_CDU",
}

dofile(LockOn_Options.common_script_path.."ViewportHandling.lua")
try_find_assigned_viewport("A_10C_CDU_SCREEN", "CDU_SCREEN")

but this causes the failure

...
opacity_sensitive_materials = 
{
    "font_CDU",
}

dofile(LockOn_Options.common_script_path.."ViewportHandling.lua")
try_find_assigned_viewport("A_10C_CDU_SCREEN", "CDU_SCREEN")

I can reproduce this in any file where the patch was made with an empty line above where the patch is inserted.

Enabler97 commented 2 years ago

Helios_status_report_132851828999159592.txt

Todd1215 commented 2 years ago

commit # 7126631cd01686bb364f92cfd904b1a885c6cd28 fixes viewport issue