Post
by SirNukes » Tue, 18. Jul 17, 10:11
I noticed an oddity while poking around the different text files when writing up some code to color sector names for me. File 7027-L044.xml on line 71 has a circular reference: <t id="1023801">{7,1023801}</t>. X3 Editor 2 was crashing on trying to load this file, which pointed me toward the problem. The error appears to be in the original TCAP/XRM merger patch, and is copied into the recent updated files.
The code line in XRM itself appears to be "<t id="1020619">{7,1023801}</t>". Elsewhere, the TCAP/XRM patch edits "<t id="1030619">" to be "<t id="1033801">". It seems Family Zyarth (0619) was renamed to Circle of Deceit (name assigned to 3801) by XRM, along with being given a new description. The TCAP/XRM patch appears to have swapped the new description over to 3801 (I assume where it would not get used, the intention just being to restore Family Zyarth), and restored the original name by swapping the name reference as well, generating the circular reference.
In short, I think the fix is just to comment out or remove line 71 in 7027-L044.xml. If left as-is, I don't know what the X3 engine would do in this case - maybe quietly ignore it, or maybe introduce some subtle bugs.