HMCL-dev / HMCL-dev/HMCL

[Feature] 导出崩溃信息时,将硬件和本次启动游戏的信息单独导出至一个文件

Open
#4,101 0 comments 2 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

概述 | Summary

在HMCL的游戏崩溃界面点击导出崩溃信息的时候,将电脑的硬件和软件信息,本次启动游戏的版本,模组加载器,Java版本和路径,mods文件夹结构这些有关信息导出到一个单独的文件内

原因 | Reason

诊断崩溃经常需要去翻HMCL的日志来获取mods文件夹结构,java路径这些信息,但是除了这些信息之外HMCL的日志内容在绝大多数时候没有用处。
crash report确实会包含一部分信息,但问题是很多时候根本就不会生成crash report,只能看latest.log。
由于HMCL日志中对诊断崩溃有用的其实只要文件末尾一小段(相对于整个文件来说),如果看崩溃信息的时候使用的是移动设备就会比较困扰了,上翻下翻没那么好操作。
因此建议将这些内容从HMCL自身的日志中隔离出来单独放在一个文件内。

详情 | Description

No response

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 from the export-crash-information action in HMCL's game crash screen and inspect how the existing HMCL log, crash report, and current game-launch information are collected. The separate export should include hardware and software details, the launched game version, mod loader, Java version and path, and the mods folder structure without the unrelated bulk of the HMCL log.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.