Nate

We've just rewritten our PhotoshopToSpine script to be much faster. It's about twice as fast for most PSDs but in some cases it's 4 or 5 times faster for large PSDs! It also fixes PNG file sizes being much larger than necessary and has a number of other minor improvements. It still works with all versions of Photoshop back to CS2.

Also note it can be about 10% faster if you minimize Photoshop while it's running the script. For example on Windows, press Windows+D to minimize Photoshop and show the desktop.

As always, you can get the latest script here (version 7+).

Please let us know if you run into any trouble. A lot of the code had to change to make it faster. We've tested it extensively but if you find any issues we'll be happy to fix them right away.
アバター
Nate

Nate
  • 記事: 11279

Matcha

Thanks for making this amazing tool! I have one problem with the new script (I'm using v7.04). The origin in the spine is different from what I set in photoshop after scaling.

Here are the detailed steps:
  • I set the photoshop origin to the root of the human character ( somewhere in the middle of two feet )
  • I use the PhotohshopTo Spine script and set the scale to 50%
  • I got all the images in a folder and the JSON file, then import the data to Spine using the JSON file.
  • After I import the data, the character is way above the root...
  • If I set the scale to 100% in the script and export. then there's no problem. I guess there's something wrong with the scaling and the origin?
Matcha
  • 記事: 2

Nate

You're right. I've committed a fix! Script version 7.05.
アバター
Nate

Nate
  • 記事: 11279

eprime

Thank you!
the direct link version show 6.13 instead 7.x, it's ok?
-
Cristian Zerbinati - Eprime
アバター
eprime
  • 記事: 103

Matcha

Nate さんが書きました:You're right. I've committed a fix! Script version 7.05.
The new version works! Thank you for the quick fix! :heart:
Matcha
  • 記事: 2

Nate

eprime さんが書きました:the direct link version show 6.13 instead 7.x, it's ok?
No, 6.13 is old. It shows 7.05 for me. Maybe your browser is caching the file? What link are you clicking?
アバター
Nate

Nate
  • 記事: 11279

skarasuko

I tried the new version, and I'm unable to perform the script successfully in CS6.
添付ファイルを見るにはパーミッションが必要です
skarasuko
  • 記事: 89

Nate

Thanks for trying it. We've now fixed the problem (script version 7.06). Can you please try again?
アバター
Nate

Nate
  • 記事: 11279

skarasuko

It's now functional. Thanks!
skarasuko
  • 記事: 89

Kuro Kei

Hi Nate, i have small questions with the script, im trying to export multiple skin asset inside a folder, for example i have 5 wings skins and 5 legs skins, when export it to Spine i want them to be separated into Wing and Leg folder, with skin subfolder inside, so i try this construction
A.jpg

The script return me the folder order like this
B.jpg

as you can see it double the subfolder inside, i currently have 2 A folder and 2 B folder
Why is it happend ? Is it a bug ?
What i want is something like this
C.jpg

Thank you for reading this
添付ファイルを見るにはパーミッションが必要です
Kuro Kei
  • 記事: 2

Nate

You're right, there was a bug! We've fixed it in script version 7.07. Thanks for the clear bug description! :beer:
アバター
Nate

Nate
  • 記事: 11279

Kuro Kei

Nate さんが書きました:You're right, there was a bug! We've fixed it in script version 7.07. Thanks for the clear bug description! :beer:
Glad i could help, it's been driven me crazy i thought i did something wrong lol

---

Small question tho, is there any plan in the near future that the script can help us to create skin folder inside Spine Editor also, like [skinfolder:name] ? For example right now i have like 75 different skin divide into 15 group inside PTS, when i export from PTS to Spine, it's tedious to manually create skin folder again inside Spine Editor and divide them all over again.
Kuro Kei
  • 記事: 2


Return to Spine