A BepInEx Bleeding Edge (v667) plugin for Shadows of Doubt.
This plugin adds in-game autosave functionality.
If you are using r2modman or Thunderstore Mod Manager for installation, simply download the mod from the Online tab.
Follow these steps:
This mod keeps track of the time since you last saved your game and saves automatically after a certain amount of time. Here are the basic settings, but you can change them:
Note: The setting controlling the max number of autosaves works off of the save name, so using "Autosave - AUTO {#}" will limit the number of autosaves across all of your characters to the setting.
Config settings include:
| Name | Description |
|---|---|
| AutosaveDelay | The amount of time between autosaves in seconds. The minimum is 15 seconds. |
| ShowWarnings | If true, warn of upcoming autosaves 5 seconds and 30 seconds beforehand. |
| AvoidConsecutiveAfkAutosaves | If true, then do not start the next autosave timer if the player was AFK during an autosave. The timer will start when the player returns from being AFK. |
| NumberOfAutosavesToKeep | The number of autosaves to keep. Old autosaves will be overwritten. |
| UseLastSaveName | If true, autosaves will be named "{current save name} - AUTO #". Otherwise, autosaves will be named "Autosave - AUTO #" instead. |
You can use r2modman or Thunderstore Mod Manager to easily change the plugin's config settings (via the Config Editor tab). You can also manually edit the config file in the BepInEx directory (I believe that changes you make will take effect while the game is running, but I'm not 100% positive about that).
If you have BepInExConfigManager installed, you can use the in-game menu to edit the config settings.
All code in this repo is distributed under the MIT License. Feel free to use, modify, and distribute as needed.