Fractal Softworks Forum
December 13, 2017, 10:04:58 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: New blog post: Population Growth (11/19/17); Starsector 0.8.1a is out!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: [0.8.1a] Autosave v1.0f (released 2017-04-21)  (Read 12752 times)
LazyWizard
Global Moderator
Admiral
*****
Posts: 1172


Addicted to complexity


View Profile WWW
« on: November 19, 2015, 03:23:51 PM »

Autosave
... because sometimes F5 is too hard to remember ...
Download version 1.0f (mirror)
View source code and progress
Supports Version Checker

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 in the mod folder and set "enableAutosaves" to true.

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:
Quote
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
« Last Edit: July 25, 2017, 06:03:11 PM by LazyWizard » Logged

LazyLib | Console Commands | Version Checker | Common Radar | Simulator Overhaul | Autosave
Feel free to use any code I've written or PM me for help with your own.
All mods are currently on hiatus due to a lack of a working PC.
LazyWizard
Global Moderator
Admiral
*****
Posts: 1172


Addicted to complexity


View Profile WWW
« Reply #1 on: November 19, 2015, 04:22:41 PM »

I uploaded a quick hotfix, get it here (mirror).

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

LazyLib | Console Commands | Version Checker | Common Radar | Simulator Overhaul | Autosave
Feel free to use any code I've written or PM me for help with your own.
All mods are currently on hiatus due to a lack of a working PC.
Hopelessnoob
Captain
****
Posts: 354


View Profile
« Reply #2 on: November 20, 2015, 10:58:53 PM »

Wish I had downloaded this when I played this morning.
Logged
LazyWizard
Global Moderator
Admiral
*****
Posts: 1172


Addicted to complexity


View Profile WWW
« Reply #3 on: March 16, 2017, 09:18:18 PM »

Version 1.0e is up, get it here (mirror).

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

LazyLib | Console Commands | Version Checker | Common Radar | Simulator Overhaul | Autosave
Feel free to use any code I've written or PM me for help with your own.
All mods are currently on hiatus due to a lack of a working PC.
LazyWizard
Global Moderator
Admiral
*****
Posts: 1172


Addicted to complexity


View Profile WWW
« Reply #4 on: April 21, 2017, 11:18:42 AM »

Version 1.0f is up, get it here (mirror).

No new features, just a recompile to make it compatible with Starsector 0.8a.
Logged

LazyLib | Console Commands | Version Checker | Common Radar | Simulator Overhaul | Autosave
Feel free to use any code I've written or PM me for help with your own.
All mods are currently on hiatus due to a lack of a working PC.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2006-2011, Simple Machines
Simple Audio Video Embedder
Valid XHTML 1.0! Valid CSS!