• Bugs
  • Command Line Export, Scale Doesn't Work

According to this page (http://esotericsoftware.com/spine-export#Usage) one of the properties that you can pass into a command line export is -s or


scale. When checking -h this argument isn't listed and it doesn't appear to work. I have a .json animation that I'm trying to convert to a .skel binary but as I can't pass in the scale argument it's breaking the animation completely. Not really sure what to do next here. There's a whole bunch of these files so it's impractical to convert them manually.

I've tried this on 3.6.53 and 3.7.19-beta

Related Discussions
...

Sorry for the delay.

If you don't see the parameter in usage (-h or `


help) then you need to update your Spine launcher, which means to download and reinstall Spine. I believe


scale/-s` is only in the beta, so be sure to try the latest beta version (the launcher can load any version).

I've updated my spine launcher to 3.7.20 (it was using 3.6.49 previously). The scale option now appears to be available but it still isn't properly applying. The resulting skel binary looks as though no scaling has been applied.

Again I've tried this using both 3.6.53 and 3.7.19-beta. In the beta version I was seeing the same behaviour as before but amusingly using 3.6.53 the scale property appears to scale the UI? I also get an error, "Invalid Action: Audio View".


I was able to find a workaround by splitting my export into two calls. One to import from .json to .spine with scale then a second to export from .spine . skel. Really feels like this should be doable in one action though.

Godzilla spineboy!

The invalid hotkey action warning happens when you move from a newer version to an older version. The old version doesn't recognize the hotkeys added to your hotkey file by the newer version. I believe we've improved this in 3.7 to just show a less invasive toast message. This won't be helpful until going from 3.8+ to 3.7 though.

The scaling parameter is relatively new. We will look into your report and get it fixed soon! I've created an issue to track it:
https://waffle.io/EsotericSoftware/spine/cards/5b52517dd939c9001c94cbb9