Skip to content

gurotopia/Gurotopia

Repository files navigation

グロートピア (Gurotopia) : Lightweight & Maintained GTPS written in C/C++

Dockerfile


1. Requirements

2. Setup MSYS2

  • Locate your MSYS2 folder at C:\msys64, open ucrt64.exe, and run the following command:

    pacman -S --needed mingw-w64-ucrt-x86_64-{gcc,openssl} make

3. Compile

  • Open the project folder in Visual Studio Code.
  • Press Ctrl + Shift + B to start the build process.

4. Run

  • After compiling, press F5 to run the server!

Linux

1. Install Dependencies

  • enter command associated with your distribution into the terminal to install nessesary tools.

    Arch

    sudo pacman -S base-devel openssl mariadb-libs

    Debian Ubuntu

    sudo apt-get update && sudo apt-get install build-essential libssl-dev libmariadb-dev

2. Compile

  • Navigate to the project's root directory in your terminal and run the make command:

    make -j$(nproc)

3. Run

  • Execute the compiled binary located in the main directory:

    ./main.out

Local Server Configuration

Note

To connect to your local server, you must modify your system's hosts file.

  • Windows: C:\Windows\System32\drivers\etc\hosts
  • Linux/macOS: /etc/hosts
127.0.0.1 www.growtopia1.com
127.0.0.1 www.growtopia2.com

About

グロートピア | Growtopia Private Server, GTPS

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages