mtkennerly / ludusavi-playnite

Playnite plugin for save backups via Ludusavi
MIT License
141 stars 9 forks source link

Save multiple backups on an interval #24

Closed ANRCorleone closed 1 year ago

ANRCorleone commented 2 years ago

Hello @mtkennerly

I've started implementing this little addition. Plan is to use a symbolic link to the backup copy that ludusavi creates, then keep copying from that link while in-game so it doesn't collide with the files the game currently uses. When out of the game, that is when we enable a restore of a copy. The copy then overrides what you have there that ludusavi looks for.

I hope I don't get too many hiccups and that no one has been implementing this yet :).

Cheers!

mtkennerly commented 2 years ago

For future reference, here's a summary of the discussion from the PR (https://github.com/mtkennerly/ludusavi-playnite/pull/26):

mtkennerly commented 1 year ago

@ANRCorleone This is (finally) available now in v0.10.0 of the plugin.

Are there any other changes from the AutoSave fork that you think should be merged back here, or would it be safe to retire now?

ANRCorleone commented 1 year ago

Hello @mtkennerly sorry for the late reply, been busy with work. I quickly tested the ludusavi playnite plugin and I can't find option to pick an item from multiple backups that are generated automatically and restore one from there (like pick a backup from 3 hours ago, etc.). It was what I added on that fork, is that option available in ludusavi playnite now?

mtkennerly commented 1 year ago

No worries! Yes, I did add that, but it requires Ludusavi 0.12.0 or newer, so that might be why you didn't see it.

image

If the extension can't get the list of backups (because you have an older Ludusavi, or the game just doesn't have any backups, or it does but the name doesn't match between Playnite and Ludusavi), then it will just show the original restore option without the extra menu level.

ANRCorleone commented 1 year ago

Thank you 😸 I'll archive that repo now then

mtkennerly commented 1 year ago

Thanks!

Do you think it would be a good idea to make a new release of AutoSave so that the plugin status is also visible in Playnite? If you're just browsing in Playnite, you won't know that it's archived. Could update the notes shown in the plugin browser (below) and maybe even log a warning on startup.

image
ANRCorleone commented 1 year ago

All done 👍