• Bugs
  • The Script Phtoshoptospine does not work properly

Related Discussions
...

when I export json file to spine it does not show texture only red box with the text "missing"

Thank you @Erika ! It is possible to change path to point by replacement. But. When I open json file which was made by someone the Spine works properly and shows texture. So I guess that it is something wrong with spript itself...and script creates not only png files it creates html file with textures... In all tutorials which I have seen this script create only folder with png ang json file
.. What it can be?
Thanks!

The PhotoshopToSpine script writes a JSON file that contains a path to the images it wrote. When you load the JSON into Spine, that is the path used for the Images node in the tree.

Images are found in Spine as described in the links Erika provided. If you load a JSON file and Spine can't find the images, the images path does not point to a folder with the images. If loading a JSON file from someone else does find the images, it means the images path points to a folder with the images.

The PhotoshopToSpine script does not create an HTML file.

@Nate, I guess itis weirdly, but on my computer, this script makes HTML files
In tutorials, png files script saves png in folder "images", but in my computer, it makes folder "images" where is HTML files and one more folder "images" with
png files. How it can be?

That's is very strange! It must have something to do with the script using export "save for web". We've changed back to "save as" in the latest script (6.8). Please try that, it should work better for you. Sorry for the trouble!

@Nate, thank you very much!
I have just tried how it works. The script does not create HTML files and extra folder with the name "images"
But for properly displaying texture I still need to point the way
Some json files which were created by someone open without boxes, some json files open with red boxes and I must point the way to folder with images
The json files which I create and open in my comp in all cases still have red boxes and I need to point the way...
But I am very happy that I do not need anymore to replace every texture and for them displaying I just need to point the appropriate folder
Thank you!