I've had some animator draw and animate some characters for me. The project had some "difficulties", and so I chose to close it despite some "issues" with the end-result.
If I remember well, it says somewhere that Spine supports both a binary format and a text format. And there are multiple runtimes reading the Spine files (binary, text, both?).
My question is:
Is it possible, using one of the runtimes (official or third-party), to read the spine file, modify it programmatically, and save it again, as a "one time migration process"?
Specifically, the animator made the characters look to the left, while they should have looked to the right. I assume I could just fix this at runtime, by mirroring the animation, but I think that having to permanently keep in mind that everything is "backward" is going to raise the probability of errors while ordering more animations and characters from (other) animators, and while coding.
So my idea was to go over the graphics, and mirror each of them manually once, and then use some "script" that mirror the animations themselves, so that everything is consistent again.
My long-term "plan" was to have one single set of animation for all characters, and this brings up an additional similar issue. Once I have all my graphics and animations for "humans", I'd like to run some script on them that performs a non-proportional scaling, so that the animations can also be used on "dwarves" (same width, but shorter). This kind of manipulation can only work in certain situations, that is when the "direction" of the scaling matches exactly the "physical orientation of all original graphics files" (for examples, the arm texture has to have the arm point vertically, rather then horizontally). Therefore I don't expect this to become a Spine feature either.
That would be my second use-case for a programmatic manipulation of the Spine files, at "build time", if you will, rather then at run-time.
If it's possible, I'd greatly appreciate if someone knows of an example script/program that does something similar.