crschnick / pdx_unlimiter

A smart savegame manager, editor, and toolbox for all current major Paradox Grand Strategy games.
https://discord.gg/BVE4vxqFpU
GNU General Public License v3.0
250 stars 23 forks source link

feature request: Sync to folder on game exit #109

Open hartmark opened 1 year ago

hartmark commented 1 year ago

I love this program as it's the easiest way of getting my steam deck and main rig save games in sync.

The only thing missing to get it even better is to have an option to get the sync to a folder trigger automatically. Preferably on game exit or fixed intervals.

I have the folder set up to be synced with my cloud at filen.io so I'm certain to have the latest saves at all times.

hartmark commented 1 year ago

never mind, I might have misunderstood the "Sync/Backup" storage function as it is only one way sync to get all saves stored safely in a folder and not to be used to import on another machine.

image

If I have this folder synced with my cloud I get what I expect instead. But I think an export/import function would be more clear and less error prone.

I have for now made a symlink from /home/markus/.local/share/Pdx-Unlimiter/savegame and just sync that folder to cloud so I can have different settings on my machines.

PS. I'm running unmodded Stellaris so is there a way to get the addons window supressed?

crschnick commented 1 year ago

Yeah maybe I should clarify the sync functionality name and add a tip to the tooltip for the storage directory that it can be shared via a cloud provider.

It is not called export because it only selectively exports save games that are not present yet in the target directory and it does not preserve all information within pdxu. So if you were to reimport all of these save games, you would lose some information like custom names, notes, etc.

I guess I can add a setting to suppress the addons window.

I just need to find some time for that, same issue with the AUR package that I wasn't able to update yet.

hartmark commented 1 year ago

I'd like a way to easily be able to share the state with notes and everything using cloud.

I noticed that the program will do a write of the files when exiting the program so I need to make sure to quit it before syncing on the other machine so I get consistent state otherwise I can lose some games.

How's it going with the AUR package? Is there anything I can help with?

crschnick commented 1 year ago

Do you play on multiple systems in parallel, i.e. with multiple pdxu instances open? Otherwise sharing the storage directory via the cloud should work fine and sync everything.

Building the AUR package should be pretty easy, but I'm very short on time right now.

hartmark commented 1 year ago

I was playing on my regular pc and when getting back on the steam deck the pdxu was already running and didn't detect that the files had changed on disk do I tried to quit pdxu but it just wrote out the state it has already in memory and lost the new incoming saves