-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Tiled Doesn't Load TMX If Files Have Been Moved. #913
Comments
Definitelly. Your only option at the moment, is to either move the files back or to fix up the file references in the TMX file using a plain text editor. |
Didn't even know you could open a tmx in a text editor! Thanks. I'll edit them from there. |
I ran into this issue too, it would be nice to at least have a prompt that lets you browse to the location. We did eventually figure out that you could modify the directory in a text editor. But a less temporary solution is to store everything in folder on your C drive like C:\Tiled\ So long as the file names are all right, there shouldn't be any issues with portability. |
This only applies to tiles in an image collection tileset. Broken references to individual tile images are now no longer raised as an XML parsing error. Also, an "image-missing" icon was introduced which shows in the tileset view for tiles which images could not be loaded, and in the properties view for when the referenced file isn't found. Issue #913
They can be ignored, allowing the user to fix them up after loading the map. In general though, the user should be notified when some images couldn't be loaded. Issue #913
For now it will just load the map. The used tiles won't render in the map view but will show with a "missing image" icon in the tileset view. Using the previously added Edit Tileset functionality, the user can restore any broken image reference. Issue #913
By changing the "Filename" property in the Properties view. This effectively replaces the tileset. If the map uses tiles that are not present in the new tileset, placeholders will be created to avoid the loss of data. This change is necessary in preparation of allowing the loading of map files for which some external tileset references could not be found. Issue #913
Using absolute paths should help fix the problem when you move the .tmx files. Still I don't know why it thinks the path is invalid but it is not displaying the file in the location. |
You can't use absolute paths, since they are often different on each person's machine. In general the relative paths work just fine, but in the future Tiled will probably also support paths relative from a predefined "assets" location (or even multiple locations).
You're replying to an old issue that was resolved in Tiled 0.15. If you're having any issues or suggestions related to loading TMX files that have moved or refer to assets that have moved, please open a new issue about it with more details. |
I think there should be a way to respecify where tilesets are located in the event that you move them around for more organization. As it is now, Tiled says it can't find it and doesn't even bother to load or ask if you want to find it on your own. So I think an option such as this would be great!
The text was updated successfully, but these errors were encountered: