norman99 Posted April 25, 2023 Posted April 25, 2023 So, I'm having an issue with SimAppPro and the export.lua which prevents the MIP UFC displays from working. The only fix I've found which works is to re-order the entries in my export.lua, placing the two WW entries at the bottom. Unfortunately, everytime I open SimAppPro, it checks to see if the two WW entries are listed first, and if not, it adds them to the top of the export.lua, regardless of whether they are already present in the file. The end result of all this is I need to start SimAppPro, then manually edit the export.lua to remove the newly added entries at the top of the list. Every single time!! It's beyond frustrating. Dose anyone else have this issue, and or a permanent solution? Here's my export lua for reference. local wwtlfs=require('lfs') dofile(wwtlfs.writedir()..'Scripts/wwt/wwtExport.lua') pcall(function() local pw=require('lfs');dofile(pw.writedir()..[[Scripts\pw-dev_script\ExportInit.lua]]); end,nil); local Tacviewlfs=require('lfs');dofile(Tacviewlfs.writedir()..'Scripts/TacviewGameExport.lua') pcall(function() local dcsSr=require('lfs');dofile(dcsSr.writedir()..[[Mods\Services\DCS-SRS\Scripts\DCS-SimpleRadioStandalone.lua]]); end,nil); local TheWayLfs=require('lfs'); dofile(TheWayLfs.writedir()..'Scripts/TheWay.lua') local vaicomlfs = require('lfs'); dofile(vaicomlfs.writedir()..[[Scripts\VAICOMPRO\VAICOMPRO.export.lua]]) local wwtlfs=require('lfs') dofile(wwtlfs.writedir()..'Scripts/wwt/wwtExport.lua')
Dos Posted April 25, 2023 Posted April 25, 2023 Hello, Try in the settings (gear icon) for SimAppPro look for and check the box for "close the modification of Export.lua file (after ...." Dos 1
Dos Posted April 25, 2023 Posted April 25, 2023 Oh try labeling it my export is below. I can't say for sure it helps but it does not hurt. You also have WW twice in your entry on top and bottom. Hope it helps. -----SimShaker local SimShakerlfs=require('lfs'); dofile(SimShakerlfs.writedir()..'Scripts/SimShaker.lua') dofile(SimShakerlfs.writedir()..[[Scripts\SimShaker-export-core\ExportCore.lua]]) dofile(lfs.writedir()..[[Scripts\SimShaker-export-core\ExportCore.lua]]) -----Streamdeck -- load the DCS ExportScript for DAC and Ikarus dofile(lfs.writedir()..[[Scripts\DCS-ExportScript\ExportScript.lua]]) -----WinWing local wwtlfs=require('lfs') dofile(wwtlfs.writedir()..'Scripts/wwt/wwtExport.lua')
Recommended Posts