Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: Sync to folder on game exit #109

Open
hartmark opened this issue Aug 23, 2023 · 5 comments
Open

feature request: Sync to folder on game exit #109

hartmark opened this issue Aug 23, 2023 · 5 comments

Comments

@hartmark
Copy link
Contributor

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
Copy link
Contributor Author

hartmark commented Aug 23, 2023

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
Copy link
Owner

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
Copy link
Contributor Author

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
Copy link
Owner

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
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants