boiler-writter
boiler-writter copied to clipboard
boiler-writter
About
This is a console application based on Boiler. It retrieves the CMsgGCCStrike15_v2_MatchList protobuf message from Steam GC and writes it into the file provided as an argument. Nothing more.
Why?
I made this application to add the ability to download last matchmaking demos from the application CS Demo Manager.
Usage
A ready-to-use executable for each platform can be downloaded from GitHub.
./boiler-writter path_to_the_file_where_data_will_be_written [matchId outcomeId tokenId]
The 3 optional parameters must come from a CMsgGCCStrike15_v2_MatchListRequestFullGameInfo message.
If they are specified, it will write the CMsgGCCStrike15_v2_MatchList message for this specific match.
Build
Common tasks
- Download the repo and extract it
- Download the Steamworks SDK
- Extract it into the solution root folder and rename the folder to
steamworks_sdk - Download the protobuf 3.20.3 source code
- Extract it into the root folder and make sure the folder's name is
protobuf - Install CMake
Windows
- Install protobuf - from the root folder run:
cd protobuf/cmake && mkdir buildcmake -G "Visual Studio 17 2022" -DCMAKE_BUILD_TYPE=Release -Dprotobuf_BUILD_TESTS=OFF -DCMAKE_INSTALL_PREFIX=.\build .cmake --build . --config Releasecd ../..- Add the path
protobuf/cmake/Releaseto yourPATHenvironment variable (whereprotoc.exeis)
cmake . -DCMAKE_BUILD_TYPE=Releasecmake --build . --config Release- Executable will be in the
binfolder
A VS solution BoilerWritter.sln is also available.
MAC OS
Note
To build the x86_64 version from an arm64 mac, run/usr/bin/arch -x86_64 /bin/zsh ---loginbefore running the commands below.
brew install automake autoconf libtool- Install protobuf - from the root folder run:
cd protobuf./autogen.sh./configure CXXFLAGS="-DNDEBUG"make -j$(sysctl -n hw.physicalcpu)sudo make installcd ..
cmake . -DCMAKE_BUILD_TYPE=Releasecmake --build . --config Release- Executable will be in the
binfolder
If you want to generate an Xcode project cmake -G Xcode.
Linux
sudo apt install build-essential autoconf gcc gcc-multilib g++-multilib libtool cmake- Install protobuf - from the root folder run:
cd protobuf./autogen.sh./configure CXXFLAGS="-DNDEBUG"makesudo make installsudo ldconfigcd ..
cmake . -DCMAKE_BUILD_TYPE=Releasecmake --build . --config Release- Executable will be in the
binfolder