bclymer / slippi-cumulative-stats

Get win rates and play time from Slippi replays

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Slippi Cumulative Stats

A script using slippi-js to calculate your overall and head to head win rates and play times from replays. Results are shown per character, stage, and nickname as well. You can specify your character, your opponent, your opponent's character, and even opponents to skip.

Instructions

Tested on Windows.

  1. Place the executable from the Releases page into a folder with replays. (It also checks subfolders)
  2. Run slippi-cumulative-stats-win.exe
  3. Enter your codes/nicknames as prompted. (Connect codes are more reliable)

Note: By default, replays are saved in Documents/Slippi but replays created before Jun 30, 2020 may be in your Dolphin folder.

Example

Example results

Win conditions

  • You finished with more stocks than your opponent
  • You finished with the same amount of stocks but a lower percent than your opponent or
  • Your opponent LRA-Start quit the match.*

Otherwise, it's considered a loss. Win conditions are ignored and a loss is counted if you LRA-Start quit the match.* Matches shorter than 30 seconds or with no deaths are never counted.

*LRA-Start detection is currently disabled due to inaccurate results. If someone quits, current stocks and percents are used.

Run from source

Requires Node.js.

  1. Place slippi-stats.js and package.json in a folder with replays
  2. Open a command line in the directory and run npm install
  3. Run node slippi-stats.js

About

Get win rates and play time from Slippi replays


Languages

Language:JavaScript 100.0%