This project is a log parser project designed to process and create reports of Quake 3 Arena Server log files. It provides a command-line interface for various report generations operations.
- Go 1.21 or later
- Additional dependencies as specified in
go.mod
-
Clone this repository:
git clone https://github.com/brendontj/super-garbanzo.git cd super-garbanzo
-
Install dependencies:
go mod download
-
Build the project:
go build -o ./bin/super-garbanzo
-
Run the project:
./bin/super-garbanzo
-file=
, default valuelog-samples/qgames.log
: Specify the input file to parse-streamSize=
, default value1000
: Specify the size of the buffered channel used to stream log entries-reportType=
, default valuegame
: Specify the type of report to generate. Valid values aregame
,score
anddeath-causes
.-gameIdentifier=
, default value-1
: Specify the game identifier to generate a report for. If the value is-1
, then a report will be generated for all games otherwise a report will be generated for the specified game identifier.
- ./bin/super-garbanzo -reportType=game -gameIdentifier=-1
- ./bin/super-garbanzo -reportType=game -gameIdentifier=10
- ./bin/super-garbanzo -reportType=score -gameIdentifier=-1
- ./bin/super-garbanzo -reportType=score -gameIdentifier=10
- ./bin/super-garbanzo -reportType=death-causes -gameIdentifier=-1
- ./bin/super-garbanzo -reportType=death-causes -gameIdentifier=10