Skip to content
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

无法启动由 NeoForge Installer 安装的版本 #2509

Closed
ZekerZhayard opened this issue Sep 10, 2023 · 5 comments · Fixed by #2548
Closed

无法启动由 NeoForge Installer 安装的版本 #2509

ZekerZhayard opened this issue Sep 10, 2023 · 5 comments · Fixed by #2548
Labels

Comments

@ZekerZhayard
Copy link
Contributor

启动器版本 Launcher Version

3.5.5

平台 Platform

Windows 10 10.0.19045.3086

问题描述 Problem Description

HMCL 的 -cp 参数末尾的原版 jar 使用的是 inheritsFrom 属性指向的 jar,这和官启的行为不一致,导致 Forge 的 -DignoreList= 参数所需的 ${version_name} 占位符指向的 jar 和实际的 jar 不一致

Java

No response

游戏版本 Game Version

No response

对游戏所做的修改 Modifications Made to the Game

No response

游戏崩溃报告 Game Crash Report

minecraft-exported-crash-info-2023-09-04T01-16-36.zip

启动器崩溃报告 Launcher Crash Report

No response

启动器日志文件 Launcher Log File

No response

@burningtnt
Copy link
Member

有修改方案吗?

@ZekerZhayard
Copy link
Contributor Author

ZekerZhayard commented Sep 10, 2023

有修改方案吗?

@burningtnt 我建议把 -cp 末尾的原版 jar 改成与启动的 version 一致,这样和官启的行为也一致
不过不清楚 HMCL 里有什么假定与之冲突

@burningtnt
Copy link
Member

我建议把 -cp 末尾的原版 jar 改成与启动的 version 一致,这样和官启的行为也一致
不过不清楚 HMCL 里有什么假定与之冲突

@Glavo 这一点你清楚吗?(尤其是在低版本)

@burningtnt
Copy link
Member

burningtnt commented Oct 4, 2023

介于 NeoForge 的支持需要使用到大量 #2411 中已有的轮子,所以决定在 burningtnt#1 中开发。

@burningtnt
Copy link
Member

已经修复,感谢 ZekerZhayard 分析

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants