Skip to content

mittermichal/greatshot-web

Repository files navigation

Greatshot

Demo analysis, cutting, video rendering for IdTech3 games mainly Wolfenstein: Enemy Territory Discord Donate

what it can do:

  • cut demos (dm_84/tv_84) -> dm_84
  • export demos (dm_84/tv_84) to json and analyze it to output:
    • hit regions (headshots) counter
    • fast consecutive kills example
    • consecutive headshots - example
    • revive stats
  • download ETTV demo (tv_84) from gamestv.org
  • render demo to video and publish it - example
  • link highlights and statistics in comments of gamestv match
  • render highlights from gamestv match
  • add player name + flag to highlight example

what it could do in future:

  • create database of players with statistics
  • visualize timeline of match
  • retrieve true damage stats when its bugged to 0
  • support other IdTech3 games/mods: RTCW, Quake3, ...

This project uses hannes's modified Tech3 Demo API - 0.1 to cut and export demos. It was modified to be able to cut ETTV demo with selected player's POV. My modification: Tech3 Demo API

Self-hosting

with python3:

  • pip install -r requirements.txt
  • download parsing application from https://github.com/mittermichal/Anders.Gaming.LibTech3/releases its path is then referenced in PARSERPATH in config.cfg in the next step
  • create config.cfg and config.py from config.sample.cfg and config.sample.py
  • run python init_db.py ... this should create sqlite database
  • run python web.py
  • open localhost:5111 in browser