As we mod, I'm sure we'll find little quirks in the XML and Python engines that we they don't really like. I've decided to start a thread for listing these quirks.
QUIRKS:
General XML:
- Be careful with comments (Tags consisting of <!-- {text} -->). Some files (especially the Audio files, at least) don't like comments between elements of sets. (I found this out as Civ 4 failed to start after inserting Audio files into the base asset files)
TIPS:
General:
- Set LoggingEnabled and MessageLogs to 1 in _Civ4Config. Then helpful logs to debug your problems will appear in the _Civ4Logs directory that might help with debugging your problems, and finding other little quirks.
General XML:
- If you've had experience with XML schemas, you can help make sure you aren't breaking Civ 4 by referring to the *schema.xml files.
QUIRKS:
General XML:
- Be careful with comments (Tags consisting of <!-- {text} -->). Some files (especially the Audio files, at least) don't like comments between elements of sets. (I found this out as Civ 4 failed to start after inserting Audio files into the base asset files)
TIPS:
General:
- Set LoggingEnabled and MessageLogs to 1 in _Civ4Config. Then helpful logs to debug your problems will appear in the _Civ4Logs directory that might help with debugging your problems, and finding other little quirks.
General XML:
- If you've had experience with XML schemas, you can help make sure you aren't breaking Civ 4 by referring to the *schema.xml files.