Compiling - PazerOP/tf2_bot_detector GitHub Wiki
Compiling
Note: You probably only want to compile from source if you intend on making changes to the code. If all you want is the absolute latest build:
- Make sure you are signed into GitHub
- Go to https://github.com/PazerOP/tf2_bot_detector/actions?query=workflow%3Abuild
- Click on the latest build
- Download one of the artifacts that starts with the name
tf2_bot_detector_
This guide assumes you are already familiar with the fundamentals of git and compiling programs from source code.
TF2 Bot Detector currently only works on MSVC and Windows, but support for Linux is planned.
Windows
- Make sure you have Visual Studio 2019 installed with the "Desktop development with C++" workload.
- Download and install git for Windows: https://git-scm.com/download/win
- Download and install CMake: https://cmake.org/download/
- Save the following as a batch file and run it: https://github.com/PazerOP/tf2_bot_detector/raw/master/util/download_and_compile.bat
There are several build flags. You can seem them here.