Skip to content

PowerViber/tfm2_monitor

Repository files navigation

TFM2 Monitor

Local Teamfight Manager 2 draft, scouting, match-history, and meta helper.

What It Includes

  • Browser-based draft simulator with blue/red ban-pick flow.
  • Team optimizer for 5-role comps using exact TFM2 champion stats/skill values from bundle.game_data.
  • Champion availability exclusions saved in the browser.
  • Tactics advisor based on both drafts, team shape, counters, lane roles, and saved match history.
  • Scout and meta dashboard fed by local TFM2 save_*.data files.
  • Local watcher that parses Teamfight Manager 2 save data for:
    • completed league match results,
    • team win/loss history,
    • replay picks and bans,
    • champion meta and patch signals where available.

Run The Web App

From this folder:

python -m http.server 8765 -d .\tfm2_draft_simulator

Then open:

http://127.0.0.1:8765/

Run The Local Watcher

The watcher reads TFM2 saves from:

%APPDATA%\TeamSamoyed\TeamfightManager2\data

Run once:

dotnet run --project .\tfm2_local_watcher\tfm2_local_watcher.csproj -- --once

Run continuously:

dotnet run --project .\tfm2_local_watcher\tfm2_local_watcher.csproj -- --interval 6

The watcher writes tfm2_draft_simulator/local-scout-data.json, which the browser app reads when you open Scout/Meta or press refresh.

Run the on-demand refresh endpoint for the app's Refresh save data button:

dotnet run --project .\tfm2_local_watcher\tfm2_local_watcher.csproj -- --serve-refresh --port 8766

The button rereads the selected save_*.data file once per click.

Rebuild Champion Data

Champion text and numbers come from:

C:\Users\arian\Downloads\Teamfight-Manager-2-SteamRIP.com\Teamfight Manager 2\bundle.game_data

Regenerate champion-data.js after a game update:

cd .\tfm2_draft_simulator
node .\build_data.mjs

Notes

Generated files, save payload dumps, screenshots, node_modules, and .NET build outputs are intentionally ignored.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors