HMCL-dev / HMCL-dev/HMCL

关于hmcl启动自动安装了optifine的mc时,optifine的行为异常的问题

Open
#1,290 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

启动器版本

3.5.2.126

平台

Win11

Java

Openjdk 8u312b07

游戏版本

1.8.9

对游戏所做的修改

optifine M5(1.8.9), patcher 1.8.0 rc1

游戏崩溃报告

crashreport-With auto-installed optifine.txt

启动器崩溃报告

No response

启动器日志文件

No response

问题描述

标题可能比较抽象,但是我实在想不出更好的概括,抱歉。
出问题的mod是patcher,这是个1.8.9的常用优化类mod,它有部分transformer依赖optifine。然而,如果使用hmcl自动安装optifine,然后安装patcher,用hmcl启动游戏,则会导致游戏崩溃。下面是启动器的崩溃提示:
屏幕截图 2022-01-08 201252

我的显卡是gtx1060 6G,驱动为最新,应该不存在显卡问题。我随后把这个问题报告给了patcher的开发团队,他们通过查崩溃报告发现了是optifine的依赖缺失。我于是尝试直接把optifine放入mods文件夹,发现可以正常启动,所以我开始怀疑是optifine安装方式的问题。可是后来我下了个pcl2做测试,发现在同样条件下它居然可以启动。所以就有了这么个奇怪的标题。

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 by reproducing the reported combination of HMCL 3.5.2.126, Minecraft 1.8.9, auto-installed OptiFine M5, and Patcher 1.8.0 RC1 on Windows 11. Compare the linked crash report with a launch using OptiFine in the mods folder, then trace how HMCL installs and assembles OptiFine dependencies. Done means the auto-installed configuration launches successfully with Patcher.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.