wispborne / TriOS

Starsector mod manager & toolkit.
https://fractalsoftworks.com/forum/index.php?topic=29674.0
GNU General Public License v3.0
9 stars 1 forks source link

Feature: Maintain backup of user's game saves #53

Open nissa-seru opened 1 month ago

nissa-seru commented 1 month ago

Folks might find it helpful for TriOS to maintain a backup of save files in case user bricks a save by loading an incompatible modset or similar. While achievable for interested users to action on their own, folks are often not very interested in backups (in full generality) until they need them.

wispborne commented 1 month ago

The game does already keep a campaign.xml.bak file.

TriOS could make a backups.7z file in each save folder and, whenever a save file is modified and after a configurable cooldown, add a copy of the new save to the backups.7z file.

Reasoning for a file like that is that text compresses extremely well, and multiple files with overlap in the same archive compress even better.

Plus, of course, add a way to quickly restore from a backup. This would all go into a Saves tab/page, which displays all different saves, lets you create a mod profile from a save, and displays backups.

Not a high priority, this :) compared to other features, since the functionality for it is all built into the game already as you mentioned (Save Copy).

nissa-seru commented 1 month ago

Sounds good - makes sense re level of prioritization and approach if pursued!

On Tue, Jul 23, 2024 at 2:24 PM Wisp @.***> wrote:

The game does already keep a campaign.xml.bak file.

TriOS could make a backups.7z file in each save folder and, whenever a save file is modified and after a configurable cooldown, add a copy of the new save to the backups.7z file.

Reasoning for a file like that is that text compresses extremely well, and multiple files with overlap in the same archive compress even better.

Plus, of course, add a way to quickly restore from a backup. This would all go into a Saves tab/page, which displays all different saves, lets you create a mod profile from a save, and displays backups.

Not a high priority, this :) compared to other features, since the functionality for it is all built into the game already as you mentioned (Save Copy).

— Reply to this email directly, view it on GitHub https://github.com/wispborne/TriOS/issues/53#issuecomment-2245950899, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4NBSEXDCPOJPUHCSFGDKSDZN2NW7AVCNFSM6AAAAABLKY5YECVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBVHE2TAOBZHE . You are receiving this because you authored the thread.Message ID: @.***>