add PLATFORM_cn (#2536)

* add PLATFORM_cn

* Update PLATFORM_cn.md

* 润色

* Update PLATFORM_cn.md

* Update PLATFORM.md

* 格式化
This commit is contained in:
zkitefly 2023-11-09 21:24:02 +08:00 committed by GitHub
parent df9499b723
commit 5aeaba4636
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 71 additions and 12 deletions

View File

@ -1,13 +1,15 @@
# Platform Support Status # Platform Support Status
English | [简体中文](PLATFORM_cn.md)
| | Windows | Linux | Mac OS | FreeBSD | | | Windows | Linux | Mac OS | FreeBSD |
|----------------------------|:------------------------------------|:--------------------------|:----------------------------------------------------|:--------| |----------------------------|:------------------------------------|:--------------------------|:----------------------------------------------------|:--------|
| x86-64 | ✅️ | ✅️ | ✅️ | ❔ | | x86-64 | ✅️ | ✅️ | ✅️ | ❔ |
| x86 | ✅️ | ✅️ | / | / | | x86 | ✅️ | ✅️ | / | / |
| ARM64 | 👌 (1.8+)<br/>✅ (use x86 emulation) | 👌 | 👌 (1.6~1.18.2)<br/>✅ (1.19+)<br/>✅ (use Rosetta 2) | ❔ | | ARM64 | 👌 (Minecraft 1.8+)<br/>✅ (use x86 emulation) | 👌 | 👌 (Minecraft 1.6~1.18.2)<br/>✅ (Minecraft 1.19+)<br/>✅ (use Rosetta 2) | ❔ |
| ARM32 | / | 👌 | / | / | | ARM32 | / | 👌 | / | / |
| MIPS64el | / | 👌 | / | / | | MIPS64el | / | 👌 | / | / |
| RISC-V 64 | / | 👌 (1.13+) | / | / | | RISC-V 64 | / | 👌 (Minecraft 1.13+) | / | / |
| LoongArch64 | / | 👌 (both old and new ABI) | / | / | | LoongArch64 | / | 👌 (both old and new ABI) | / | / |
| PowerPC-64 (Little-Endian) | / | ❔ | / | / | | PowerPC-64 (Little-Endian) | / | ❔ | / | / |
| S390x | / | ❔ | / | / | | S390x | / | ❔ | / | / |
@ -21,17 +23,17 @@ Legend:
* 👌: Supported platforms. * 👌: Supported platforms.
Support is provided by HMCL, tested to work, but may have more issues than a fully supported platform. Support is provided by HMCL, tested to work, but may have more issues than a fully supported platform.
Support for versions below 1.6 is not guaranteed. Support for versions below Minecraft 1.6 is not guaranteed.
If you encounter a problem that does not exist on fully supported platforms, you can report it to HMCL. If you encounter a problem that does not exist on fully supported platforms, you can report it to HMCL.
* ❔: Low level supported platforms. * ❔: Low level supported platforms.
HMCL can run on this platform and has some basic support. HMCL can run on this platform and has some basic support.
However, launching the game directly is not yet available. However, launching the game directly is not yet available.
If you want to start the game, If you want to start the game,
you'll need to get the native libraries needed by Minecraft in other way and specify the native path in the instance settings. you'll need to get the native libraries needed by Minecraft in other way and specify the native path in the instance settings.
* /: Not applicable. * /: Not applicable.
We have no plans to support these platforms at this time, mainly because we don't have the equipment to test them. We have no plans to support these platforms at this time, mainly because we don't have the equipment to test them.
If you can help us adapt, please file a support request via issue. If you can help us adapt, please file a support request via issue.

39
PLATFORM_cn.md Normal file
View File

@ -0,0 +1,39 @@
# 平台支持状态
[English](PLATFORM.md) | 简体中文
| | Windows | Linux | Mac OS | FreeBSD |
|----------------------------|:------------------------------------|:--------------------------|:----------------------------------------------------|:--------|
| x86-64 | ✅️ | ✅️ | ✅️ | ❔ |
| x86 | ✅️ | ✅️ | / | / |
| ARM64 | 👌 (Minecraft 1.8+)<br/>✅ (使用 x86 模拟) | 👌 | 👌 (Minecraft 1.6~1.18.2)<br/>✅ (Minecraft 1.19+)<br/>✅ (使用 Rosetta 2) | ❔ |
| ARM32 | / | 👌 | / | / |
| MIPS64el | / | 👌 | / | / |
| RISC-V 64 | / | 👌 (Minecraft 1.13+) | / | / |
| LoongArch64 | / | 👌 (包括新旧 ABI) | / | / |
| PowerPC-64 (小端序) | / | ❔ | / | / |
| S390x | / | ❔ | / | / |
图例:
* ✅: 官方支持的平台.
受 Mojang 官方支持. 在游戏中遇到的问题应该直接向 Mojang 反馈.
* 👌: 支持的平台.
由 HMCL 提供支持, 经过测试可以正常运行, 但可能比得到全面支持的平台有更多问题.
不保证支持 Minecraft 1.6 以下的版本.
如果你遇到在得到全面支持的平台上不存在的问题, 可以向 HMCL 反馈.
* ❔: 低级别支持的平台.
HMCL 可以在这个平台上运行, 并且有一些基本的支持.
但是, 还不能正常的启动游戏.
如果你想正常启动游戏,
则需要通过其他方式获得游戏所需的本地库(LWJGL), 并在版本设置中指定本地库路径.
* /: 不支持的平台.
我们目前还没有打算支持这些平台, 主要是因为我们没有测试这些平台的设备.
如果你能帮助我们进行测试, 请通过提交 Issue 提出支持请求.

View File

@ -1,4 +1,5 @@
# ⛏ Hello Minecraft! Launcher 💎 # ⛏ Hello Minecraft! Launcher 💎
[![Build Status](https://ci.huangyuhui.net/job/HMCL/badge/icon?.svg)](https://ci.huangyuhui.net/job/HMCL) [![Build Status](https://ci.huangyuhui.net/job/HMCL/badge/icon?.svg)](https://ci.huangyuhui.net/job/HMCL)
![Downloads](https://img.shields.io/github/downloads/huanghongxun/HMCL/total) ![Downloads](https://img.shields.io/github/downloads/huanghongxun/HMCL/total)
![Stars](https://img.shields.io/github/stars/huanghongxun/HMCL) ![Stars](https://img.shields.io/github/stars/huanghongxun/HMCL)
@ -8,26 +9,30 @@
English | [中文](README_cn.md) English | [中文](README_cn.md)
## Introduction ## 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 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. HMCL has amazing cross-platform capabilities.
It can not only run on different operating systems such as Windows, Linux, and macOS, 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. but also supports multiple CPU architectures such as x86, arm, mips, and loongarch.
You can easily play Minecraft on different platforms through HMCL. You can easily play Minecraft on different platforms through HMCL.
For systems and CPU architectures supported by HMCL, see [this table](PLATFORM.md). For systems and CPU architectures supported by HMCL, see [this table](PLATFORM.md).
## Download ## Download
Download the latest version from [the official website](https://hmcl.huangyuhui.net/download). Download the latest version from [the official website](https://hmcl.huangyuhui.net/download).
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. You can also download the latest version of HMCL in [GitHub Releases](https://github.com/huanghongxun/HMCL/releases).
Although not necessary, it is recommended to download the ones from the official website. Although not necessary, it is recommended to download the ones from the official website.
## License ## License
The software is distributed under [GPLv3](https://www.gnu.org/licenses/gpl-3.0.html) with additional terms. The software is distributed under [GPLv3](https://www.gnu.org/licenses/gpl-3.0.html) with additional terms.
### Additional terms under GPLv3 Section 7 ### 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)](https://github.com/huanghongxun/HMCL/blob/11820e31a85d8989e41d97476712b07e7094b190/LICENSE#L372-L374)) 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)](https://github.com/huanghongxun/HMCL/blob/11820e31a85d8989e41d97476712b07e7094b190/LICENSE#L372-L374))
The software name and the version number can be edited [here](https://github.com/huanghongxun/HMCL/blob/javafx/HMCL/src/main/java/org/jackhuang/hmcl/Metadata.java#L33-L35). The software name and the version number can be edited [here](https://github.com/huanghongxun/HMCL/blob/javafx/HMCL/src/main/java/org/jackhuang/hmcl/Metadata.java#L33-L35).
@ -35,12 +40,15 @@ The software is distributed under [GPLv3](https://www.gnu.org/licenses/gpl-3.0.h
2. You must not remove the copyright declaration displayed in the software. (Under [GPLv3, 7(b)](https://github.com/huanghongxun/HMCL/blob/11820e31a85d8989e41d97476712b07e7094b190/LICENSE#L368-L370)) 2. You must not remove the copyright declaration displayed in the software. (Under [GPLv3, 7(b)](https://github.com/huanghongxun/HMCL/blob/11820e31a85d8989e41d97476712b07e7094b190/LICENSE#L368-L370))
## Contribution ## Contribution
If you want to submit a pull request, there are some requirements: If you want to submit a pull request, there are some requirements:
* IDE: Intellij IDEA * IDE: Intellij IDEA
* Compiler: Java 1.8 * Compiler: Java 1.8
* Do NOT modify `gradle` files * Do NOT modify `gradle` files
### Compilation ### Compilation
Simply execute the following command in project root directory: Simply execute the following command in project root directory:
```bash ```bash
@ -50,6 +58,7 @@ Simply execute the following command in project root directory:
Make sure you have Java installed with JavaFX 8 at least. Liberica Full JDK 8 or later is recommended. Make sure you have Java installed with JavaFX 8 at least. Liberica Full JDK 8 or later is recommended.
## JVM Options (for debugging) ## JVM Options (for debugging)
| Parameter | Description | | Parameter | Description |
|----------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------| |----------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------|
| `-Dhmcl.home=<path>` | Override HMCL directory. | | `-Dhmcl.home=<path>` | Override HMCL directory. |

View File

@ -1,4 +1,5 @@
# ⛏ Hello Minecraft! Launcher 💎 # ⛏ Hello Minecraft! Launcher 💎
[![Build Status](https://ci.huangyuhui.net/job/HMCL/badge/icon?.svg)](https://ci.huangyuhui.net/job/HMCL) [![Build Status](https://ci.huangyuhui.net/job/HMCL/badge/icon?.svg)](https://ci.huangyuhui.net/job/HMCL)
![Downloads](https://img.shields.io/github/downloads/huanghongxun/HMCL/total) ![Downloads](https://img.shields.io/github/downloads/huanghongxun/HMCL/total)
![Stars](https://img.shields.io/github/stars/huanghongxun/HMCL) ![Stars](https://img.shields.io/github/stars/huanghongxun/HMCL)
@ -8,24 +9,28 @@
[English](README.md) | 中文 [English](README.md) | 中文
## 简介 ## 简介
HMCL 是一款跨平台 Minecraft 启动器, 支持 Mod 管理, 游戏自定义, 游戏自动安装 (Forge, Fabric, Quilt, LiteLoader 与 OptiFine), 模组包创建, 界面自定义等功能. HMCL 是一款跨平台 Minecraft 启动器, 支持 Mod 管理, 游戏自定义, 游戏自动安装 (Forge, Fabric, Quilt, LiteLoader 与 OptiFine), 模组包创建, 界面自定义等功能.
HMCL 有着强大的跨平台能力它不仅支持 Windows、Linux、macOS 等常见的操作系统,同时也支持 x86、ARM、MIPS 和 LoongArch 等不同的 CPU 架构 HMCL 有着强大的跨平台能力. 它不仅支持 Windows、Linux、macOS 等常见的操作系统,同时也支持 x86、ARM、MIPS 和 LoongArch 等不同的 CPU 架构.
您可以使用 HMCL 在不同平台上轻松的游玩 Minecraft 您可以使用 HMCL 在不同平台上轻松的游玩 Minecraft.
如果您想要了解 HMCL 对不同平台的支持程度,请参见[此表格](PLATFORM.md)。 如果您想要了解 HMCL 对不同平台的支持程度,请参见[此表格](PLATFORM_cn.md).
## 下载 ## 下载
请从 [HMCL 官网](https://hmcl.huangyuhui.net/download)下载最新版本的 HMCL.
注: 在 GitHub 发布的最新版 HMCL 为测试版, 与官网上发布的正式版相比, 它们包含额外的测试功能. 但是, 它们相较于正式版更不稳定, 您更有可能在使用测试版的过程中遇到 Bug 或意外问题. 请从 [HMCL 官网](https://hmcl.huangyuhui.net/download) 下载最新版本的 HMCL.
你也可以在 [GitHub Releases](https://github.com/huanghongxun/HMCL/releases) 中下载最新版本的 HMCL.
虽然并不强制, 但仍建议通过 HMCL 官网下载启动器. 虽然并不强制, 但仍建议通过 HMCL 官网下载启动器.
## 开源协议 ## 开源协议
该程序在 [GPLv3](https://www.gnu.org/licenses/gpl-3.0.html) 开源协议下发布, 同时附有附加条款. 该程序在 [GPLv3](https://www.gnu.org/licenses/gpl-3.0.html) 开源协议下发布, 同时附有附加条款.
### 附加条款 (依据 GPLv3 开源协议第七条) ### 附加条款 (依据 GPLv3 开源协议第七条)
1. 当您分发该程序的修改版本时, 您必须以一种合理的方式修改该程序的名称或版本号, 以示其与原始版本不同. (依据 [GPLv3, 7(c)](https://github.com/huanghongxun/HMCL/blob/11820e31a85d8989e41d97476712b07e7094b190/LICENSE#L372-L374)) 1. 当您分发该程序的修改版本时, 您必须以一种合理的方式修改该程序的名称或版本号, 以示其与原始版本不同. (依据 [GPLv3, 7(c)](https://github.com/huanghongxun/HMCL/blob/11820e31a85d8989e41d97476712b07e7094b190/LICENSE#L372-L374))
该程序的名称及版本号可在[此处](https://github.com/huanghongxun/HMCL/blob/javafx/HMCL/src/main/java/org/jackhuang/hmcl/Metadata.java#L33-L35)修改. 该程序的名称及版本号可在[此处](https://github.com/huanghongxun/HMCL/blob/javafx/HMCL/src/main/java/org/jackhuang/hmcl/Metadata.java#L33-L35)修改.
@ -33,12 +38,15 @@ HMCL 有着强大的跨平台能力。它不仅支持 Windows、Linux、macOS
2. 您不得移除该程序所显示的版权声明. (依据 [GPLv3, 7(b)](https://github.com/huanghongxun/HMCL/blob/11820e31a85d8989e41d97476712b07e7094b190/LICENSE#L368-L370)) 2. 您不得移除该程序所显示的版权声明. (依据 [GPLv3, 7(b)](https://github.com/huanghongxun/HMCL/blob/11820e31a85d8989e41d97476712b07e7094b190/LICENSE#L368-L370))
## 贡献 ## 贡献
如果您想提交一个 Pull Request, 必须遵守如下要求: 如果您想提交一个 Pull Request, 必须遵守如下要求:
* IDE: Intellij IDEA * IDE: Intellij IDEA
* 编译器: Java 1.8 * 编译器: Java 1.8
* **不要**修改 `gradle` 相关文件 * **不要**修改 `gradle` 相关文件
### 编译 ### 编译
于项目根目录执行以下命令: 于项目根目录执行以下命令:
```bash ```bash
@ -48,6 +56,7 @@ HMCL 有着强大的跨平台能力。它不仅支持 Windows、Linux、macOS
请确保您至少安装了含有 JavaFX 8 的 Java. 建议使用 Liberica Full JDK 8 或更高版本. 请确保您至少安装了含有 JavaFX 8 的 Java. 建议使用 Liberica Full JDK 8 或更高版本.
## JVM 选项 (用于调试) ## JVM 选项 (用于调试)
| 参数 | 简介 | | 参数 | 简介 |
|----------------------------------------------|-------------------------------------------------------------------------------------------------| |----------------------------------------------|-------------------------------------------------------------------------------------------------|
| `-Dhmcl.home=<path>` | 覆盖 HMCL 数据文件夹. | | `-Dhmcl.home=<path>` | 覆盖 HMCL 数据文件夹. |