ID:2516781
 
Resolved
Related to the maptext ampersand issue, icon files containing states with long names could crash the editor.
BYOND Version:513.1490
Operating System:Windows 7 Home Premium
Web Browser:Chrome 77.0.3865.120
Applies to:Dream Maker
Status: Resolved (513.1491)

This issue has been resolved.
Descriptive Problem Summary:

Numbered Steps to Reproduce Problem:
1. Open Dream Maker
2. Try to open .dmi file

Expected Results:
1. Be able to view the contents of the .dmi file.

Actual Results:
1. Certain .dmi files don't open anymore. Dream Maker sometimes crashes.

Does the problem occur:
Every time? Or how often?
It happens every time to those certain files. Most dmi's seem to be uneffected.
In other games?
Tested on the SS13 tgstation codebase. Files that I know of don't work are the following.
https://github.com/tgstation/tgstation/blob/master/icons/ obj/machines/research.dmi
https://github.com/tgstation/tgstation/blob/master/icons/ obj/machines/implantchair.dmi
https://github.com/tgstation/tgstation/blob/master/icons/ obj/flora/rocks.dmi

I couldn't open them, irregardless of doing it inside or outside of the project.
In other user accounts?
I verified this with one other person who actually made me aware of this bug.
On other computers?
Same as above.

When does the problem NOT occur?

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked?
Did not occur in earlier versions. Last version: 512.1488

Workarounds:
None known.

Interesting! I'll take a look into this and see what I can find. Chances are this has something to do with state names and the use of UTF-8, since those files worked in 512 and none of the icon handling code changed. But I'll know more when I examine them.
Lummox JR resolved issue with message:
Related to the maptext ampersand issue, icon files containing states with long names could crash the editor.