|
1 | 1 | # Greatshot |
2 | | -Demo analysis, cutting, video rendering for IdTech3 games mainly Wolfenstein: Enemy Territory |
| 2 | +Demo analysis, cutting, IdTech3 games mainly Wolfenstein: Enemy Territory (etpro, legacy) and RTCW (RTCWPro) |
3 | 3 | [](https://discord.gg/p59kWdF) |
4 | 4 | [](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=BRRRFPT7N9NP6¤cy_code=EUR&source=url) |
5 | | -## what it can do: |
| 5 | + |
| 6 | +## Rewrite branch: |
| 7 | + |
| 8 | +This branch doesn't have rendering stuff and Gamestv integration for simplier installation. Gamestv integration doesn't work anymore because login process was changed. |
| 9 | + |
| 10 | +## Features: |
6 | 11 | - cut demos (dm_84/tv_84) -> dm_84 |
7 | 12 | - export demos (dm_84/tv_84) to json and analyze it to output: |
8 | 13 | - hit regions (headshots) counter |
9 | 14 | - fast consecutive kills <img src="/app/static/excellent.png" height="25" width="25"/> [example](https://streamable.com/a5tx7) |
10 | 15 | - consecutive headshots - [example](https://streamable.com/e4ogi) |
11 | | - - revive stats |
12 | | -- download ETTV demo (tv_84) from [gamestv.org](http://gamestv.org) |
13 | | -- render demo to video and publish it - [example](https://streamable.com/2d77) |
14 | | -- link highlights and statistics in comments of gamestv match |
15 | | -- render highlights from gamestv match |
16 | | -- add player name + flag to highlight [example](https://streamable.com/zn7r4) |
17 | | - |
18 | | -## what it could do in future: |
19 | | -- create database of players with statistics |
20 | | -- visualize timeline of match |
21 | | -- retrieve true damage stats when its bugged to 0 |
22 | | -- support other IdTech3 games/mods: RTCW, Quake3, ... |
| 16 | + - revive stats (only for ETTV) |
23 | 17 |
|
24 | 18 | This project uses [hannes's](http://www.crossfire.nu/user/view/id/6710) modified [Tech3 Demo API - 0.1](http://www.crossfire.nu/news/4632/tech3-demo-api-01) to cut and export demos. |
25 | 19 | It was modified to be able to cut [ETTV](http://wolfwiki.anime.net/index.php/ETTV:Viewer%27s_Guide) demo with selected player's POV. My modification: [Tech3 Demo API](https://github.com/mittermichal/Anders.Gaming.LibTech3) |
26 | 20 |
|
27 | | -## Self-hosting |
| 21 | +## Run: |
28 | 22 |
|
29 | | -with python3: |
| 23 | +with python3.12: |
30 | 24 | - `pip install -r requirements.txt` |
31 | | -- 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 |
32 | | -- create `config.cfg` and `config.py` from `config.sample.cfg` and `config.sample.py` |
33 | | -- run `python init_db.py` ... this should create sqlite database |
34 | | -- run `python web.py` |
35 | | -- open `localhost:5111` in browser |
| 25 | +- download parsing application from https://github.com/mittermichal/Anders.Gaming.LibTech3/releases its path is then referenced in `PARSERPATH` in `config.cfg` |
| 26 | +- run `python greatshot_web.py` |
| 27 | +- open `localhost:5000` in browser |
| 28 | + |
| 29 | +alternatively use poetry to install dependencies |
0 commit comments