• Editor
  • PhotoshopToSpine script: faster + new [overlay] tag

Related Discussions
...

Hello Misaki
Well, the main difference is that my PSD contains more than 150 layers and multiple [slot] and [merge] folders in a single [folder] folder. (your .ZIP is empty)


What efficient advice would you give me if, after importing into Spine, I want to update or add some photoshop layers (in [slot]) and re-import them with the script? Should I export all layers again and only import changes/new into Spine?

Oh, I'm sorry that I missed to contain the psd into the zip file! I have tried to add two more sets of slots and attachments but still no problems. I have attached the psd as a zip file again so you can check it here.
overlay-tag-test.zip

What efficient advice would you give me if, after importing into Spine, I want to update or add some photoshop layers (in [slot]) and re-import them with the script? Should I export all layers again and only import changes/new into Spine?

It is not necessary to export all layers. You can export only the layers you want to export by hiding irrelevant layers and enabling Ignore hidden layers in PhotoshopToSpine. Spine provides the following options on the Import Data window:
Import - Spine User Guide: Import into an existing skeleton

To replace existing attachments, check Replace, then click the Import button.

Note you can also export everything from Photoshop, then when importing into Spine choose Ignore for Existing attachments. This way you don't have to hide things in Photoshop, but the export takes longer.

Thanks for your replies Misaki and Nate,
when I export in two times, it works well. Probably my photoshop file which is too big, with too many layers. Or my computer, a little too old...

Hmm, if the problem occurs again, please let us know. Thank you for getting back to us!

6 jours plus tard

It looks like the script doesn't clear memory after it's finished running:

The memory remains taken until I close Photoshop entirely. After opening the file again the usage looks a bit more reasonable:


Script: downloaded from repo today
Photoshop: 22.5.6 (I couldn't run the script on the latest 23 version - something about an invalid layer name)
OS: Windows 10 Home

Photoshop should not hold on to memory after the script completes. I'm afraid that is out of our control. 🙁

The script should run on the latest Photoshop. If you can provide the error you get, maybe we can fix it.

un mois plus tard

Hello.
This script is perfect and make life easier...except for the choice for the path of json/images folder.
It would be handy to browse in our personnal folders than type the path.
Q: for now, how can I choose a folder that is located somewhere else on my hard drive than the location of the photoshop file (above the ./ default location)?
Thanks

You can put in the full path, eg C:\path\to\folder. I use a clipboard history tool that allows me to copy a file, then paste its path.