You are viewing a potentially older version of this package. View all versions.
Klehrik-SaveMod-1.1.4 icon

SaveMod

Allows you to save your ongoing runs.

Date uploaded 5 months ago
Version 1.1.4
Download link Klehrik-SaveMod-1.1.4.zip
Downloads 287
Dependency string Klehrik-SaveMod-1.1.4

This mod requires the following mods to function

ReturnOfModding-ReturnOfModding-1.1.25 icon
ReturnOfModding-ReturnOfModding

Lua Mod Loader for Risk of Rain Returns

Preferred version: 1.1.25
ReturnsAPI-ReturnsAPI-0.1.56 icon
ReturnsAPI-ReturnsAPI

(Mostly done) API for modding Risk of Rain Returns.

Preferred version: 0.1.56
LuaENVY-ENVY-1.2.0 icon
LuaENVY-ENVY

A plugin to allow ReturnOfModding plugins greater control of their environment.

Preferred version: 1.2.0

README

Allows you to save your ongoing runs.
Saves at the start of each stage (does not save the stage layout or variant).

Disabled in online play and local coop.

Custom data callbacks

-- Callback functions for both should have a single parameter
-- `data` - The custom data table for the current file
    -- This is shared between all mods using this; create a new subtable for your namespace!

Callback.find("save", "saveMod")    -- Runs on file save
Callback.find("load", "saveMod")    -- Runs on file load

Installation Instructions

Install through the Thunderstore client or r2modman (more detailed instructions here if needed).
Join the Return of Modding server for support.

CHANGELOG

v1.1.6

  • Prevent stage_goto and ON_STAGE_START from running twice when loading a save
  • Add public method is_loading

v1.1.5

  • Change custom callback calling to new syntax

v1.1.4

  • Save progress for the following:
    • Stage variant
    • Huntress' "The Hunt" achievement progress

v1.1.3

  • Add "save"/"load" callbacks for other mods to add custom data

v1.1.2

  • Fix results screen being borked when loading a save
  • Disable for local coop

v1.1.1

  • Fix crash when loading certain items
  • Add hourglass icon beside run time in UI
  • Prevent incrementing games_played_total and survivor_*_games_played when loading a save

v1.1.0

  • Update to use RAPI
  • Revamp UI

v1.0.9

  • Updated alongside RMT.
  • Now sets the minimum ImGui window size to 600x400.
  • More values saved as namespace-identifiers now instead of ID numbers.

v1.0.8

  • Fixed off-by-one error in "Stages Completed" on the stats screen.
  • Fixed incorrect skill saving for skills that are changed (e.g., Sniper's Z and V)

v1.0.7

  • Updated alongside RMT.
  • Now saves skill identifiers instead of ID numbers (which is prone to change depending on mods loaded).
  • Now sets active artifacts properly again.

v1.0.6

  • Replaced lua syntax array accessing with gm.array_get

v1.0.5

  • Changed ImGui window to use radio buttons instead
  • Reduced memory usage (I think)
  • Change: Temporary items are now saved
  • Fix: Crash when loading files with items that create RMT custom objects
  • Fix: Now shows the correct survivor on results screen
  • Fix: Should no longer throw an error when there are too many save files

v1.0.4

  • Should no longer crash on pressing "Try Again"

v1.0.3

  • Fix: Sniper runs are no longer softlocked if you enter a new stage and quit before reloading
    • The "Reload" skill got saved instead of "Snipe"

v1.0.2

  • ! Does not load existing files from previous versions !
  • Change: Gold you manage to sneak into the next stage is now saved
  • Change: Items now load in order of acquiry
  • Fix: Artifacts now toggle correctly
  • Fix: Enemy and chest scaling no longer reset
  • Fix: HP gained from Infusion is now saved
  • Fix: Equipment is now saved
  • Fix: Triggering OSP from OSP mod no longer deletes the save file
  • Fix: Drones are now saved
  • Fix: Selected skin is now saved

v1.0.1

  • Fixed some things not loading.
  • Added short explanation text for usage in-game.

v1.0.0

  • Initial release