Skip to content

funniman-exe/cge-multitool

Repository files navigation

The cge7-193 Multitool

The cge7-193 Multitool is a CLI (Command Line Interface) created by funniman.exe to attempt to provide a user friendly interface for accessing information related to servers running on the Source Engine.
This tool was originally designed for use with the INTERLOPER ARG's "cge7-193" TF2 server (hence the multitool's name), but has since been expanded to support adding custom profiles with your own servers.

Features

Current features

  • Custom Profiles
  • User friendly FastDL access
  • Scraping known FastDL files for changes
  • Server information
  • Server status
  • Configuration via prefs.json

Upcoming features

  • Scraping for new/unknown Fastdl files
  • Scraping Filters

Building

Prerequisites

Compiler

All official Windows builds have been built with MinGW (Ensure the MinGW bin folder is accessable via the PATH)
All official Linux builds have been built with Ninja and gcc-c++

Fixing libssq

The libssq library has a typo that must be fixed before it can be compiled.
Open the file src/error.c, and on line 36, remove the , from the end of the line.

If you are building for Windows, you may have to add the line target_link_libraries(ssq ws2_32.lib) after the add_library(ssq) line in CMakeLists.txt.

Special libssq building instructions

You must Build libssq following special instructions (as opposed to as instructed in it's github repository)
Windows:

cmake -B build -G "MinGW Makefiles"
cmake --build build


Linux:

cmake -B build -G "Ninja"
cmake --build build

Building

To build, run the following commands in your shell prompt
Windows:

cmake -B build -G "MinGW Makefiles"
cmake --build build


Linux:

cmake -B build -G "Ninja"
cmake --build build

The cge-multitool.exe executable will be built in the directory previously specified.

Isssues -- libssq

  • Cannot open include file: 'stdbool.h'

Ensure that you are building using the specified build commands, and ensure that the PATH entry for the MinGW bin folder is placed above any Microsoft compilers (ex: MSVC420)

Issues -- cge-multitool

  • Crash when running info command

The cause for this error is not fully understood, as it seems to occur seemingly at random. This crash also seems to happen in two places: while loading the server info and while loading how many players are in the server.

About

A multitool for interfacing with servers for games running on the Source Engine.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published