使用 Skeleton Viewer 3.6.53命令行打开不同的文件时,会打开错误文件。 先使用浏览打开A.skel 时候可以正常, 然后使用命令行打开B.skel 时,会打开A.skel 文件
您使用什么操作系统?
Mario 我使用的是 Windows 10
如果加载“新”文件失败,SkeletonViewer 将打开上次成功打开的文件。 我的猜测是因为您试图从命令行打开新文件,所以文件路径不正确。
SkeletonViewer will open the last successfully opened file if loading the "new" file failed. My guess is since you are trying to open the new file from the command line, that the file path is incorrect.
我换了新的文件后,依然打开了第一个文件,并且没有错误提示,我应该怎么做才能使用命令行打开正确的文件。
第二次执行骨架查看器时,您是否保持运行状态? 这是行不通的。 在第二次运行之前,您必须关闭骨架查看器。
Mario 是关闭状态,我关闭了第一个,才运行第二条命令行。 两个文件都没有问题,从浏览器中都能顺利打开,只有从命令行打开是失败的。
抱歉,我用错误版本的骨架查看器进行了测试。
SkeletonViewer 3.6.53 不支持命令行参数。 您必须通过 UI 打开文件。
My apologies, I tested with the wrong version of skeleton viewer.
SkeletonViewer 3.6.53 does not support command line arguments. You have to open the files via the UI.
我希望使用一个便捷的方式查看spine文件,请问以后 SkeletonViewer 3.6.53 可以支持命令行吗?
恐怕不会。 Spine 3.6 已经快 6 岁了,我们不再在那个版本上工作。
但是,SkeletonViewer 的源代码在 GitHub 上。 您可以修改它们以支持命令行参数: https://github.com/EsotericSoftware/spine-runtimes/tree/3.6/spine-libgdx
I'm afraid it will not. Spine 3.6 is almost 6 years old, and we no longer work on that version.
However, the sources for SkeletonViewer are on GitHub. You can modify them to support command line arguments: https://github.com/EsotericSoftware/spine-runtimes/tree/3.6/spine-libgdx