How to Set Up and Build Grasscutter

Jul 2, 2024 | Programming

Grasscutter is an innovative tool that allows you to create and manage your own server for Genshin Impact. This blog will guide you through the steps needed to set up Grasscutter quickly and efficiently. So, roll up your sleeves and let’s dive in!

Getting Started

Before we jump into the setup, make sure you meet the following prerequisites:

Quick Setup Guide

Follow these steps for a smooth setup:

1. Install Required Software

  • Download and install Java 17.
  • Download and install MongoDB Community Server.
  • Download the Genshin Impact Client version REL4.0.x.
  • Download and install the latest Cultivation version using the .msi installer.

2. Configure Cultivation

After installing Cultivation:

  • Open Cultivation as an administrator.
  • Press the download button in the upper right corner.
  • Click “Download All-in-One.”
  • Access settings by clicking the gear icon in the upper right corner.
  • Set the game install path to where your game is located.
  • Set the custom Java path to C:Program FilesJavajdk-17binjava.exe.
  • Leave all other settings on default.
  • Finally, click the launch button and log in with your chosen username (password can be anything).

Compiling Grasscutter

For those who want to dive deeper and compile Grasscutter, here’s how it’s done:

Setup Requirements

Cloning the Repository

Open your terminal and run:

git clone --recurse-submodules https://github.com/Grasscutters/Grasscutter.git
cd Grasscutter

Compiling

  • Use Gradle for building:
  • Windows: gradlew.bat jar
    Linux: bash gradlew jar

Compiling the Handbook (Optional)

If you wish to compile the handbook, you can do it manually:

gradlew generateHandbook
# OR via NPM
cd src/handbook
npm install
npm run build

The output JAR can be found in the root of the project folder.

Troubleshooting

If you encounter issues during your setup, here are some common problems and their solutions:

  • Ensure that you have all dependencies installed and the correct versions.
  • Check that your game files are in the designated install path.
  • Verify your Java path is set correctly in Cultivation settings.
  • For other problems, join our Discord server to seek help.

For more insights, updates, or to collaborate on AI development projects, stay connected with fxis.ai.

Final Thoughts

At fxis.ai, we believe that such advancements are crucial for the future of AI, as they enable more comprehensive and effective solutions. Our team is continually exploring new methodologies to push the envelope in artificial intelligence, ensuring that our clients benefit from the latest technological innovations.

Conclusion

Setting up and compiling Grasscutter may seem daunting, but with the right steps and resources, it becomes a manageable task. Remember to follow the instructions carefully, and don’t hesitate to reach out for help if needed. Happy gaming!

Stay Informed with the Newest F(x) Insights and Blogs

Tech News and Blog Highlights, Straight to Your Inbox