linuxgurugamer Posted August 15, 2021 Share Posted August 15, 2021 (edited) Originally written by @Nereid, it was broken in 1.12. I've tried to contact him, no response, so I've adopted this mod. As usual, if he comes back, I'd be happy to return it to him. Original thread is here: https://forum.kerbalspaceprogram.com/index.php?/topic/94997-1100-save-automatic-backup-system-1100-3173/ S.A.V.E automatic backup system Have you experienced some kind of major bug in a plugin? Did your save game got corrupt or have you lost all your ribbons in FinalFrontier, because of a single stupid mistake the developer (who is me unfortunately) has made? No? Well, you are lucky then. If you have experienced this, S.A.V.E may come to rescue. This plugin will handle automatic backups of your save games for you to prevent loss of data. As most other software, this software comes with no warranty of any kind. If you use it, you do it at your own risk. All releases until 0.9.11-319 will not backup your ship templates! And a word of warning: I have tested this on Windows only. I do not know, if S.A.V.E works correctly on a MAC or on Linux. Important! Please read! This plugin will store the backups at the location on the file system that is set by the user! It may write on any location on the file system if the user changes the default location. Please keep this in mind, if you are setting S.A.V.E to a different backup location. The default location for backups is: <KSP-HOME>/backup. There is a subfolder for each save game. Each backup is stored in a folder YYYYMMDD-HHMISS. Folders containing a .nobackup file are not included in any backup. So if you do not want to backup a game or a subfolder of a game, just create a file of that name there. Availability Download: https://github.com/linuxgurugamer/S.A.V.E/releases Source: https://github.com/linuxgurugamer/S.A.V.E License: LGPLv3 CKAN soon Adoption Changes Adoption by Linuxgurugamer Added variable positioning of the window Converted from threads to CoRoutines Fixed bug where trying to clone after doing a backup was returning a sharing violation (backup.ok wasn't being closed) Removed asyncronous option Features: Completely automatic; it will create a backup after a save Backups can be stored anywhere in the file system ("a king who must say 'I'm the king' is no real king" -a backup on the same hard disk is no real backup) Configurable backup interval Configurable minimal number of successful backups Configurable maximal number of backups Configurable time in days to keep backups Backup of all games at once Restore functionality Automatic backup before a restore is done. Compressed backups Cloning a game from a backup Screenshot: Hints: Setting "days to keep backups" to 0 will keep backups forever (as long other constraints are not violated). Setting "max number backups" to 0 will keep an unlimited amount of backups (as long other constraints are not violated). Setting both "days to keep backups" and "max number backups" to 0 will never delete any backup (not even failed ones). The value of "min number of backups" determines the number of successful backups that have to be kept in any case. Regarding the logging, if you already had SAVE installed, you will need to manually change the saved log level in the configuration. At the MainMenu, follow these steps: Click the Configure button on the SAVE window On the first line below the word Configuration, click the log level you want. Suggested (and default for new installs) is ERROR Click Save Config Edited May 25, 2022 by linuxgurugamer Quote Link to comment Share on other sites More sharing options...
Brigadier Posted August 15, 2021 Share Posted August 15, 2021 Thank you @linuxgurugamer for undertaking support of this mod. S.A.V.E. has "saved" my sanity many times over the years, most recently only a few days ago after a royal screw-up of mine. Quote Link to comment Share on other sites More sharing options...
jefferyharrell Posted August 22, 2021 Share Posted August 22, 2021 (edited) @linuxgurugamer My S.A.V.E is filling my KSP.log with the following message: Quote [LOG 23:46:00.480] S.A.V.E: stopping backup/restore threads [LOG 23:46:00.480] S.A.V.E: stopping backup/restore threads [LOG 23:46:01.487] S.A.V.E: stopping backup/restore threads [LOG 23:46:01.487] S.A.V.E: stopping backup/restore threads Looks like it's logging that message twice every second. This is on 1.12.2 with all default mod settings. Edited August 22, 2021 by jefferyharrell Quote Link to comment Share on other sites More sharing options...
modus Posted August 22, 2021 Share Posted August 22, 2021 I bet mister LGG is going to say: no logs no support Quote Link to comment Share on other sites More sharing options...
jefferyharrell Posted August 22, 2021 Share Posted August 22, 2021 Fair point. @linuxgurugamer, here's my Player.log. https://drive.google.com/file/d/1s4Sf7_Jcfu1zd_0Lfflyv1yvaj42YZyJ/view?usp=sharing Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted August 22, 2021 Author Share Posted August 22, 2021 1 hour ago, jefferyharrell said: @linuxgurugamer My S.A.V.E is filling my KSP.log with the following message: Looks like it's logging that message twice every second. This is on 1.12.2 with all default mod settings. You can ignore that, will be fixed in next release. It's just a leftover message, doesn't mean anything anymore and doesn't impact the performance Quote Link to comment Share on other sites More sharing options...
jefferyharrell Posted August 22, 2021 Share Posted August 22, 2021 Thanks, I'll just ignore the messages then. Thanks for all you do! Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted September 14, 2021 Author Share Posted September 14, 2021 New release, 1.11.0.1 Added AssemblyVersion.tt Added InstallChecker Changed default log level for release to ERROR Added AsemblyFileVersion Regarding the logging, if you already had SAVE installed, you will need to manually change the saved log level in the configuration. At the MainMenu, follow these steps: Click the Configure button on the SAVE window On the first line below the word Configuration, click the log level you want. Suggested (and default for new installs) is ERROR Click Save Config Quote Link to comment Share on other sites More sharing options...
DStaal Posted September 25, 2021 Share Posted September 25, 2021 On 9/14/2021 at 8:48 AM, linuxgurugamer said: New release, 1.11.0.1 Added AssemblyVersion.tt Added InstallChecker Changed default log level for release to ERROR Added AsemblyFileVersion Regarding the logging, if you already had SAVE installed, you will need to manually change the saved log level in the configuration. At the MainMenu, follow these steps: Click the Configure button on the SAVE window On the first line below the word Configuration, click the log level you want. Suggested (and default for new installs) is ERROR Click Save Config This release does not appear to actually have a release:https://github.com/linuxgurugamer/S.A.V.E/releases (There is source code downloads, but no compiled release.) Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted September 25, 2021 Author Share Posted September 25, 2021 2 hours ago, DStaal said: This release does not appear to actually have a release:https://github.com/linuxgurugamer/S.A.V.E/releases (There is source code downloads, but no compiled release.) Sorry, it's there now Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted November 29, 2021 Author Share Posted November 29, 2021 New release, 1.11.0.2 Removed some log spam Quote Link to comment Share on other sites More sharing options...
Krzeszny Posted January 26, 2022 Share Posted January 26, 2022 (edited) On 11/29/2021 at 11:27 PM, linuxgurugamer said: New release, 1.11.0.2 Removed some log spam Can you please remove the log spam for real? It generates exactly 2 copied of the same message per second and that really disturbs debugging when you're trying to read the logs. Nvm, I read the OP and found a way to disable the log spam. I assume it's disabled by default? Edited January 26, 2022 by Krzeszny Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted January 26, 2022 Author Share Posted January 26, 2022 1 minute ago, Krzeszny said: Can you please remove the log spam for real? It generates exactly 2 copied of the same message per second and that really disturbs debugging when you're trying to read the logs. You can do that by changing the log level in the configuration. It defaults to INFO, but you can set it to anything you want. I'd suggest either WARNING or ERROR Quote Link to comment Share on other sites More sharing options...
Krzeszny Posted January 26, 2022 Share Posted January 26, 2022 Just now, linuxgurugamer said: You can do that by changing the log level in the configuration. It defaults to INFO, but you can set it to anything you want. I'd suggest either WARNING or ERROR I found it, thanks. I'd suggest WARNING or ERROR by default. Quote Link to comment Share on other sites More sharing options...
kerbmario Posted May 19, 2022 Share Posted May 19, 2022 description still says, On 8/15/2021 at 4:43 PM, linuxgurugamer said: current version: 1.10.0-3173 could you update this line to say 1.12? Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted May 20, 2022 Author Share Posted May 20, 2022 10 hours ago, kerbmario said: description still says, could you update this line to say 1.12? Ummm, look at the title of the thread Quote Link to comment Share on other sites More sharing options...
kerbmario Posted May 25, 2022 Share Posted May 25, 2022 On 8/15/2021 at 4:43 PM, linuxgurugamer said: current version: 1.10.0-3173 @linuxgurugameri mean this line. Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted December 7, 2022 Author Share Posted December 7, 2022 new release, 1.1.0.3 Fixed path for loading files (broken by new launcher) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.