I’ve been using Tiled for various projects for some time, mostly connected with game level editors. At the moment, I’m working on modding a game called Endless Legend (ENDLESS™ Legend on Steam). This game has the functionality to import maps created with Tiled - but because it’s not exactly a recent game, it uses the “pure XML” .tmx format that was deprecated back in version 0.15. I understand why this format was deprecated - as a data storage format, it holds no advantages and a lot of disadvantages compared to the xml-csv hybrid of the modern tmx format - but it seems there’s at least one game that’s still quite popular and insists on this old format for its maps.
I think I have the following options:
- Download Tiled 0.14 from Github specifically for working on Endless Legend maps. Works, but I lose out on a lot of new features, and I hate having two versions of the same software installed. Also, asking other people who want to edit maps to download software from 2015 feels bad.
- Write a Python plugin to enable exports in pure XML. I actually know Python, but there’s still the obstacle that I can’t find a format specification for the pure XML format. Plus anyone else using the map editor will have to install Python. Plus it seems to be disliked in favour of JS plugins.
- Write a C++ extension to enable exports in pure XML. I don’t even really want to consider this one.
- Create a pure XML style .tmx file and load it into Tiled as a starting point. Tiled can perfectly happily export as pure XML when that’s what it starts from. This is incredibly hacky, but less effort than writing my own plugin. The problem is that because the format is deprecated, it could suddenly stop working in a future Tiled release.
Thoughts? Ideas? Ways to re-enable XML export without plugins?