2022-04-25 04:38:02 +00:00
![Grasscutter ](https://socialify.git.ci/Grasscutters/Grasscutter/image?description=1&forks=1&issues=1&language=1&logo=https%3A%2F%2Fs2.loli.net%2F2022%2F04%2F25%2FxOiJn7lCdcT5Mw1.png&name=1&owner=1&pulls=1&stargazers=1&theme=Light )
2023-07-01 05:17:03 +00:00
< div align = "center" > < img alt = "Documentation" src = "https://img.shields.io/badge/Wiki-Grasscutter-blue?style=for-the-badge&link=https://github.com/Grasscutters/Grasscutter/wiki&link=https://github.com/Grasscutters/Grasscutter/wiki" > < img alt = "GitHub release (latest by date)" src = "https://img.shields.io/github/v/release/Grasscutters/Grasscutter?logo=java&style=for-the-badge" > < img alt = "GitHub" src = "https://img.shields.io/github/license/Grasscutters/Grasscutter?style=for-the-badge" > < img alt = "GitHub last commit" src = "https://img.shields.io/github/last-commit/Grasscutters/Grasscutter?style=for-the-badge" > < img alt = "GitHub Workflow Status" src = "https://img.shields.io/github/actions/workflow/status/Grasscutters/Grasscutter/build.yml?branch=development&logo=github&style=for-the-badge" > < / div >
2022-04-25 04:38:02 +00:00
< div align = "center" > < a href = "https://discord.gg/T5vZU6UyeG" > < img alt = "Discord - Grasscutter" src = "https://img.shields.io/discord/965284035985305680?label=Discord&logo=discord&style=for-the-badge" > < / a > < / div >
2023-09-09 03:07:18 +00:00
[EN ](../README.md ) | [简中 ](README_zh-CN.md ) | [繁中 ](README_zh-TW.md ) | [FR ](README_fr-FR.md ) | [ES ](README_es-ES.md ) | [HE ](README_HE.md ) | [RU ](README_ru-RU.md ) | [PL ](README_pl-PL.md ) | [ID ](README_id-ID.md ) | [KR ](README_ko-KR.md ) | [FIL/PH ](README_fil-PH.md ) | [NL ](README_NL.md ) | [JP ](README_ja-JP.md ) | [IT ](README_it-IT.md ) | [VI ](README_vi-VN.md ) | [हिंदी ](README_hn-IN.md )
2022-04-25 04:38:02 +00:00
2023-06-22 20:42:35 +00:00
**注意:** 我们始终欢迎项目的贡献者。但在做贡献之前,请仔细阅读我们的[代码规范](https://github.com/Grasscutters/Grasscutter/blob/stable/CONTRIBUTING.md)。
2022-04-25 04:38:02 +00:00
2022-06-16 12:51:53 +00:00
## 当前功能
2022-04-25 04:38:02 +00:00
* 登录
* 战斗
2022-08-25 16:58:47 +00:00
* 好友
* 传送
* 祈愿
2022-04-25 04:38:02 +00:00
* 多人游戏 *部分* 可用
2022-08-25 16:58:47 +00:00
* 从控制台生成魔物
2023-06-22 20:42:35 +00:00
* 背包功能(接收或升级物品、角色等)。
## 快速安装指南
2022-04-25 04:38:02 +00:00
2023-06-22 20:42:35 +00:00
**注意:** 如需帮助,请加入我们的[Discord](https://discord.gg/T5vZU6UyeG)。
2022-04-25 04:38:02 +00:00
2023-06-22 20:42:35 +00:00
### 快速开始(全自动)
2022-04-25 04:38:02 +00:00
2023-06-22 20:42:35 +00:00
- 获取Java 17: https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html
- 获取[MongoDB社区版](https://www.mongodb.com/try/download/community)
2023-09-10 00:48:32 +00:00
- 获取游戏4.0正式版 (如果你没有4.0的客户端, 可以在这里找到) : https://github.com/MAnggiarMustofa/GI-Download-Library/blob/main/GenshinImpact/Client/4.0.0.md)
2022-04-25 04:38:02 +00:00
2023-06-22 20:42:35 +00:00
- 下载[最新的Cultivation版本](https://github.com/Grasscutters/Cultivation/releases/latest)(使用以“.msi”为后缀的安装包) 。
2023-11-09 02:15:57 +00:00
- 以管理员身份打开Cultivation, 按右上角的下载按钮。
2023-06-22 20:42:35 +00:00
- 点击“下载 Grasscutter 一体化”
- 点击右上角的齿轮
- 将游戏安装路径设置为你游戏所在的位置。
- 将自定义Java路径设置为`C:\Program Files\Java\jdk-17\bin\java.exe`
- 保持所有其它设置为默认值
2022-04-25 04:38:02 +00:00
2023-06-22 20:42:35 +00:00
- 点击“启动”按钮旁边的小按钮。
- 点击“启动”按钮。
- 随便想一个用户名登录,不需要密码。
2022-04-25 04:38:02 +00:00
2022-08-25 16:58:47 +00:00
### 构建
2022-04-25 04:38:02 +00:00
2023-06-22 20:42:35 +00:00
Grasscutter使用Gradle来处理依赖和构建。
2022-04-25 04:38:02 +00:00
2023-06-22 20:42:35 +00:00
**前置:**
2022-04-25 04:38:02 +00:00
2023-06-22 20:42:35 +00:00
- [Java SE Development Kits - 17 ](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html )或更高版本
2022-07-07 11:34:24 +00:00
- [Git ](https://git-scm.com/downloads )
2022-04-25 04:38:02 +00:00
2022-08-25 16:58:47 +00:00
##### Windows
2022-04-25 04:38:02 +00:00
```shell
2023-06-22 20:42:35 +00:00
git clone --recurse-submodules https://github.com/Grasscutters/Grasscutter.git
2022-04-25 04:38:02 +00:00
cd Grasscutter
2023-06-22 20:42:35 +00:00
.\gradlew.bat # 设置开发环境
2022-08-26 04:52:29 +00:00
.\gradlew jar # 编译
2022-04-25 04:38:02 +00:00
```
2023-06-22 20:42:35 +00:00
##### Linux( GNU)
2022-04-25 04:38:02 +00:00
```bash
2023-06-22 20:42:35 +00:00
git clone --recurse-submodules https://github.com/Grasscutters/Grasscutter.git
2022-04-25 04:38:02 +00:00
cd Grasscutter
chmod +x gradlew
2022-06-16 12:51:53 +00:00
./gradlew jar # 编译
2022-04-25 04:38:02 +00:00
```
2023-06-22 20:42:35 +00:00
你可以在项目的根目录找到输出的jar。
2022-04-25 04:38:02 +00:00
2023-06-22 20:42:35 +00:00
### 故障排除
2022-04-25 04:38:02 +00:00
2023-06-22 20:42:35 +00:00
获取常见问题的解决方案或寻求帮助,请加入[我们的Discord服务器](https://discord.gg/T5vZU6UyeG)并进入“support”频道。