Fractal Softworks Forum

Starsector => Mods => Topic started by: LazyWizard on November 19, 2015, 03:23:51 PM

Title: [0.9.1a] Autosave v1.1 (released 2018-11-16)
Post by: LazyWizard on November 19, 2015, 03:23:51 PM
Autosave
... because sometimes F5 is too hard to remember ...
Download version 1.1 (https://bitbucket.org/LazyWizard/autosave/downloads/Autosave%201.1.zip) (mirror (http://www.mediafire.com/file/20dhab2heqi7ia6/Autosave_1.1.zip)) (requires LazyLib (http://fractalsoftworks.com/forum/index.php?topic=5444.0))
View source code and progress (https://bitbucket.org/LazyWizard/autosave/overview)
Supports Version Checker (http://fractalsoftworks.com/forum/index.php?topic=8181)

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 (https://docs.oracle.com/javase/7/docs/api/constant-values.html#java.awt.event.KeyEvent.VK_0) instead.

Changelog:
Spoiler
Quote
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
[close]
Title: Re: [0.7a] Autosave v1.0d (released 2015-11-19)
Post by: LazyWizard on November 19, 2015, 04:22:41 PM
I uploaded a quick hotfix, get it here (https://bitbucket.org/LazyWizard/autosave/downloads/Autosave%201.0d.zip) (mirror (http://www.mediafire.com/download/n07rerrag1317yk/Autosave_1.0d.zip)).

This fixes an issue where the autosaver didn't "release" the quicksave key. This didn't affect manual saves in any way, but it prevented subsequent autosaves from working until you pressed F5 yourself to "unstick" it.
Title: Re: [0.7a] Autosave v1.0d (released 2015-11-19)
Post by: Hopelessnoob on November 20, 2015, 10:58:53 PM
Wish I had downloaded this when I played this morning.
Title: Re: [0.7.2a] Autosave v1.0e (released 2017-03-16)
Post by: LazyWizard on March 16, 2017, 09:18:18 PM
Version 1.0e is up, get it here (https://bitbucket.org/LazyWizard/autosave/downloads/Autosave%201.0e.zip) (mirror (http://www.mediafire.com/file/ukc5h2a6h8idlhs/Autosave_1.0e.zip)).

This update adds no new features and only fixes the version file hosting. If you don't use Version Checker you don't need to download this.
Title: Re: [0.8a] Autosave v1.0f (released 2017-04-21)
Post by: LazyWizard on April 21, 2017, 11:18:42 AM
Version 1.0f is up, get it here (https://bitbucket.org/LazyWizard/autosave/downloads/Autosave%201.0f.zip) (mirror (http://www.mediafire.com/file/p68fngdcaqzfgls/Autosave_1.0f.zip)).

No new features, just a recompile to make it compatible with Starsector 0.8a.
Title: Re: [0.9a] Autosave v1.1 (released 2018-11-16)
Post by: LazyWizard on November 16, 2018, 09:07:13 PM
Version 1.1 is up, get it here (https://bitbucket.org/LazyWizard/autosave/downloads/Autosave%201.1.zip) (mirror (http://www.mediafire.com/file/20dhab2heqi7ia6/Autosave_1.1.zip)). This mod requires LazyLib 2.4b (http://fractalsoftworks.com/forum/index.php?topic=5444.0) or higher!

Changelog:
Quote
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
Title: Re: [0.9.1a] Autosave v1.1 (released 2018-11-16)
Post by: Alphascrub on June 27, 2019, 01:54:21 AM
Sorry if you answered this elsewhere but is this mod safe to use in 9.1a?
Title: Re: [0.9.1a] Autosave v1.1 (released 2018-11-16)
Post by: SCC on June 27, 2019, 02:15:15 AM
Yes, it says so in the thread title.