@Scoppex Sorry for the delay. If the script allowed your setup, it would produce this:
"skins": {
"human": {
"weapon": {
"1": { "name": "human/weapons/swords/1" },
"1": { "name": "human/weapons/wands/1" },
"2": { "name": "human/weapons/swords/2" },
"2": { "name": "human/weapons/wands/2" }
}
}
}
This data shows that under the weapon
slot the skin placeholders 1
and 2
each have two attachments. That isn't allowed: a skin can have only one attachment for a skin placeholder. The named used for the skin placeholder is only the layer name. The folders are used for the attachment's name under the skin placeholder.
I tried this with script version 5.9 and you're right that the script doesn't show an error, but it produced the same output I showed above. When imported into Spine, you get this:
Loading Image
Where is the swords
attachments? Gone, because a skin can only have one attachment per skin placeholder.
Can you show the setup in Spine that you want? Then we can advise on the best way to structure your PSD.