Statistics Generator for COD 1/2/4/5, MOHAA, Spearhead, Wolfenstein/Enemy Territory and Quake Wars
50K+
Statsgen 2 is a Statistics Generator for Call Of Duty 1/2/4/5, MOHAA, Spearhead, Wolfenstein/Enemy Territory and Quake Wars. Statsgen automatically downloads the server logfiles, processes them using a flexible template system, and then transmits the resultant webpages to the webserver. Templating allows the pages produced to be very flexible to fit in with the style of your clan website.
This is not your typical Docker image, as it does not contain Statsgen 2 itself. It's merely a preconfigured base image for Statsgen 2 to run in headless mode using Wine.
Before you can use/run the image, you need to perform a one-time configuration, which sets up the Statsgen 2 .ini file, templates and directory structure.
To do so, you first need to download Statsgen 2 to your local computer. Statsgen2 can be run on Windows (native) or on Linux using Wine. If you're on Linux, you probably need to use winetricks to install vcrun6.
Z:\root\statsgen\drive_c\statsgen/opt/statsgen.ln /opt/cod2/main/games_mp.log /opt/statsgen/games_mp.logUse the included docker-compose.yml to start the container.
If you need to change anything to your statsgen2.ini configuration file, make sure to stop the Docker container first before doing so.
If you want, you can use cron to schedule Statsgen to run. To do so, you'll have to build the Docker image yourself and add -runonce at the end of the ENTRYPOINT.
This will cause statsgen to start, perform a stats run, then exit and thus the container will stop.
Make sure to remove restart: always from the compose file as well, else it will keep restarting infitenly.
Schedule the Docker using crontab -e as follows:
33 3 * * * /usr/local/bin/docker-compose -f /opt/statsgen2/docker-compose.yml start > /dev/null
Statsgen 2 by Shaun Jackson
docker-wine-vcrun6 by telyn
Content type
Image
Digest
sha256:8b4a225fb…
Size
564.1 MB
Last updated
16 days ago
docker pull freekers/docker-statsgen