HMCL-dev / HMCL-dev/HMCL

[Bug] 在特定Windows版本下使用HMCL导出启动脚本会将中文替换为问号

Open
#6,582 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Java
Stars
10.1k
Forks
934
Avg merge
1d 5h
Merged PRs (30d)
82

Description

问题描述 | Bug Description

在特定的Windows版本下(Windows 11 IoT Enterprise LTSC 24H2),由于系统不支持中文路径会导致游戏启动失败,但在导出日志与启动命令时发现启动命令中的中文被替换为问号导致无法使用命令行启动(分发给了电脑的旧系统副本),而导出日志中的launch.bat参数中文正常,与显示日志内容不匹配

启动器崩溃报告 / 启动器日志文件 | Launcher Crash Report / Launcher Log File

以下是MC的日志,导出的启动脚本与HMCL日志,由于Github不支持上传batch文件,故改为了txt

hmcl-exported-logs-2026-08-02T20-54-55.zip

导出启动脚本.txt

MC日志.zip

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the attached exported startup script and HMCL log, comparing the Chinese arguments shown in each. Trace the launcher entry point that generates the startup command and exported logs, then verify on the affected Windows version that Chinese text is preserved and the command matches the log output.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.