Skip to content

charlie-collard/super-auto-pets

Repository files navigation

Super Auto Pets replay editor

A tool to allow for viewing of arbitrary Super Auto Pets replays

Requirements

  • Install python 3
  • Install mitmproxy
  • Install mitmproxy's root certificate on your computer - ⚠️ You must keep the private key for this certificate safe! Anyone who gets a hold of it will gain the ability to intercept all of your traffic on the web. I would recommend uninstalling the certificate when you are not using mitmproxy.

Usage

  1. Open Super Auto Pets in your browser, start a game, and get to the point where you can watch a replay (the swords in the top right).
  2. Edit team_1 and team_2 in make-team.py to your desired teams
  3. Run python3 make-team.py
  4. Start the proxy with ./start-proxy.sh (Windows users can run start-proxy.ps1)
  5. Configure your browser to use the proxy
    • Chrome: chrome://settings/?search=proxy
    • Firefox
  6. Press the replay button in-game. It should play out the replay.
  7. Update make-team.py and run it again - everything should update automatically (no need to restart the proxy).