有大佬可以帮忙看看吗

类似于快感前线,不过是16进制分类

欲炼江湖Spine整理工具.zip (1.8 MB)

import os
import subprocess

dir = r""
covertool = r"astcenc-avx2.exe"  # 你的 astcenc 路径

def convert_astc(astc_file):
    png_file = os.path.splitext(astc_file)[0] + ".png"
    cmd = [
        covertool,
        "-ds",          # fucking patch version
        astc_file,
        png_file
    ]

    try:
        subprocess.run(cmd, check=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
        print(f"Done: {png_file}")
    except subprocess.CalledProcessError as e:
        print(f"FUck: {astc_file}")
        print(e.stderr.decode(errors="ignore"))

for root, dirs, files in os.walk(dir):
    for file in files:
        if file.lower().endswith(".astc"):
            convert_astc(os.path.join(root, file))

感谢两位大佬:hugs:

都不知道该怎么说好了,用Spine播放序列帧动画 :man_facepalming:

换皮来的


明显的换皮(单个贴图周围有其他贴图残影的且出现多次的就是拆开编辑后在导出而且导出模式不是多边形模式)