• Editor
  • Spine TexturePacker command Line

Related Discussions
...

I use Spine -i myInputPaht -o myOutputPath -p atlasName ,how can i set atlas parameter
I want appoint atlas name and parameter

http://esotericsoftware.com/spine-export#Command-line

The


pack or -p parameter is either the texture atlas name to use when writing output files or a path to a pack settings JSON file. The pack settings JSON file is created using Spine by clicking on the Save button at the bottom of the Texture Packer Settings dialog.

5일 후

If i want specify atlas name and setting , I can't use -p at the same time?
must use it like this?

When texture packing occurs, the settings from the specified pack settings JSON file are used. If a texture atlas name is specified instead, then the default settings are used. These settings are overridden by settings defined in any pack.json files found in the input folders. See the Spine texture packer JSON Configuration for more information.

Ah, I understand now. When you specify a JSON file, the name of the file without the extension is used as the atlas name:
-i myInputPath -o myOutputPath -p atlasName.json
I will add this to the docs.