HappyVoo Posted November 5, 2020 Share Posted November 5, 2020 The F-16C’s TGP pod does not work and causes the game to crash! As long as TGP is active, once I switch to TGP, my game will crash! When TGP is not activated, there is no problem, and other operations are no problem! Only when TGP is activated and I switch to display TGP, my game will definitely crash! In previous versions, I could use TGP normally! I'm the latest version of steam, and I've verified the integrity of the game, and ram is 32g, but when my game crashed, I only put a plane on my custom Black Sea map! Link to comment Share on other sites More sharing options...
HappyVoo Posted November 5, 2020 Author Share Posted November 5, 2020 我的游戏崩溃没有响应, 我在哪里可以得到崩溃日志? Link to comment Share on other sites More sharing options...
TOViper Posted November 5, 2020 Share Posted November 5, 2020 Hello HappyVoo, have you cleaned fxo and metashader folders after updating? You might also try reducing TEXTURE setting by one (e.g. HIGH to MEDIUM, or MEDIUM to LOW). A log file would help. Visit https://www.viggen.training ...Viggen... what more can you ask for? my computer: AMD Ryzen 5600G | NVIDIA GTX 1080 Ti OC 11GB | 32 GB 3200 MHz DDR4 DUAL | SSD 980 256 GB SYS + SSD 2TB DCS | TM Warthog Stick + Throttle + TPR | Rift CV1 Link to comment Share on other sites More sharing options...
HappyVoo Posted November 5, 2020 Author Share Posted November 5, 2020 Hello HappyVoo, have you cleaned fxo and metashader folders after updating? You might also try reducing TEXTURE setting by one (e.g. HIGH to MEDIUM, or MEDIUM to LOW). A log file would help. Thanks for your suggestion, I have found the reason, it is caused by DCS-ExportScript Link to comment Share on other sites More sharing options...
Dagi85 Posted January 15, 2021 Share Posted January 15, 2021 Hi HappyVoo How did you fix this? I have the same problem.. DCS crash each time I open the TGP on a MFD. Only happens to F-16... Link to comment Share on other sites More sharing options...
Jestr Posted January 19, 2021 Share Posted January 19, 2021 Get rid of DCS-export if you´re using it, caused a crash with the TGP. Also caused a crash accessing P3 on the DED-Link16 page. 1 Link to comment Share on other sites More sharing options...
Tess Posted March 4, 2021 Share Posted March 4, 2021 (edited) Hi, The F16 Export Script needed a little tidying up as it still had a load of code relating to the F18. If you replace the current F16C_50.lua file in your Saved Games folder (file path something like this.... C:\Users\Admin\Saved Games\DCS.openbeta\Scripts\DCS-ExportScript\ExportsModules\F-16C_50.lua) with the attached file, you should find that using the TGP no longer causes the game to freeze. Edit: Not as simple as I thought! Yes, TGP works but at the expense of the export-script, so Streamdeck rendered inop Edited March 4, 2021 by Tess Link to comment Share on other sites More sharing options...
Tess Posted March 4, 2021 Share Posted March 4, 2021 Took a while to figure out which code to exclude but finally got there. The attached ExportScript lua file allows use of the Streamdeck without crashing the TGP. F-16C_50.lua 6 4 Link to comment Share on other sites More sharing options...
hasole Posted March 8, 2021 Share Posted March 8, 2021 Thank you for this, I was just about to report it as a bug. Link to comment Share on other sites More sharing options...
Pekins Posted May 12, 2021 Share Posted May 12, 2021 (edited) I just started having this problem, have had a StreamDeck for a while. Ive read the comments here but not sure what to do? I have to delete DCS-export? But where is it? also what is that F16C_50.lua file should I download and put it somewhere? Edit: I found a DCS-export folder in ...\Saved Games\DCS\Scripts do I delete the whole folder? Edited May 12, 2021 by Pekins Link to comment Share on other sites More sharing options...
ice41 Posted May 12, 2021 Share Posted May 12, 2021 (edited) I don't use Streamdeck but from what I can find, Saved Games\DCS\Scripts should have a DCS-ExportScript folder inside DCS-ExportScript there should be ExportsModules folder inside ExportsModules there should be a F-16C_50.lua replace this file with Tess's F-16C_50.lua and that should be all you need to do to not crash Edited May 12, 2021 by ice41 Link to comment Share on other sites More sharing options...
Pekins Posted May 13, 2021 Share Posted May 13, 2021 Nice that works!! Once again the community saves the day. Link to comment Share on other sites More sharing options...
bones1014 Posted May 16, 2021 Share Posted May 16, 2021 Has anyone tried exporting the F-16 Chaff and Flare counters? I have some script code that works in DCS-Bios but not when I enter it into the lua --chaff and flare quantity export local chaff1 = ExportScript.Tools.split(list_indication(16), "%c")[3] local flare1 = ExportScript.Tools.split(list_indication(16), "%c")[6] if chaff1 == nil then chaff1 = "" end if flare1 == nil then flare1 = "" end ExportScript.Tools.SendData(6000, string.format("%-3s", chaff1)) ExportScript.Tools.SendData(6001, string.format("%-3s", flare1)) Link to comment Share on other sites More sharing options...
wess24m Posted November 19, 2021 Share Posted November 19, 2021 Unable to display TGP and the ground radar without a crash still. I use a stream deck, I've read theres an issue with that. I shouldn't have to uninstall the stream deck software before flying the f-16. dcs.log Link to comment Share on other sites More sharing options...
rem27 Posted November 19, 2021 Share Posted November 19, 2021 (edited) replace this file with Tess's F-16C_50.lua https://forums.eagle.ru/topic/252202-missing-crash-logs-f-16cs-tgp-causes-the-game-to-crash/?do=findComment&comment=4589839 Edited November 19, 2021 by rem27 Intel® Core i7-7700K @4,20GHz - 64 Go RAM - GeForce GTX 1070 Ti - Windows Pro 64 bit - Stream Deck - HOTAS Warthog Link to comment Share on other sites More sharing options...
ED Team BIGNEWY Posted November 19, 2021 ED Team Share Posted November 19, 2021 threads merged Forum rules - DCS Crashing? Try this first - Cleanup and Repair - Discord BIGNEWY#8703 - Youtube - Patch Status Windows 11, NVIDIA MSI RTX 3090, Intel® i9-10900K 3.70GHz, 5.30GHz Turbo, Corsair Hydro Series H150i Pro, 64GB DDR @3200, ASUS ROG Strix Z490-F Gaming, HP Reverb G2 Link to comment Share on other sites More sharing options...
Bailey Posted November 26, 2021 Share Posted November 26, 2021 (edited) On 5/17/2021 at 3:01 AM, bones1014 said: Has anyone tried exporting the F-16 Chaff and Flare counters? I have some script code that works in DCS-Bios but not when I enter it into the lua --chaff and flare quantity export local chaff1 = ExportScript.Tools.split(list_indication(16), "%c")[3] local flare1 = ExportScript.Tools.split(list_indication(16), "%c")[6] if chaff1 == nil then chaff1 = "" end if flare1 == nil then flare1 = "" end ExportScript.Tools.SendData(6000, string.format("%-3s", chaff1)) ExportScript.Tools.SendData(6001, string.format("%-3s", flare1)) I have a working countermeasure export here, starting at line 1009. https://github.com/asherao/DCS-ExportScripts/blob/master/Scripts/DCS-ExportScript/ExportsModules/F-16C_50.lua You can either download the entire lua, or take the part from the spoiler below. If you do the below, remember to add `ExportScript.CountermeasureReadouts(mainPanelDevice)` to the `function ExportScript.ProcessIkarusDCSConfigLowImportance(mainPanelDevice)` function block. Spoiler function ExportScript.CountermeasureReadouts(mainPanelDevice) local expendableReadout = ExportScript.Tools.split(list_indication(16), "%c")--this contains the formated table of the CMDS numbers local CMDS_O1_Amount local CMDS_O2_Amount local CMDS_CH_Amount local CMDS_FL_Amount if expendableReadout[2] == "CMDS_O1_Amount" then CMDS_O1_Amount = expendableReadout[3] elseif expendableReadout[5] == "CMDS_O1_Amount" then CMDS_O1_Amount = expendableReadout[6] elseif expendableReadout[8] == "CMDS_O1_Amount" then CMDS_O1_Amount = expendableReadout[9] elseif expendableReadout[11] == "CMDS_O1_Amount" then CMDS_O1_Amount = expendableReadout[12] else CMDS_O1_Amount = "--" end if expendableReadout[2] == "CMDS_O2_Amount" then CMDS_O2_Amount = expendableReadout[3] elseif expendableReadout[5] == "CMDS_O2_Amount" then CMDS_O2_Amount = expendableReadout[6] elseif expendableReadout[8] == "CMDS_O2_Amount" then CMDS_O2_Amount = expendableReadout[9] elseif expendableReadout[11] == "CMDS_O2_Amount" then CMDS_O2_Amount = expendableReadout[12] else CMDS_O2_Amount = "--" end if expendableReadout[2] == "CMDS_CH_Amount" then CMDS_CH_Amount = expendableReadout[3] elseif expendableReadout[5] == "CMDS_CH_Amount" then CMDS_CH_Amount = expendableReadout[6] elseif expendableReadout[8] == "CMDS_CH_Amount" then CMDS_CH_Amount = expendableReadout[9] elseif expendableReadout[11] == "CMDS_CH_Amount" then CMDS_CH_Amount = expendableReadout[12] else CMDS_CH_Amount = "--" end if expendableReadout[2] == "CMDS_FL_Amount" then CMDS_FL_Amount = expendableReadout[3] elseif expendableReadout[5] == "CMDS_FL_Amount" then CMDS_FL_Amount = expendableReadout[6] elseif expendableReadout[8] == "CMDS_FL_Amount" then CMDS_FL_Amount = expendableReadout[9] elseif expendableReadout[11] == "CMDS_FL_Amount" then CMDS_FL_Amount = expendableReadout[12] else CMDS_FL_Amount = "--" end CMDS_O1_Amount = trim(CMDS_O1_Amount) CMDS_O2_Amount = trim(CMDS_O2_Amount) CMDS_CH_Amount = trim(CMDS_CH_Amount) CMDS_FL_Amount = trim(CMDS_FL_Amount) ExportScript.Tools.SendData(3000, "OTHER1\n" .. CMDS_O1_Amount) ExportScript.Tools.SendData(3001, "OTHER2\n" .. CMDS_O2_Amount) ExportScript.Tools.SendData(3002, "CHAFF\n" .. CMDS_CH_Amount) ExportScript.Tools.SendData(3003, "FLARE\n" .. CMDS_FL_Amount) ExportScript.Tools.SendData(3004, "CH " .. CMDS_CH_Amount .. "\nFL " .. CMDS_FL_Amount) ExportScript.Tools.SendData(3005, "O1 " .. CMDS_O1_Amount .. "\nO2 " .. CMDS_O2_Amount .. "\nCH " .. CMDS_CH_Amount .. "\nFL " .. CMDS_FL_Amount) end Edited November 26, 2021 by Bailey DCS VoiceAttack Profiles | My Mods and Utilities on ED User Files | DiCE: DCS Integrated Countermeasure Editor DCS Update Witching Utility | DCS-ExportScripts for Stream Deck Community Github Library Link to comment Share on other sites More sharing options...
WolfK33 Posted November 27, 2021 Share Posted November 27, 2021 On 3/4/2021 at 9:56 PM, Tess said: Took a while to figure out which code to exclude but finally got there. The attached ExportScript lua file allows use of the Streamdeck without crashing the TGP. F-16C_50.lua 64.88 kB · 217 downloads Just came here to report this. Thank you! Link to comment Share on other sites More sharing options...
BaronVonVaderham Posted November 19, 2023 Share Posted November 19, 2023 I realise this is an old thread, but Iäm looking into ikarus as helios does not work for me. Simple question: where do I start___ Link to comment Share on other sites More sharing options...
Recommended Posts