HGL
conscious-sapphire

Is it possible to limit the save sync to certain files?

I run Sable from Epic and I sync the saves folder /home/username/Games/Heroic/Prefixes/default/Sable/drive_c/users/username/AppData/LocalLow/Shedworks/Sable/SaveData works fine as well - but this folder holds the configuration file as well. Is there a way to limit the sync and exclude the config file?
19 Replies
absent-sapphire
absent-sapphire•2y ago
what do you mean limit the sync? also i'd expect the data that transfers to the cloud is what the game wants to transfer.. why do you want to exclude files? (afaik you cant pick and choose in heroic)
correct-apricot
correct-apricot•2y ago
this is an ongoing issue with many cloud syncs across Steam and EGS the EGS cloud sync is dependent on specific file type filters, but it's up to the dev to set it right
absent-sapphire
absent-sapphire•2y ago
yeah some games probably improperly transfer local settings but this is definitely the game's developer's problem
correct-apricot
correct-apricot•2y ago
I'd be concerned that even if you force a filter on the user's end, it'll just keep overwriting the game config file with whatever is on the cloud anyway
absent-sapphire
absent-sapphire•2y ago
Sable, for example, was a 2 man team of folks that had never made a game before, its got lots of technical issues x_x
conscious-sapphire
conscious-sapphireOP•2y ago
Just exclude the file SettingsManager from the sync. It's the local config and should not be synced over to any other systems. This might not work if I use a different launcher - but I don't. 😉 If the devs messed this up, why not make it a better user experience if you play it on a better platform anyway? 😉
absent-sapphire
absent-sapphire•2y ago
i mean like i said, its up to the devs as to what is save synced not sure heroic can really dictate that effectively..
conscious-sapphire
conscious-sapphireOP•2y ago
Ok, so it's a limit of the system itself. If it gets too annoying I could still use syncthing to copy only the real save files.
absent-sapphire
absent-sapphire•2y ago
well no, its a limitationm of the game developer not doing things properly you could also manually manage your syncs.. as in manually push and pull i suppose but anything more could lead to other problems like who knows what information is stored in that settings file that the game actually needs to sync only the developers would know that
conscious-sapphire
conscious-sapphireOP•2y ago
If the user is not allowed to decide what to sync, it's a limitation of the system. There are use cases where it would be handy to decide what to sync and what to leave on the local machine. And developers have a tendency not to think of ever use case. 😉 Yes this could break things, but that's the price you have to pay if you have more freedom in your options. So Epic decided not to give the users the control over the sync process, that's fine - but a limitation nevertheless.
absent-sapphire
absent-sapphire•2y ago
totally agree, but this is basically how all cloud game save systems work x_x so im not sure that will change plus most of these systems are not designed to be futzed with too much by users specifically outside of correcting which save data version they want they definitely read to me as a sort of "invisible" feature where it just works and needs no interactions not that these choices are good or right mind you, just my observation of the implementations outside of obvious problems, like a developer syncing configuration settings to the cloud, what problems does something like this solve? (honest curiosity what you are looking for in case there's actually some useful solution) heroic does tend to give more save sync control to the user than the native clients for these platforms at least x_x
conscious-sapphire
conscious-sapphireOP•2y ago
Another (very special indeed) use case I can think of would be to leave save slot 1 only on the local machine and sync the other two over to every other system. Don't let the kids override your progress. This will only work for games that save in dedicated slot files in the first place, of course. Technically, this could be done by adding some .exclude file with some regex. Files matching this regex will not sync in any direction (so no file from the cloud will override my progress and my progress will not be synced as well).
absent-sapphire
absent-sapphire•2y ago
haha very valid i have friends who've had saves blasted away from lending their switch to someone, or kids overriding saves, etc
CommandMC
CommandMC•2y ago
Technically speaking, we could choose to sync using whatever filter we want to use, but right now none of our tools support manually setting this up
absent-sapphire
absent-sapphire•2y ago
i suppose you could use git to version the folder 😄
CommandMC
CommandMC•2y ago
Git + binary files = :yaksplode:
absent-sapphire
absent-sapphire•2y ago
git lfs! 😄 its not like there's generally a sane way to merge esave data anyway, esp since it could be exclusive most game studios using git for the project repository, end up with git lfs for the binary files too.. it works pretty ok for that purpose
conscious-sapphire
conscious-sapphireOP•2y ago
It's really a corner case - and if you really need it, it's probably easier to use syncthing. And you can keep the old files with syncthing as well, just in case the kids use your Steam Deck. 😉
absent-sapphire
absent-sapphire•2y ago
i do like the idea of heroic being able to control this more.. definitely a feature that would be better than any other launcher/storefront wrapper out there (since no one else does things like this) CommandMC, wasnt there a feature getting worked on for some kind of cloud sync stuff? i dont know where i remember this from, but maybe a good thing to add as a feature request to that

Did you find this page helpful?