See #2271.
Skin saving
Embed the png files of non-standard skin parts into the json skin files as base64 encoded strings when saving the skin.
Standard (SKINFLAG_STANDARD
) means that the skin part was loaded from the save path (the first path listed in storage.cfg
).
Skin loading
Skin parts are first loaded based on the filename. If the filename search fails and embedded data is present, skin parts are decoded from the embedded data.
#### Base64 implementation
...