• Editor
  • CLI usage in Spine Trial

Hi guys!

We're evaluating Spine in the company I work for, to see if it would fit our workflow. One feature that would particularly help us is the Texture Unpack via command-line (http://en.esotericsoftware.com/spine-command-line-interface#Unpack), however, it seems that the CLI is not available using the Trial app. Is this true, or am I missing something?

Extra question: is the "Unpremultiply alpha" option, present in the GUI, available in the CLI?

Thanks!

Related Discussions
...
  • Изменено

Aye, non of the CLI options are available for the trial. You can contact us about an evaluation version: contact@esotericsoftware.com

In the full version (ESS or PRO) you can unpack via the CLI:
Command line interface - Spine User Guide: Unpack

There is currently not a way to use Unpremultiply alpha from the CLI, sorry. In newer versions of Spine the atlas contains pma: true when PMA is enabled. We'll have CLI texture unpacking perform un-PMA when that is present, starting in version 4.1.26-beta.

Note we provide our texture unpacker as FOSS, as part of libgdx:
https://github.com/libgdx/libgdx/blob/master/extensions/gdx-tools/src/com/badlogic/gdx/tools/texturepacker/TextureUnpacker.java
If you wanted to use that, since you have the source, you could customize it as you like.

There is also a libgdx TexturePacker, though it lacks some important features that Spine's packer has (no polygon packing, doesn't know about meshes, etc).