pw-dev_script
pw-dev_script copied to clipboard
F-16 DED missing lines
Info
I have issue, pw-dev_script interfere with DCS-BIOS.
I use DCS-BIOS in my own simple python application (display some data at Logitech G keyboards with LCD)
After long investigation here: dcs-bios #146, we find out when both pw-dev_script and DCS-BIOS are loaded few line are missing:
LIST - 1

LIST - 3

LIST - 9

Findings:
Load order in Export.lua do not make any difference, doesn't matter if pw-dev_script is first or second:
pcall(function() local pw=require('lfs');dofile(pw.writedir()..[[Scripts\pw-dev_script\ExportInit.lua]]); end,nil);
dofile(lfs.writedir()..[[Scripts\DCS-BIOS\BIOS.lua]])
Only one walkaround I found is commented out pw-dev_script from Export.lua, then DCS-BIOS report correct content of all DED screens. But then I can not use you applications any more :(
What now?
DCS-BIOS guy (see comments this and that) said you do similar things in Modules/F-16C_50.lua as him in Scripts/DCS-BIOS/lib/F-16C_50.lua, so maybe there is any trick to get pw-dev_script and DCS-BIOS co-exists.