
EN | 中文
Attention: We always welcome contributors to the project. Before adding your contribution, please carefully read our Code of Conduct.
Note: For support please join our Discord.
Java SE - 17 (link)
Note: If you just want to run it, then jre only is fine.
MongoDB (recommended 4.0+)
Proxy daemon: mitmproxy (mitmdump, recommended), Fiddler Classic, etc.
Note: If you updated from an older version, delete config.json to regenerate it.
grasscutter.jar
resources folder in the directory where grasscutter.jar is located and move your BinOutput and ExcelBinOutput folders there (Check the wiki for more details how to get those.)java -jar grasscutter.jar. Make sure mongodb service is running as well.½. Create an account using server console command.
Redirect traffic: (choose one)
mitmdump: mitmdump -s proxy.py -k
Trust CA certificate:
**Note:**The CA certificate is usually stored in % USERPROFILE%\ .mitmproxy, or you can download it from http://mitm.it
Double click for install or ...
Via command line
certutil -addstore root %USERPROFILE%\.mitmproxy\mitmproxy-ca-cert.cer
Fiddler Classic: Run Fiddler Classic, turn on Decrypt https traffic in setting and change the default port there (Tools -> Options -> Connections) to anything other than 8888, and load this script.
Set network proxy to 127.0.0.1:8080 or the proxy port you specified.
you can also use start.cmd to start servers and proxy daemons automatically
Grasscutter uses Gradle to handle dependencies & building.
Requirements:
git clone https://github.com/Grasscutters/Grasscutter.git
cd Grasscutter
.\gradlew.bat # Setting up environments
.\gradlew jar # Compile
git clone https://github.com/Grasscutters/Grasscutter.git
cd Grasscutter
chmod +x gradlew
./gradlew jar # Compile
You can find the output jar in the root of the project folder.