Please note: autosaving is disabled by default because save times can become extremely long with many mods enabled. Instead, the mod simply warns you when you haven't saved in a while. If you want to enable autosaving, edit
autosave_settings.json.data in the saves/common folder and set
"enableAutosaves" to
true (this file will only exist after you have launched the game with Autosave enabled at least once).
You can set forced autosaves to happen after enough time has passed since the last save, after market transactions, after fighting a battle, or any combination of the three.
The autosave portion of this mod works by simulating keypresses. If for some reason F5 isn't the button you use to quicksave, you'll have to edit the settings file to point it at the right key. Please note that the key IDs in this file are
not the LWJGL constants used by every other mod, but the
Java KeyEvent constants instead.
Changelog:
Spoiler
1.1 (November 16, 2018)
=========================
Updated to be compatible with Starsector 0.9a
This mod now requires LazyLib 2.4b or later
Settings are now stored in saves/common/autosave_settings.json.data
- This file will only exist after launching the mod at least once
1.0f (April 21, 2017)
=======================
Updated to be compatible with Starsector 0.8a
1.0e (March 16, 2017)
=======================
Switched version file hosting to Bitbucket
1.0d (November 19, 2015)
==========================
Fixed issue where simulated quicksave key presses weren't always registering
1.0c (November 19, 2015)
==========================
Updated to be compatible with Starsector 0.7a
1.0b (December 08, 2014)
==========================
Added "minutesBetweenSubsequentWarnings" setting to autosave_settings.json
Fixed bug where the mod started spamming sector messages after a failed autosave
1.0 (December 08, 2014)
=========================
Initial release:
- By default, warns when you haven't saved in a while, and tells you how many
battles and market transactions have occurred since the last save
- Player can enable autosaves in autosave_settings.json, can autosave if enough
time has passed since the last save, or set it to force a save after every
battle or market transaction