simple git sync feature to enable save syncing
Posted: 05 Aug 2021, 08:30
basically, if you could configure so that when you hit the save button that you could optionally have a trigger that does a git sync to your save repository that you set up. while that trigger is enabled, when you press the load game button, it would also do a git sync to check for the latest edition of the save file from your repo.
basically just kind of add this basic function to the save game and load game function.....should be as simple as something like this :
and
i imagine that the picture for the save file should be excluded from git commits to avoid sending too many binary blobs.
this would be such an amazing feature, allowing mobile and pc and whatever to easily sync.
~~ I jumped the gun and posted to the gitlab first.. and was told to post this here, I'd love to know what you guys think of this idea? https://gitlab.com/OpenMW/openmw/-/issues/6203
basically just kind of add this basic function to the save game and load game function.....should be as simple as something like this :
Code: Select all
def savegame():
if $GIT_SAVE_SYNC = true:
run {git sync on {$SAVE_FILE_FOLDER}}
else:
continue
Code: Select all
def loadGame():
if $GIT_SAVE_SYNC = true:
run {git sync on {$SAVE_FILE_FOLDER}}
else:
continue
this would be such an amazing feature, allowing mobile and pc and whatever to easily sync.
~~ I jumped the gun and posted to the gitlab first.. and was told to post this here, I'd love to know what you guys think of this idea? https://gitlab.com/OpenMW/openmw/-/issues/6203