• 中文
  • 如何把3.8的文件转为4.0

  • Изменено
Related Discussions
...

项目里以前用的是3.8.97,目前项目要做引擎迁移,想顺带升级下spine,但4.0的库无法加载3.8的导出文件,可以对文件做下升级吗?

是的,你可以通过启动Spine 4.0,打开在3.8.97中创建的项目,并重新导出它来升级你的Spine项目。但是,如果你有大量的项目,建议你使用命令行界面来自动导出过程,因为一个一个手动操作会很乏味:
命令行界面 - Spine用户指南: 命令行界面

这里有一份示例脚本, 我们用它来导出全部官方Spine示例项目并自动创建纹理atlas:
https://github.com/EsotericSoftware/spine-runtimes/blob/4.0/examples/export/export.sh


Yes, you can upgrade your Spine project by launching Spine 4.0, opening the project created in 3.8.97, and re-exporting it. However, if you have a large number of projects, it is recommended that you use the command line interface to automate the export process, as doing so manually one by one can be tedious.
Command line interface - Spine User Guide: Command line interface

For example, here is a script we use to export all the Spine example projects and to create texture atlases:
https://github.com/EsotericSoftware/spine-runtimes/blob/4.0/examples/export/export.sh