Skip to content

新版本因未知原因无法默认切换中文 #5935

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task done
Miaowuji1935 opened this issue Mar 23, 2025 · 9 comments
Closed
1 task done

新版本因未知原因无法默认切换中文 #5935

Miaowuji1935 opened this issue Mar 23, 2025 · 9 comments
Labels
· Bug 重复 与已有的反馈或讨论重复

Comments

@Miaowuji1935
Copy link

Miaowuji1935 commented Mar 23, 2025

检查项

描述

新版本改变了不知道什么,无法在自动设置为中文开启的时候设置为中文。

重现步骤

1、下载一个>1.20.3的客户端
2、启动

日志与附件

Log1.txt

@Miaowuji1935 Miaowuji1935 added · Bug 新提交 需要社区初步确认其有效的新提交 labels Mar 23, 2025
@Open-KFC
Copy link
Collaborator

Open-KFC commented Mar 23, 2025

我这没问题啊
修改游戏语言的方法是修改 options.txt 文件,和进入时界面应该没关系吧((

反馈者提供的 Log1.txt Ln360

[20:08:11.907] [Launch] 已将语言从 none 修改为 zh_cn

Ln612

[20:13:03.070] [Launch] 需要的语言为 zh_cn,当前语言为 zh_cn,无需修改

Dim RequiredLang As String = If(CurrentLang = "none" OrElse Not Directory.Exists(McVersionCurrent.PathIndie & "saves"), '#3844,整合包可能已经自带了 options.txt
If(Setup.Get("ToolHelpChinese"), "zh_cn", "en_us"), CurrentLang.ToLower)
If McVersionCurrent.Version.McCodeMain < 12 Then '注意老版本(包含 MC 1.1)的 McCodeMain 可能为 -1
'将最后两位改为大写,前面的部分保留
RequiredLang = RequiredLang.Substring(0, RequiredLang.Length - 2) & RequiredLang.Substring(RequiredLang.Length - 2).ToUpper
End If
If CurrentLang = RequiredLang Then
McLaunchLog($"需要的语言为 {RequiredLang},当前语言为 {CurrentLang},无需修改")
Else
WriteIni(SetupFileAddress, "lang", "-") '触发缓存更改,避免删除后重新下载残留缓存
WriteIni(SetupFileAddress, "lang", RequiredLang)
McLaunchLog($"已将语言从 {CurrentLang} 修改为 {RequiredLang}")
End If

@Miaowuji1935 Miaowuji1935 changed the title 新版本因更改进入界面无法默认切换中文 新版本因未知原因无法默认切换中文 Mar 23, 2025
@Miaowuji1935
Copy link
Author

我这有时候可以复现,有时候不能复现,更改了的进去没有辅助页面,没更改的进去是让调旁白的

@Open-KFC
Copy link
Collaborator

Open-KFC commented Mar 23, 2025

复现成功。
步骤:下载 1.21.4 ,进入 1.21.4 ,此时能够正常更改语言,删掉 1.21.4 再下载一个再进入就出问题了。

Ln 560: [20:45:01.424] [Launch] 已将语言从 none 修改为 zh_cn
Ln 909: [20:45:53.013] [Launch] 需要的语言为 zh_cn,当前语言为 zh_cn,无需修改

Log1.txt

Bug 出现时进入游戏后显示该界面。

Image

@Open-KFC Open-KFC added 等待确认 已经过社区确认,等待开发者确认 and removed 新提交 需要社区初步确认其有效的新提交 labels Mar 23, 2025
@Miaowuji1935
Copy link
Author

Miaowuji1935 commented Mar 23, 2025

每次重启PCL II会在可以进行一次更改语言

@Miaowuji1935
Copy link
Author

以及我发现在重下过程中速度明显慢于第一次下载

@Miaowuji1935
Copy link
Author

睡觉了,保持

@wyc-26
Copy link
Contributor

wyc-26 commented Mar 23, 2025

以及我发现在重下过程中速度明显慢于第一次下载

请新开一个 Issue 进行反馈

@Open-KFC
Copy link
Collaborator

Open-KFC commented Mar 23, 2025

: 2294 中的 mc 版本(1.19.3)不会进入旁白页面


以及我发现在重下过程中速度明显慢于第一次下载

我这也有这个情况……下载原版支持库的速度从几 M 变成了 200+K。

@Open-KFC Open-KFC added 重复 与已有的反馈或讨论重复 and removed 等待确认 已经过社区确认,等待开发者确认 labels Mar 23, 2025
@wyc-26
Copy link
Contributor

wyc-26 commented Mar 23, 2025

#2294

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
· Bug 重复 与已有的反馈或讨论重复
Projects
None yet
Development

No branches or pull requests

3 participants