Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.95a is out! (03/26/21); Blog post: Of Slipstreams and Sensor Ghosts (09/24/21)

Pages: 1 [2]

Author Topic: [0.95a] Autosave v1.1c (released 2021-03-26)  (Read 117741 times)

LazyWizard

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1351
    • View Profile
    • GitHub Profile
Re: [0.9.1a] Autosave v1.1b (released 2020-08-28)
« Reply #15 on: September 14, 2020, 11:14:30 AM »

No worries, it's completely understandable. It's a confusing setup. The config files will be replaced with an in-game dialog and per-save settings in the next version. ETA is somewhere around the heat death of the universe, or whenever I can muster up motivation to work on mods again. Whichever of those two comes first.
Logged

Neitronus

  • Ensign
  • *
  • Posts: 31
    • View Profile
Re: [0.9.1a] Autosave v1.1b (released 2020-08-28)
« Reply #16 on: October 06, 2020, 01:48:59 AM »

Is there any way to link autosave feature to ingame cycle/day etc rather than to fixed system timer? Optionaly ofc.
Logged

Warlord-616x

  • Lieutenant
  • **
  • Posts: 90
    • View Profile
Re: [0.9.1a] Autosave v1.1b (released 2020-08-28)
« Reply #17 on: October 28, 2020, 11:16:53 AM »

this is all i get.
Logged

LazyWizard

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1351
    • View Profile
    • GitHub Profile
Re: [0.95a] Autosave v1.1c (released 2021-03-26)
« Reply #18 on: March 26, 2021, 12:15:07 PM »

Version 1.1c has been released. No new features, just a compatibility bump. Grab it here.

And just as a reminder, autosaves are disabled by default. You'll need to launch the game once with this mod enabled, then edit saves/common/config/lw_autosave_settings.json.data[/url] to enable them.
Logged

Rasip

  • Ensign
  • *
  • Posts: 31
    • View Profile
Re: [0.95a] Autosave v1.1c (released 2021-03-26)
« Reply #19 on: April 01, 2021, 08:19:22 PM »

Any chance of a new feature being added? Specifically, using save copy instead of overwriting the save?
Logged

LazyWizard

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1351
    • View Profile
    • GitHub Profile
Re: [0.95a] Autosave v1.1c (released 2021-03-26)
« Reply #20 on: April 02, 2021, 08:41:51 AM »

Any chance of a new feature being added? Specifically, using save copy instead of overwriting the save?

Unfortunately, no. The autosave portion of this mod works by simulating keyboard presses, and there's no dedicated keybind for making a save copy.
Logged

rhif

  • Ensign
  • *
  • Posts: 2
    • View Profile
Re: [0.95a] Autosave v1.1c (released 2021-03-26)
« Reply #21 on: May 02, 2021, 03:22:33 PM »

Nice mod. Would like to add that the saving can be done now without needing to emulate keypresses.

Saving:
Code
Global.getSector().getCampaignUI().cmdSave();

Save Copy:
Code
Global.getSector().getCampaignUI().cmdSaveCopy();

Not a knock on your mod, of course. I'm still learning more about the modding API and figured I'd share a discovery.  :)
Logged

Damienov

  • Ensign
  • *
  • Posts: 41
    • View Profile
Re: [0.95a] Autosave v1.1c (released 2021-03-26)
« Reply #22 on: May 02, 2021, 07:11:20 PM »

Nice mod. Would like to add that the saving can be done now without needing to emulate keypresses.

Saving:
Code
Global.getSector().getCampaignUI().cmdSave();

Save Copy:
Code
Global.getSector().getCampaignUI().cmdSaveCopy();

Not a knock on your mod, of course. I'm still learning more about the modding API and figured I'd share a discovery.  :)
perhaps contribute on this mod github would be a better option for that

and I think it was intentional as to why its not automated as stated on the first post
Quote
autosaving is disabled by default because save times can become extremely long with many mods enabled
« Last Edit: May 02, 2021, 07:14:08 PM by Damienov »
Logged

Deshara

  • Admiral
  • *****
  • Posts: 1531
  • Suggestion Writer
    • View Profile
    • Email
Re: [0.95a] Autosave v1.1c (released 2021-03-26)
« Reply #23 on: June 08, 2021, 12:07:27 PM »

i love this mod but I have 1 small problem; the autosave can be a little aggressive about saving when u leave a market or after a battle, which combined with the fact that u cant pull up the pause menu to load or quit without exiting a market or battle turns it into a bit of a problem -- which is a shame bc saving when I leave a market & after a good battle is the only feature of this mod that I want! This could be fixed for me either by giving the option to save copy instead of save so it doesnt overwrite my last save (in case I wanna redo something that I messed up in the market), and/or, introducing an option that allows you to introduce a delay between the autosave being triggered and actually firing, so I have time to hit escape & load before the mod overwrites the save i want to load
Logged
Quote from: Deshara
I cant be blamed for what I said 5 minutes ago. I was a different person back then

Reggie

  • Ensign
  • *
  • Posts: 7
    • View Profile
    • Email
Re: [0.95a] Autosave v1.1c (released 2021-03-26)
« Reply #24 on: July 15, 2021, 11:42:56 PM »

I really need this mod but when I try to start the game it crashes and I get this error message. I've tried starting with the settings untouched and with the settings changed but it doesn't make any difference.


42293 [Thread-3] ERROR com.fs.starfarer.combat.CombatMain  - org.json.JSONException: JSONObject["forceSaveAfterPlayerBattles"] is not a Boolean.

Logged

Reggie

  • Ensign
  • *
  • Posts: 7
    • View Profile
    • Email
Re: [0.95a] Autosave v1.1c (released 2021-03-26)
« Reply #25 on: July 16, 2021, 02:32:29 PM »

I really need this mod but when I try to start the game it crashes and I get this error message. I've tried starting with the settings untouched and with the settings changed but it doesn't make any difference.


42293 [Thread-3] ERROR com.fs.starfarer.combat.CombatMain  - org.json.JSONException: JSONObject["forceSaveAfterPlayerBattles"] is not a Boolean.


figured out the problem, the settings folder in saves/config has a typo.
Logged
Pages: 1 [2]