Hi, I did’t get that error but did get it to work, and haven’t installed any scripts before, so thought I’d share what i did for newbies like me, and maybe it’ll work for you @karikatourea too.
Downloaded the stable version, put “Export as psd_1.0.lua” in the scripts folder (in Aseprite: file > scripts > open scripts folder), restarted Aseprite, and the script showed up in files > scripts.
However, when clicking it, it asked for “Export_as_psd_lib” > “UTF8toSJIS.lua”. I recognised “UTF8…” as one of the 2 other files included in the downloaded zip, so followed the ‘recipe’, created a folder named “Export_as_psd_lib” within the scripts folder and put both of the 2 remaining files from the zip in that. Now i probably restarted Aseprite, and it works!
Tested it with a very simple file, just 2 layers, 1 frame, so can’t say how it’ll react to more complex stuff, but thanks a lot @JJHaggar and @Tsukina-7mochi for bringing this to us !!
Now i’ll go looking for a solution for the other way round – to import layered files to Aseprite, which was initially what brought me here hah