X2CommunityCore / X2ModBuildCommon

An improved XCOM 2 mod build system
MIT License
5 stars 5 forks source link

Syntax check config files #62

Open robojumper opened 3 years ago

robojumper commented 3 years ago

There are a bunch of pitfalls regarding config files that people seem to fall into very often, such as:

Catching these at build time would help.

Iridar commented 3 years ago

I've also had a case where having a = on a config line with nothing else beside that single character would prevent the mod from building without a meaningful message. It was effectively an accidental typo, so was pretty hard to catch.

Xymanek commented 3 years ago

I've also had a case where having a = on a config line with nothing else beside that single character would prevent the mod from building without a meaningful message. It was effectively an accidental typo, so was pretty hard to catch.

I guess this was in XComEngine.ini? Can you also provide a reproduction example (e.g. in an empty mod)