这段时间想使用 FoldCraftLauncher(一个 Android Minecraft 启动器),结果在使用自己的整合包时运作异常,报错如下:

missing software! (we will try basic console input)
 ___________
/           \ 
| tiny file |
|  dialogs  |
\_____  ____/
      \|
tiny file dialogs on UNIX needs:
   applescript or kdialog or yad or Xdialog
or zenity (or matedialog or shellementary or qarma)
or python (2 or 3) + tkinter + python-dbus (optional)
or dialog (opens console if needed) ** Disabled by default **
or xterm + bash (opens console for basic input)
or existing console for basic input
and the command `which` to detect any of the above.


Minecraft

Failed to initialize text-to-speech library. Do you want to continue?
If this problem persists, please report it at bugs.mojang.com
y/n: 

问题分析

看起来是 text-to-speech 库(Java 类 com.mojang.text2speech)的问题,所以聪明的我很快找到了可能的问题:复述功能。

通过查询 客户端选项文件格式 我可以知道,options.txt 文件里的 narrator 选项控制着复述功能的设置,它有这几个值:0–3:'关','复述所有','复述聊天消息','复述系统消息'

使用 MT 管理器打开文件查看,果真 narrator 选项不是默认的 0 而是 2,所以只需要填入 narrator:0 保存重启游戏即可。

参考资料