This is a very simple app I've created for managing my local server to play with friends because typing commands into server cmd was not really convenient. The app is mostly intended to be used with local server on the same machine, but you also can connect to a remote server via RCON (Stopping and starting will not work).
Written in C++ and QML as an exercise.
✅ Start and stop local server
✅ Config file in the working directory
✅ No installer, everything works inside app directory
✅ RCON Console and some additional helpful inputs
✅ History of the entered commands
✅ Scaling on different resolutions, users also change the scale from app settings
✅ Light and dark themes
✅ History of the downloaded maps
⬜️ Redirect server cmd output into a panel inside the application and get rid of standalone window if possible
The project uses Conan 2, so make sure the Conan is installed and is invokable, e.g.:
$ pip install conan
$ conan --version
Conan version 2.11.0
If build fails with conan profile related issue, try:
conan profile detect --force
Open the project in Qt Creator and hit build.
Versions of dependencies used, probably will work on newer versions as well:
- QtCreator 13.0.0
- Qt 6.7.0 (MSVC 2019) and Qt 6.8.1 (MSVC 2022)
- rconpp at d77993b
- Conan 2 and dependencies retrieved using it, see conanfile.txt for more details
- CMake 3.29.2
In order to deploy the built binary you need to have windeployqt.exe
reachable from the powershell
(easiest way is to set QTDIR
environment variable on your system).
There are a few scripts, one to move the binary and all required dependencies:
# From project root directory.
.\scripts\deploy_win.ps1 .\build\Release-Desktop_Qt_6_7_0_MSVC2019_64bit_MSVC2022 .\deploy\cs2guiserver
And the second is to package the new directory into an archive:
.\scripts\package_win.ps1 .\deploy\cs2guiserver
For convenience there is also a combined script:
.\scripts\deploy_and_package_win.ps1 .\build\Release-Desktop_Qt_6_7_0_MSVC2019_64bit_MSVC2022 .\deploy\cs2guiserver
For now it only works on Windows
. Maybe there will be Linux support in the future. Tested on Windows 10 22H2 (19045.4412), but in theory should work on any version of Win10 and above.