• Editor
  • trim path of images for .skel exports.

Hey! Would it be possible to add a feature that removes the image path from the .skel file when exporting?

I can’t go into too much detail because of some proprietary stuff in the workflow, but I’ll do my best to explain.

I need to use Texture Packer standalone to create the .atlas files, which means the .skel export file has to show all images as if they're just in the main image folder. This really helps reduce the file size, which is crucial since the games I work on have to keep all code and assets under 2MB.

I can achieve this with the .json files, but I'm struggling to find a consistent pattern in the .skel files.

Could Spine add a feature to strip the path during export?
example

  • "xx/xx/image_name" to "image_name"

Hope I explained myself 🙂
Thanks!

    Related Discussions
    ...

    1NobleNight If you want to prevent the image paths in Spine from being written to the .skel file, you should uncheck Nonessential data in the export settings.
    For your information, the binary export format documentation explains what information is considered nonessential: https://esotericsoftware.com/spine-binary-format#Format

    Thanks for the info! I'll give it a try!