Server software implementation for a game I forgot its name 💀
# install dependencies (ubuntu)
apt install build-essential cmake libprotobuf-dev protobuf-compiler liblua5.3-dev
# install dependencies (arch linux)
pacman -S cmake protobuf lua
# setup for build
cmake -B build
# build
cmake --build build -j8
Make sure you've selected "C++ CMake tools for Windows" in the Visual Studio installer.
Install vcpkg according to their documentation.
# install dependencies (vcpkg)
vcpkg install protobuf lua[cpp]:x64-windows
Open the folder in Visual Studio and build it.
Use the MINGW64 terminal.
# install dependencies
pacman -S ${MINGW_PACKAGE_PREFIX}-{toolchain,cmake,protobuf,lua}
# prepare for build
cmake -B build -G "Unix Makefiles"
# build
cmake --build build -j8
Also: Don't use WSL. According to everyone who's tried, it doesn't work.
Put the resources
directory in the current working directory and run. Enter help
in the interactive prompt to see a list of commands.