pet333r / pw-dev_script

Script for DCS World
http://pw-developer.com/
GNU Lesser General Public License v3.0
113 stars 11 forks source link

F-16 DED missing lines #37

Open emcek opened 1 year ago

emcek commented 1 year ago

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

list1 list_1

LIST - 3

list3 list_3

LIST - 9

list9 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.