Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Adds Python scriptable general purpose import/export plugin #415
So, I've been sitting on this for about a year due to lack of better log output mechanism than printing to stdout, that better mechanism is now implemented as ConsoleDock.
To the uninitiated, a brief overview:
What it is
Allows adding new map filetypes as python scripts in ~/.tiled/ directory.
What it does
Map import and export with tilesets, layers and objects.
At least Windows 7 and Linux (Ubuntu/Arch Linux)
Personally I favor a system wide installation of python, but it was tested that is not needed if python27.dll (on windows) and python27.zip are copied to the Tiled installation directory (this is combined size of 3.5MB).
Adding support for 3.x was considered and doesn't look like too much work (it should even be able to be supported by the same plugin, taken that the scripts would be loaded from separate directories), but I may not have time to take this on for couple of months.
The plugin crashes (along with Tiled), when I try to open the example map
Edit: looking into this, it seems to be due to an uncaught script exception. After that it will still try to set a
I've avoided this with a local change and got the script error from the console:
So, I hope you will consider my proposal to change around the way the
Yep, the log interface change you proposed sounds logical.