Go to file
zkitefly 29410b951d
优化日志分析器 (#2038)
* 更新 CrashReportAnalyzer.java

* Edit

* Fix

* add

* 删除 CrashReportAnalyzerTest.java

试试删掉的话能不能构建成功

* Fix

* Fix

* Revert "删除 CrashReportAnalyzerTest.java"

This reverts commit 4fe873cfcb.

* 换回 LibericaJDK

* Fix

尴尬(

* 更新 GameCrashWindow.java

修改大小以显示更多内容(防止左下角按钮被吞掉)

* 更新 I18N_zh_CN.properties

- 修改链接,可以跳转至特定地方
- 统一叫法 "全局(特定)游戏设置"
- 将升级显卡的相关教程文章更换

* Fix

* Update CrashReportAnalyzer.java

* Fix

- 删除重复检查项

* 添加日志检查

https://paste.ee/p/vv7DD

* fix

* add

怎么tm还来一个

* 更新 CrashReportAnalyzerTest.java

* 调整

* fix

* 更新 I18N_zh_CN.properties

* 更新 I18N_zh_CN.properties

* 添加重复安装 Optifine检查

https://github.com/huanghongxun/HMCL/discussions/1904#discussioncomment-4340734

* 添加重复安装 Forge 的检查

test

更新 CrashReportAnalyzer.java

fix

* 完善 OPTIFINE_IS_NOT_COMPATIBLE_WITH_FORGE

完善 OPTIFINE_IS_NOT_COMPATIBLE_WITH_FORGE

https://github.com/huanghongxun/HMCL/discussions/1904#discussioncomment-4332485
https://github.com/huanghongxun/HMCL/discussions/1904#discussioncomment-4332522

* fix

* 调整 FABRIC_WARNINGS

https://paste.ee/p/KOTyX
2023-02-06 22:56:58 +08:00
.github Update bug-report.yml (#2050) 2023-02-02 21:19:30 +08:00
config/checkstyle feat: check style & format 2021-05-30 03:34:44 +08:00
gradle/wrapper Gradle 7.6 (#1895) 2022-12-02 17:22:09 +08:00
HMCL 优化日志分析器 (#2038) 2023-02-06 22:56:58 +08:00
HMCLauncher exe and sh download java link update (#1903) 2022-12-06 13:33:00 +08:00
HMCLCore 优化日志分析器 (#2038) 2023-02-06 22:56:58 +08:00
lib fix: ReflectionHelper missing method 'getHandle' (#1026) 2021-09-12 15:26:17 +08:00
minecraft/libraries/HMCLTransformerDiscoveryService Remove log4j-patch (#1860) 2022-11-23 17:20:15 +08:00
.editorconfig fix(ui): some text overflow. Closes #1694. 2022-09-03 22:21:38 +08:00
.gitignore Remove log4j-patch (#1860) 2022-11-23 17:20:15 +08:00
build.gradle.kts 清理代码 (#1990) 2023-01-14 02:37:55 +08:00
gradlew Gradle 7.6 (#1895) 2022-12-02 17:22:09 +08:00
gradlew.bat Gradle 7.6 (#1895) 2022-12-02 17:22:09 +08:00
javafx.gradle.kts Exclude JavaFX (#2073) 2023-02-06 22:54:41 +08:00
LICENSE Restore original GPLv3 license 2018-12-08 21:11:10 +08:00
PLATFORM.md 完善 osx-arm64 原生支持 (#1689) 2022-09-03 16:55:27 +08:00
README_cn.md fix find HMCL directory (#1953) 2022-12-30 17:00:10 +08:00
README.md fix find HMCL directory (#1953) 2022-12-30 17:00:10 +08:00
settings.gradle.kts Remove log4j-patch (#1860) 2022-11-23 17:20:15 +08:00

⛏ Hello Minecraft! Launcher 💎

Build Status Downloads Stars Discord KOOK

English | 中文

Introduction

HMCL is a cross-platform Minecraft launcher which supports Mod Management, Game Customizing, Auto Installing (Forge, Fabric, Quilt, LiteLoader and OptiFine), Modpack Creating, UI Customization, and more.

HMCL has amazing cross-platform capabilities. It can not only run on different operating systems such as Windows, Linux, and macOS, but also supports multiple CPU architectures such as x86, arm, mips, and loongarch. You can easily play Minecraft on different platforms through HMCL.

For systems and CPU architectures supported by HMCL, see this table.

Download

Download the latest version from the official website.

Note: The recent versions released in GitHub are beta versions, which contains extra testing functions compared to the release versions on the official website. However, they may be unstable and you're more likely to encounter bugs or unexpected problems.

Although not necessary, it is recommended to download the ones from the official website.

License

The software is distributed under GPLv3 with additional terms.

Additional terms under GPLv3 Section 7

  1. When you distribute a modified version of the software, you must change the software name or the version number in a reasonable way in order to distinguish it from the original version. (Under GPLv3, 7(c))

    The software name and the version number can be edited here.

  2. You must not remove the copyright declaration displayed in the software. (Under GPLv3, 7(b))

Contribution

If you want to submit a pull request, there are some requirements:

  • IDE: Intellij IDEA
  • Compiler: Java 1.8
  • Do NOT modify gradle files

Compilation

Simply execute the following command in project root directory:

./gradlew clean build

Make sure you have Java installed with JavaFX 8 at least. Liberica Full JDK 8 or later is recommended.

JVM Options (for debugging)

Parameter Description
-Dhmcl.home=<path> Override HMCL directory.
-Dhmcl.self_integrity_check.disable=true Bypass the self integrity check when checking for update.
-Dhmcl.bmclapi.override=<version> Override API Root of BMCLAPI download provider, defaults to https://bmclapi2.bangbang93.com. e.g. https://download.mcbbs.net.
-Dhmcl.font.override=<font family> Override font family.
-Dhmcl.version.override=<version> Override the version number.
-Dhmcl.update_source.override=<url> Override the update source.
-Dhmcl.authlibinjector.location=<path> Use specified authlib-injector (instead of downloading one).
-Dhmcl.openjfx.repo=<maven repository url> Add custom Maven repository for download OpenJFX.
-Dhmcl.native.encoding=<encoding> Override the native encoding.
-Dhmcl.microsoft.auth.id=<App ID> Override Microsoft OAuth App ID.
-Dhmcl.microsoft.auth.secret=<App Secret> Override Microsoft OAuth App secret.