Hey y'all!
• Can we make a forum area dedicated to command line export?
Speaking of command line export 🙂
• We really need a way to export skins to their own atlas. For some files, at runtime, I only want to load the skin I need, not everything in my spine project.
• When exporting per skin, we'd like an option to put all the "default skin" attachments into said skin atlas (We have trouble getting our phaser web runtime to use multiple atlas pages). And hey, if it fits, it's an atlas less to ship.
The current advice to "use the folder packing" and somehow manually strip things we don't need is very cumbersome, and when I'm searching the forums I see the conversation being more about "why" - and offering elaborate workarounds while there's a clear need, asked for the first time four years ago: http://zh.esotericsoftware.com/forum/Export-just-one-skin-5494
We're a bit stuck right now. We're upgrading spine and cleaning house in the process, but this feature would make our life a lot easier, and we're just puzzled why it didn't make it in yet.
I'd suggest something along this line:
spine -i spineproject.spine -splitskins -adddefaulttoskin -o folder -p texture_export_settings.json
where the folder would the contain all atlasses split by skins, and because of the -adddefaulttoskin flag would also contain the default skin in them.
I know it's a big ask, but I see more people struggling with the same thing and having trouble wording their needs, as it's complicated. Thanks for having a look!