• 中文
  • 命令行模式下的纹理解包存在一些问题

Related Discussions
...

因为一些原因,我需要通过使用命令行大批量的进行纹理分解。我发现在GUI模式下只有在4.0版本以上进行才不会出现图片错误。而命令行模式的分解功能我尝试了很多次都没法修改为更先进的版本。

Hello, the command line message shows no errors. As we don't know how the image is supposed to look like, could you post a comparison?
您好,命令行消息显示没有错误。 由于我们不知道图像应该是什么样子,您可以发布比较吗?

Also, is there a reason for you not to use the latest Spine version if you only have to unpack atlases? If there is not, could you repeat the steps with the latest version of Spine and see if the problem is still present?
另外,如果您只需要解压地图集,是否有理由不使用最新的 Spine 版本? 如果没有,您能否使用最新版本的 Spine 重复这些步骤,看看问题是否仍然存在?

Erika a écrit

Hello, the command line message shows no errors. As we don't know how the image is supposed to look like, could you post a comparison?
您好,命令行消息显示没有错误。 由于我们不知道图像应该是什么样子,您可以发布比较吗?

Also, is there a reason for you not to use the latest Spine version if you only have to unpack atlases? If there is not, could you repeat the steps with the latest version of Spine and see if the problem is still present?
另外,如果您只需要解压地图集,是否有理由不使用最新的 Spine 版本? 如果没有,您能否使用最新版本的 Spine 重复这些步骤,看看问题是否仍然存在?

这是对比。如果不同通过命令行进行分解,那我会进行大量的无趣工作,我想要避免这种情况。或许我应该让你们试试这个东西。[attachment=1]IR9G][ZGY6ADBRM3N5N0K9.png[/attachment]

谢谢你分享你的纹理图集数据。我确认它可以在我的电脑上重现。这似乎不是命令行的问题,因为我在Spine Editor 3.8.99上解压纹理时再现了它。Spine 3.8.99是否导出了原始纹理数据?你能和我们分享一下你导出这个骨架时的 Texture packer settings 吗?


Thank you for sharing your texture atlas data. I confirmed it can be reproduced on my PC. It seems not a problem of the command line because I reproduced it when I unpacked the texture on the Spine Editor 3.8.99. Are the original texture datas exported by Spine 3.8.99? Could you share with us the Texture packer settings when you exported this skeleton?

Misaki a écrit

谢谢你分享你的纹理图集数据。我确认它可以在我的电脑上重现。这似乎不是命令行的问题,因为我在Spine Editor 3.8.99上解压纹理时再现了它。Spine 3.8.99是否导出了原始纹理数据?你能和我们分享一下你导出这个骨架时的 Texture packer settings 吗?


Thank you for sharing your texture atlas data. I confirmed it can be reproduced on my PC. It seems not a problem of the command line because I reproduced it when I unpacked the texture on the Spine Editor 3.8.99. Are the original texture datas exported by Spine 3.8.99? Could you share with us the Texture packer settings when you exported this skeleton?

我找不到当时的设置了,很抱歉无法提供它。

谢谢你的确认。根据Nate的说法,纹理打包器的格式在4.0中发生了变化,所以3.8并不理解新的格式。你的纹理似乎是由4.0导出的,所以你应该用4.0来解包纹理。你可以使用-u参数来启动一个特定的编辑器版本。例如,添加-u 4.0.45将启动编辑器4.0.45并在其上运行命令。你可以试试吗?

-u参数在这里有解释。
Command line interface - Spine User Guide: Editor


Thank you for confirming. According to Nate, the texture packer format changed in 4.0, so 3.8 doesn't understand the new format. Your textures seem to be exported by 4.0, so you should use 4.0 to unpack the textures. You can start a specific editor version using the -u parameter. For example, adding -u 4.0.45 will start the editor 4.0.45 and run the script on it. Could you try it?

The -u parameter is explained here:
Command line interface - Spine User Guide: Editor