From 1370e1e02759d6ec768940ef354bcbdbd2a93a7b Mon Sep 17 00:00:00 2001 From: falseuniversefacts <136034343+falseuniversefacts@users.noreply.github.com> Date: Fri, 9 Jun 2023 00:36:50 +0000 Subject: [PATCH 1/8] Update quick start guide Co-Authored-By: Nazrin <1877986+scooterboo@users.noreply.github.com> --- README.md | 60 ++++++++++++++----------------------------------------- 1 file changed, 15 insertions(+), 45 deletions(-) diff --git a/README.md b/README.md index 7264948193b..8026141401d 100644 --- a/README.md +++ b/README.md @@ -22,51 +22,21 @@ **Note**: For support please join our [Discord](https://discord.gg/T5vZU6UyeG). -### Requirements - -* [Java SE - 17](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html) or higher - - **Note:** If you just want to **run it**, then **jre** only is fine. - -* [MongoDB](https://www.mongodb.com/try/download/community) (recommended 4.0+) - -* Proxy Daemon: [mitmproxy](https://mitmproxy.org/) (mitmdump, recommended), [Fiddler Classic](https://telerik-fiddler.s3.amazonaws.com/fiddler/FiddlerSetup.exe), etc. - -### Running - -**Note:** If you updated from an older version, delete `config.json` to regenerate it. - -1. Get `grasscutter.jar` - - Download from [releases](https://github.com/Grasscutters/Grasscutter/releases/latest) or [actions](https://github.com/Grasscutters/Grasscutter/actions/workflows/build.yml) or [build the server by yourself](#building). -2. Create a `resources` folder in the directory where grasscutter.jar is located and move your `BinOutput, ExcelBinOutput, Readables, Scripts, Subtitle, TextMap` folders there *(Check the [wiki](https://github.com/Grasscutters/Grasscutter/wiki) for more details how to get those.)* -3. Run Grasscutter with `java -jar grasscutter.jar`. **Make sure mongodb service is running as well.** - -### Connecting with the client - -½. Create an account in the server console using this [command](https://github.com/Grasscutters/Grasscutter/wiki/Commands#:~:text=account%20%3Ccreate|delete%3E%20%3Cusername%3E%20[UID]). - -1. Redirect traffic: (choose one only) - - mitmdump: `mitmdump -s proxy.py -k` - - - Trust CA certificate: - - - The CA certificate is usually stored in `%USERPROFILE%\.mitmproxy`, double click `mitmproxy-ca-cert.cer` to [install](https://docs.microsoft.com/en-us/skype-sdk/sdn/articles/installing-the-trusted-root-certificate#installing-a-trusted-root-certificate) or... - - - Via command line *(needs administration privileges)* - - ```shell - certutil -addstore root %USERPROFILE%\.mitmproxy\mitmproxy-ca-cert.cer - ``` - - - Fiddler Classic: Run Fiddler Classic, turn on `Decrypt HTTPS traffic` in (Tools -> Options -> HTTPS) and change the default port in (Tools -> Options -> Connections) to anything other than `8888`, load [this script](https://github.com/Grasscutters/Grasscutter/wiki/Resources#fiddler-classic-jscript) (copy and paste the script in the `FiddlerScript` tab) and click the `Save Script` button. - - - [Hosts file](https://github.com/Grasscutters/Grasscutter/wiki/Resources#hosts-file) - -2. Set network proxy to `127.0.0.1:8080` or the proxy port you specified. - -- For mitmproxy: After setting up the network proxy and installing the certificate, check http://mitm.it/ if traffic is passing through mitmproxy. - -**You can also use `start.cmd` to start servers and proxy daemons automatically, but you have to set up `JAVA_HOME` environment and configure the `start_config.cmd` file.** +• Get Java 17: https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html +• Get MongoDB Community Server: https://www.mongodb.com/try/download/community +• Get Genshin version 3.7 (Genshin 3.7 client can be found here if you don't have it): https://github.com/MAnggiarMustofa/GI-Download-Library/blob/main/GenshinImpact/Client/3.7.0.md) + +• Download the latest Cultivation version. Install the .msi: https://github.com/Grasscutters/Cultivation/releases/latest +• After opening Culivation (as admin), press the download button in the upper right corner. +• Click Download All-in-One +• Click the gear in the upper right corner +• Set the game Install path to where Genshin Impact\Genshin Impact game\GenshinImpact.exe is. +• Set the Custom Java Path to C:\Program Files\Java\jdk-17\bin\java.exe +• Leave all other settings on default + +• Click the small button next to launch. +• Click the launch button. +• Log in with whatever username you want. Password doesn't matter. ### Building From 6ccfa78c62a0b55e2d3f9a02303433f5d26b7190 Mon Sep 17 00:00:00 2001 From: falseuniversefacts <136034343+falseuniversefacts@users.noreply.github.com> Date: Fri, 9 Jun 2023 19:43:27 +0000 Subject: [PATCH 2/8] Update README.md Co-authored-by: Magix <27646710+KingRainbow44@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8026141401d..0360ed6d5ef 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ **Note**: For support please join our [Discord](https://discord.gg/T5vZU6UyeG). • Get Java 17: https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html -• Get MongoDB Community Server: https://www.mongodb.com/try/download/community +• Get [MongoDB Community Server](https://www.mongodb.com/try/download/community) • Get Genshin version 3.7 (Genshin 3.7 client can be found here if you don't have it): https://github.com/MAnggiarMustofa/GI-Download-Library/blob/main/GenshinImpact/Client/3.7.0.md) • Download the latest Cultivation version. Install the .msi: https://github.com/Grasscutters/Cultivation/releases/latest From 9d6643c902adc23a3f649394a4d5b98ed056aa83 Mon Sep 17 00:00:00 2001 From: falseuniversefacts <136034343+falseuniversefacts@users.noreply.github.com> Date: Fri, 9 Jun 2023 19:43:36 +0000 Subject: [PATCH 3/8] Update README.md Co-authored-by: Magix <27646710+KingRainbow44@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0360ed6d5ef..f13808759a8 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ • Click Download All-in-One • Click the gear in the upper right corner • Set the game Install path to where Genshin Impact\Genshin Impact game\GenshinImpact.exe is. -• Set the Custom Java Path to C:\Program Files\Java\jdk-17\bin\java.exe +• Set the Custom Java Path to `C:\Program Files\Java\jdk-17\bin\java.exe` • Leave all other settings on default • Click the small button next to launch. From a8533527e994c5177bf8ffca1b1c48a4007aff83 Mon Sep 17 00:00:00 2001 From: falseuniversefacts <136034343+falseuniversefacts@users.noreply.github.com> Date: Fri, 9 Jun 2023 19:43:45 +0000 Subject: [PATCH 4/8] Update README.md Co-authored-by: Magix <27646710+KingRainbow44@users.noreply.github.com> --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index f13808759a8..bda9b40d6ff 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,8 @@ **Note**: For support please join our [Discord](https://discord.gg/T5vZU6UyeG). +### Quick Start (automatic) + • Get Java 17: https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html • Get [MongoDB Community Server](https://www.mongodb.com/try/download/community) • Get Genshin version 3.7 (Genshin 3.7 client can be found here if you don't have it): https://github.com/MAnggiarMustofa/GI-Download-Library/blob/main/GenshinImpact/Client/3.7.0.md) From 5ee168a9bceeb4deabb75f2652fc5384c45977ae Mon Sep 17 00:00:00 2001 From: falseuniversefacts <136034343+falseuniversefacts@users.noreply.github.com> Date: Fri, 9 Jun 2023 19:43:54 +0000 Subject: [PATCH 5/8] Update README.md Co-authored-by: Magix <27646710+KingRainbow44@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bda9b40d6ff..8e157af5e06 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ • Download the latest Cultivation version. Install the .msi: https://github.com/Grasscutters/Cultivation/releases/latest • After opening Culivation (as admin), press the download button in the upper right corner. -• Click Download All-in-One +• Click `Download All-in-One` • Click the gear in the upper right corner • Set the game Install path to where Genshin Impact\Genshin Impact game\GenshinImpact.exe is. • Set the Custom Java Path to `C:\Program Files\Java\jdk-17\bin\java.exe` From 123b6af4deb77cd3c753da3d8809c0fa390466b8 Mon Sep 17 00:00:00 2001 From: falseuniversefacts <136034343+falseuniversefacts@users.noreply.github.com> Date: Fri, 9 Jun 2023 19:44:02 +0000 Subject: [PATCH 6/8] Update README.md Co-authored-by: Magix <27646710+KingRainbow44@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8e157af5e06..5a8cb2e019f 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ • After opening Culivation (as admin), press the download button in the upper right corner. • Click `Download All-in-One` • Click the gear in the upper right corner -• Set the game Install path to where Genshin Impact\Genshin Impact game\GenshinImpact.exe is. +• Set the game Install path to where your game is located. • Set the Custom Java Path to `C:\Program Files\Java\jdk-17\bin\java.exe` • Leave all other settings on default From 025a545aa735d96f60e7d2b2ed8dfac1533a5e39 Mon Sep 17 00:00:00 2001 From: falseuniversefacts <136034343+falseuniversefacts@users.noreply.github.com> Date: Fri, 9 Jun 2023 19:44:24 +0000 Subject: [PATCH 7/8] Update README.md Co-authored-by: Magix <27646710+KingRainbow44@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5a8cb2e019f..ca787a2df88 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ • Get [MongoDB Community Server](https://www.mongodb.com/try/download/community) • Get Genshin version 3.7 (Genshin 3.7 client can be found here if you don't have it): https://github.com/MAnggiarMustofa/GI-Download-Library/blob/main/GenshinImpact/Client/3.7.0.md) -• Download the latest Cultivation version. Install the .msi: https://github.com/Grasscutters/Cultivation/releases/latest +• Download the [latest Cultivation version](https://github.com/Grasscutters/Cultivation/releases/latest). Use the `.msi` installer. • After opening Culivation (as admin), press the download button in the upper right corner. • Click `Download All-in-One` • Click the gear in the upper right corner From 069f423ac61f8f4d3da0d279363b4ddec8629747 Mon Sep 17 00:00:00 2001 From: falseuniversefacts <136034343+falseuniversefacts@users.noreply.github.com> Date: Fri, 9 Jun 2023 19:44:32 +0000 Subject: [PATCH 8/8] Update README.md Co-authored-by: Magix <27646710+KingRainbow44@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ca787a2df88..de1e2ce67a2 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ • Get Java 17: https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html • Get [MongoDB Community Server](https://www.mongodb.com/try/download/community) -• Get Genshin version 3.7 (Genshin 3.7 client can be found here if you don't have it): https://github.com/MAnggiarMustofa/GI-Download-Library/blob/main/GenshinImpact/Client/3.7.0.md) +• Get game version REL3.7 (3.7 client can be found here if you don't have it): https://github.com/MAnggiarMustofa/GI-Download-Library/blob/main/GenshinImpact/Client/3.7.0.md) • Download the [latest Cultivation version](https://github.com/Grasscutters/Cultivation/releases/latest). Use the `.msi` installer. • After opening Culivation (as admin), press the download button in the upper right corner.