Thanks to visit codestin.com
Credit goes to github.com

Skip to content

gurotopia/Gurotopia

Repository files navigation

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

Dockerfile


Windows_logo_and_wordmark_-_2021 svg

1. Install Dependencies

  • download MSYS2 and Visual Studio Code: install C/C++ extension for VSC (Required)

  • Locate your MSYS2 folder (e.g., C:\msys64), open ucrt64.exe, and run the following command:

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

2. Compile

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

3. Run/Debug

  • After compiling, press F5 to run the server with the debugger attached.

Linux

1. Install Dependencies

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

    Arch

    sudo pacman -S base-devel openssl sqlite

    Debian Ubuntu

    sudo apt-get update && sudo apt-get install build-essential libssl-dev openssl sqlite3

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

Add the following lines to the end of the file:

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 7