Skip to content

Latest commit

 

History

History
99 lines (69 loc) · 2.78 KB

File metadata and controls

99 lines (69 loc) · 2.78 KB

ReplayAssistant

How It Works

  1. Parsing Replays: ReplayAssistant parses Rocket League replay files into a structured csv files on player statistics, highlights, goals and raw frames.

  2. AI Assistant:

    • CSV files are uploaded to OpenAi, and use to create an assistant with instructions for how to use the data.
  3. Stream based textual feedback:

    • Outputs from the OpenAI stream are displayed in a console window during a replay as they are received.

Plugin Installation : plugin/

  1. Prerequisites:

  2. Installation Steps:

    • Download the ReplayAssistant plugin files from this repository.
    • Place the plugin files into the BakkesMod plugins directory.
    • Launch Rocket League and BakkesMod to load the plugin.

Usage

  • Start a replay with the plugin enabled.
  • Once in a replay you'd like an assistant with, click the replay assistant button.
  • interact by typing in free form questions into the thread/prompt.

Future Goals

  • Improve markdown rendering quality with images and fonts.
  • Interact with the current frame
  • Annotate the replay

ReplayAssistant Service service/

ReplayAssistant is a command-line tool written in Rust, that parses binary replay files into csv files and connects them to an OpenAI Assistant with instructions. ReplayAssistant extracts tactical insights, performance metrics, and actionable feedback designed to elevate gameplay.


Getting Started

Prerequisites

  1. Obtain an API key for the Open AI

  2. Set Environment:

    export OPENAI_API_KEY=<your_openai_api_key>
    python -m venv venv
  3. Build Server

    ./build.sh
  4. Run Server

    source venv/bin/activate
    ./run.sh

Installation

Clone the repository and build ReplayAssistant:

git clone https://github.com/scottleedavis/ReplayAssistant.git
cd ReplayAssistant

Building

cargo build --release
# cross build --release --target x86_64-apple-darwin
# cross build --release --target aarch64-apple-darwin
# cross build --release --target x86_64-pc-windows-gnu

Testing

cargo test

Acknowledgments

  • Rattletrap: ReplayAssistant wouldn’t be possible without this fantastic replay parser. Kudos to the creators and maintainers for providing such a robust tool!
  • AI Service Providers: Anthropic and OpenAI, for their advanced language models powering these tools.

Contributing

Contributions are welcome! Please open an issue or submit a pull request if you’d like to improve ReplayAssistant.