toruzz / TileMolester

Tile Molester is a multi-format, user-extensible graphics data editor for game consoles.
Other
59 stars 7 forks source link

errors because "resources/tmres.dtd" is missing #13

Open bogaa opened 8 months ago

bogaa commented 8 months ago

I got the file from a old release but the error can be confusing and renders the tool almost unusable. You can not even reopen a file without a error that trashes the UI.

Since I have you on the phone.. This is my number one go to tool for hacking retro games. Love it so much <3 Thanks for the updates! I use the new feature to edit raw palettes files in a dissambly of a game. Very usefull. There is one thing I had love to see and that is some new ways to share resource files. Like a second release of the resource file. May be it could be a folder where you accept pull request and people could just send you file and then it could be found in the release tab.. just a idea.

AdamCatalyst commented 5 months ago

I ended up moving the "tmres.dtd" file to the applications root directory, and now it seems to work just fine? Otherwise I kept getting errors. Not sure what is happening here.

Europia79 commented 5 months ago

@AdamCatalyst

Do you have a solution for Bookmarks not working ?

EDIT: Nevermind: initially, it was overwriting the file with an empty file because of the tmres.dtd issue.

Luckily, i keep backups or else that would be a ton of work lost !!!

AdamCatalyst commented 5 months ago

I don't have a solution, but I can see what the problem might be.

The Application wants to look for the "tmres.dtd" at "resources/tmres.dtd". HOWEVER, when the application saves the resources XML with bookmarks and palettes, it incorrectly writes the path for the location of "tmres.dtd" in the XML as "resources\tmres.dtd". That's why it is broken.