Risk of Rain 2
You are viewing a potentially older version of this package. View Latest Version
Install

Details

Date Uploaded
3 weeks ago
Downloads
211
Size
179KB
Dependency string
Shuflduf-WeatherIndex-1.0.0

Weather Index

Unified platform for Risk of Rain 2 runs

https://wi.shuflduf.xyz/

Features

  • Rust backend
  • SvelteKit frontend
  • Risk of Rain 2 mod
    • Tracks all sorts of data, from kills, to distance traveled, to stage order, to which items where picked up and when
      • Full table can be found here
    • Data dumper to extract item data, enemy/survivor data, and more
  • CORS support

Installation

Full interactive guide is available on the website here

  1. Sign in on the website
  2. Ensure that r2modman is installed.
  3. Make a new profile (or use an existing profile)
  4. Install "WeatherIndex" from the Online tab
  5. Start Modded
  6. In the game's Mod Settings, find WeatherIndex and click Link Account. This will open your web browser for authentication.

Project Structure

Weather-Index/
├── backend # This is where the BACKEND goes
├── data # This is where static DATA goes
├── frontend # This is where the FRONTEND goes
└── mod # This is where the MOD goes

Development Setup

For all of the components, you will need a clone of https://github.com/Shuflduf/Weather-Index.git

Backend

  1. Make backend/.env from backend/.env.example and fill in all the fields
  2. Run cargo build in backend/ to install the dependencies
  3. Run cargo run in backend/ to start the backend on http://localhost:3000

Frontend

  1. Make frontend/.env from frontend/.env.example and fill in all the fields
  2. Run deno install in frontend/ to install the dependencies
  3. Run deno run dev in frontend/ to start the frontend on http://localhost:5173

Mod

  1. Run dotnet build -c Release in mod/ to install the dependencies, build the mod, and package it.
  2. In your r2modman profile, click Settings and click Import Local Mod
  3. Select the generated zip under mod/bin/Release/netstandard2.1/WeatherIndex_[VERSION].zip
  4. Start Modded
  5. Change the Debug > Backend URL option to http://localhost:3000 if interacting with the backend (which you probably are)

[^1]: The official library is so buggy, this project instead uses a fork

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.