Autosave

版本 v0.1.1·更新於 2023-12-27

Adds in-game autosave functionality.

模組介紹 作者原文

Autosave - Adds in-game autosave functionality

A BepInEx Bleeding Edge (v667) plugin for Shadows of Doubt.

What is it?

This plugin adds in-game autosave functionality.

Installation

r2modman or Mod Manager installation

If you are using r2modman or Mod Manager for installation, simply download the mod from the Online tab.

Manual installation

Follow these steps:

  • Download BepInEx (build artifact 667 or higher) from the official repository.
  • Extract the downloaded files into the same folder as the "Shadows of Doubt.exe" executable.
  • Launch the game, load the main menu, and then exit the game.
  • Download the latest version of the plugin from the Releases page. Unzip the files and place them in corresponding directories within "Shadows of Doubt\BepInEx...". Also, download the SOD.Common dependency.
  • Start the game.

Usage and features

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:

  • The mod saves your game every 5 minutes, but it doesn't count time spent with the game paused.
  • Before each automatic save, it gives you two warnings, one 30 seconds before and another 5 seconds before.
  • It can tell if you're away from your keyboard/mouse while the game is active. If you are, it stops the timer until you're back. The first save after you're back still happens on time.
  • It keeps up to 5 autosaves for each character, adding "- AUTO #" onto the end of the save name. After the last autosave, it will replace the oldest save as it makes each new one.
  • The autosaves are named using the format "{current save name} - AUTO {#}" if you manually save your game at least once. If not, or if you turn off this setting, they're named "Autosave - AUTO {#}" instead.

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.

Configuration

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 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.

License

All code in this repo is distributed under the MIT License. Feel free to use, modify, and distribute as needed.

安裝與使用 安裝:按包內說明操作

  1. 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
  2. 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
  3. 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
  4. 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。

不同模組的安裝位置差異較大,包內說明是最可靠的依據。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

Venomaus-SODCommon

檔案與校驗

檔案名稱
Autosave-0.1.1.zip
檔案大小
2.8 MiB