Seefaaa/aseprite-dmi

OS error 123

Closed this issue · 1 comments

Script Version: v1.0.7 Windows, installed via dragging aseprite-dmi-windows.aseprite-extension into the aseprite window
Aseprite Version: v1.3.5-x64

What happened: When attempting to open goonstation/icons/obj/items/items.dmi (https://github.com/goonstation/goonstation/blob/master/icons/obj/items/items.dmi) with the plugin, results in the following error text and failed window:

Failed to open the DMI file
The filename, directory name, or volume label syntax is incorrect. (os error 123)
image
C:\Users\myUserName\AppData\Roaming\Aseprite\extensions\asprite-dmi\scripts\editor\rendering:lua:178: attempt to index a nil value (field 'dmi')
image
Window displays "Loading..." until it is clicked, then displays nothing.
image

Other .dmi files in the codebase open without issue.

This extensions caches states inside your temp directory with their respective names. So this happens beacause there is a state named "???" inside items.dmi which cannot be used to name a file in Windows.
Since I'm busy lately, I'm not planning to fix this issue soon but you can use DreamMaker to rename the state and use the extension properly again.