Bisa / Autosave

An autosave Mod for Subnautica/Below Zero
MIT License
1 stars 0 forks source link

Autosave

This is the missing autosave feature for Subnautica and Subnautica: Below Zero.

This mod will:

Never lose more than N (* X) seconds worth of gameplay due to bugs, glitches or mistakes again!

Installation

  1. Dependencies

  2. Download the latest zip file from either:

  3. Unzip the contents of the zip to the game's main directory (where Subnautica.exe or SubnauticaZero.exe can be found)

Configuration

1) Use the in-game Options->Mods->Autosave menu 2) Available options:

"MinutesBetweenAutosaves": 15 - The time (in minutes) between autosave attempts. Must be at least 1.

"MaxAutosaveSlots": 3 - The maximum amount of autosave slots. Must be at least 1. (This has no effect if perma death is active in your game).

"MinimumPlayerHealthPercent": 25 - If player health is below this percent, no save will occur. Change to 0 to disable this option.

"AutoSavePermaDeath": true - If true, autosaving will be scheduled on games with permanent death - but only one save slot is used.

"ShowNameInSaveMenu": true - If true, adds a [slot] or [ASave|slot] to the save slot menu to help you identify which autosave belongs to which save slot.

"PauseDuringSave": true - If true, pauses the game during save (as the original game does).

Contributing

Feel free to clone Bisa/Autosave from github and submit a pull-request with your contributions.

Kindly add a MIT license statement to either the file you are contributing with or, in the case of many files - a license file with details on which parts of the "software" you contributed with.

Translation

If you want to contribute a translation for this mod, please follow these steps: 1) Copy the src\Languages\English.json 2) Change the name to your language. It needs to match the file name in Subnautica\Subnautica[Zero]_Data\StreamingAssets\SNUnmanagedData\LanguageFiles 3) Translate the file. Do not touch the keys ("AutosaveStarting"), only the translated values ("Autosave sequence...")

Building

If you want to build from source you may use the following variables:

Example build command:

msbuild -t:Clean,Build -p:Configuration=Release -p:Game=Subnautica -p:GamePath="D:\steamapps\common\Subnautica"

FAQ

Q. Is this mod safe to add or remove from an existing save file?

A. Yes, the mod is using Subnauticas original SaveGameAsync() method and copies the resulting slot{0000} directory, it will not touch your original.

Q. Does this mod have any known conflicts?

A. No, but while you can install Subnautica Autosave, Safe Autosave and this mod - you probably should not due to redundancy.

Q. Does this mod impact performance?

A. It should not during normal circumstances, since using the original Subnautica SaveGameAsync() method gameplay will "freeze" for a few seconds when saving and then continue normally - just as if you pressed the save button yourself.

Credits

Source/Changelog

Bisa/Autosave on github