Wrote this and didn't notice the original thread was 5 years old! But I'll leave this as a reply to the previous entry.
1 , How can I reidentify all image after the change of my folder structure?
Did you update the name of the attachments to reflect the Images path change?
if not, you can use Find and Replace
to update the paths. Tree - Spine User Guide: Find and Replace
Example:
- Select all the attachments that should be located under the folder
HardParts
.
- Open
Find and Replace
.
- Under Find, type
^
.
- Under Replace, type
HardParts/
- Make sure
Regular expression
is enabled, and set ´Scopeto
Tree selection`.
Field
should be Name
and set Types
to Region, Mesh
.
Here's an example of the above where I have head
and torso
mesh attachments selected.
When you get the desired result, just click Replace
. Then you can repeat the process for SoftParts
2, If I shouldent chage the folder , How can I export my texture separately?
You can change the folder, you just need to update the attachments, see 1.
3, How can I export all my images in multiple folder with the correct json file via photoshop at the very begining?
Use the [folder]
tag to export your layers to different folders. See spine-scripts/photoshop at master · EsotericSoftware/spine-scripts for more information.