• EditorBugs
  • Resetting hotkeys (new version).

在使用win11版本的系统中,我修改了热键,但是当我打开低版本的spine 的时候热键就会被重置,有能使热键不被重置的方法吗?

In the win11 version of the system, I modified the hotkeys, but when I open the spine of the earlier version, the hotkeys will be reset. Is there a way to prevent the hotkeys from being reset?

Spine Launcher 4.2.06
Esoteric Software LLC (C) 2013-2024 | http://esotericsoftware.com
Windows 10 Enterprise amd64 10.0
NVIDIA Corporation, NVIDIA GeForce RTX 2070/PCIe/SSE2, 4.6.0 NVIDIA 551.76
Launching: Spine 3.6.53 Professional
Spine Launcher 4.2.06-legacy
Starting: Spine 3.6.53
Spine 3.6.53 Professional
Licensed to: <removed> NVIDIA Corporation
NVIDIA GeForce RTX 2070/PCIe/SSE2
4.6.0 NVIDIA 551.76
Resetting hotkeys (new version).
Using customized hotkeys.
Started.

  • Misaki님이 이에 답장했습니다.
    Related Discussions
    ...

    在Spine中,当您在使用新版本的Spine后再打开一个较旧版本时,可能会遇到热键被重置的情况。这是因为新版本可能会添加新的热键,而旧版本无法识别这些新增的热键。根据Spine论坛上的讨论,有几种方法可以尝试解决这个问题:

    1. 忽略错误消息:如果您在使用旧版本时看到有关热键的错误消息,您可以选择忽略这些消息。这些消息通常不会影响Spine的其他功能。

    2. 删除热键文件:您可以尝试删除热键文件,然后重新启动Spine。这样做会使Spine创建一个新的热键文件,其中只包含当前版本支持的热键。请注意,这将删除您自定义的所有热键设置。热键文件通常位于以下位置:

      • Windows: <用户主目录>\Spine\hotkeys.txt
      • macOS: <用户主目录>/Library/Application Support/Spine/hotkeys.txt
      • Linux: <用户主目录>/.spine/hotkeys.txt
    3. 手动编辑热键文件:如果您熟悉热键文件的格式,您也可以手动编辑该文件,删除或修改不被旧版本支持的热键条目。

    请记住,当您在不同版本之间切换使用Spine时,可能需要重新配置热键设置。

    • a_da님이 이에 답장했습니다.

      a_da Hmmm, I've been trying for a while, but unfortunately I can't figure out how to reproduce the log: "Resetting hotkeys (new version)". What version of Spine did you use to set the hotkey before you opened 3.6.53?
      However, even if we can reproduce the problem, we may not be able to fix it, as it may be a Spine 3.6.53 specification, and you may need to fix it manually, as Spinebot recommends.

      • Erika 님이 이 게시물을 좋아합니다..

      Only chiming in to suggest: you may want to save a copy of your hotkeys file as backup, and replace it when it gets reset.

      Older versions store hotkeys and settings in this files, on Windows:

      <user home folder>\Spine\hotkeys.txt
      <user home folder>\Spine\prefs.json

      The prefs.json contains a hotkeysVersion. When an editor version is run that is a different version, the hotkeys are reset and the new hotkeysVersion set.

      If you are moving between editor versions a lot, you may encounter this as unwanted behavior. To fix it, you could write a batch script that copies hotkey settings for a specific version and then runs Spine with that version number. Eg:

      xcopy "settings3.6.53\*.*" "<user home folder>\Spine\"
      Spine -u 3.6.53

      Where settings3.6.53 is a folder containing your prefs.json and hotkeys.txt for 3.6.53. You could have other files for other versions.

      Newer versions of Spine do this better. First the files are stored in a settings subfolder. Next, if hotkeys or other settings files are incompatible, the old file is left behind and a new file with a higher number is used. That's why you see files like this:

      <user home folder>\Spine\settings\hotkeys-1.txt
      <user home folder>\Spine\settings\editor-1.json
      <user home folder>\Spine\settings\editor-2.json

      Here there are two editor settings files. editor-2.json is used by newer versions and older versions use editor-1.json.

      • a_da님이 이에 답장했습니다.
      • a_da 님이 이 게시물을 좋아합니다..

        Nate thanks I think I'm starting to figure out how to fix this.

        • Misaki 님이 이 게시물을 좋아합니다..

        Nate When you open the 3.6.53 spine, it will automatically reset the txt and json files. Changing the files will not work

        Spinebot 我现在发现不止是重置热键,包括所有的设置都会被重置,4.0以下版本使用了有三个版本,3.8.99的打开不会重置所有的自定义设置,3.7.94和3.6.52都会重置所有的设置,这个问题有什么解决的办法没有?

        I believe 3.6.53 resets the settings only when it finds settings from some other version.

        Run 3.6.53, it resets all the settings, setup new settings in the editor and modify hotkeys.txt like you want, copy those files somewhere save. Run Spine like:

        copy path\to\3.6\settings\prefs.json <user home folder>\Spine\prefs.json
        copy path\to\3.6\settings\hotkeys.txt <user home folder>\Spine\hotkeys.txt
        spine -u 3.6.53

        Then when you want to run eg 3.8.99:

        copy path\to\3.8\settings\prefs.json <user home folder>\Spine\prefs.json
        copy path\to\3.8\settings\hotkeys.txt <user home folder>\Spine\hotkeys.txt
        spine -u 3.8.99

        Unfortunately these versions are all super old and we don't do fixes to such old versions anymore. 3.6 is 7 years old. 3.8 is 5 years old. I highly suggest you update to 4.2, where we have a graph editor, physics, and other amazing things.