Thanks but I still get the same error, even if I completely remove everything after the line "VERSION" in the .tp2 file, it still complains of a parsing error at Line 11 (when there is nothing at Line 11). This is what is in the .debug file:
WeiDU v 24900 Log
C:\Program Files (x86)\Steam\steamapps\common\Icewind Dale Enhanced Edition\setup-moonboy_mod.exe
[.\chitin.key] loaded, 532278 bytes
[.\chitin.key] 167 BIFFs, 37681 resources
[.\engine.lua] loaded, 160 bytes
[.\weidu.conf] loaded, 17 bytes
[.\lang\en_us\dialog.tlk] loaded, 4470491 bytes
[.\lang\en_us\dialog.tlk] 41352 string entries
WARNING: parsing log [WeiDU.log]: Sys_error("WeiDU.log: No such file or directory")
[MOONBOY_MOD/MOONBOY_MOD.TP2] PARSE ERROR at line 11 column 1-5
Near Text: LPF
GLR parse error
[MOONBOY_MOD/MOONBOY_MOD.TP2] ERROR at line 11 column 1-5
Near Text: LPF
Parsing.Parse_error
ERROR: parsing [MOONBOY_MOD/MOONBOY_MOD.TP2]: Parsing.Parse_error
ERROR: problem parsing TP file [MOONBOY_MOD/MOONBOY_MOD.TP2]: Parsing.Parse_error
FATAL ERROR: Parsing.Parse_error
WeiDU Timings
load TLK 0.000
Parsing TP2 files 0.016
loading files 0.016
stuff not covered elsewhere 0.016
unmarshal TLK 0.016
unmarshal KEY 0.031
TOTAL 0.094
Perhaps this is not compatible with IW:EE?