ValheimSaveShield icon indicating copy to clipboard operation
ValheimSaveShield copied to clipboard

Automatic save backups are screwed a bit by the latest patch (209.9)

Open BishopIngold opened this issue 3 years ago • 10 comments

With the way the new patch changed the general folder settings for Valheim, and Valheim dedicated servers, Save Shield is no longer correctly recognizing the directory structure.

BishopIngold avatar Jun 20 '22 22:06 BishopIngold

Oof, yeah that patch will require some adjustments for sure. Now that Valheim uses Steam's cloud save feature, is this app still as needed?

Razzmatazzz avatar Jun 21 '22 19:06 Razzmatazzz

I would say yes, as the cloud save overwrites each time, instead of saving the incremental backups.

BishopIngold avatar Jun 21 '22 19:06 BishopIngold

the incremental backup and selective restore became indispensable for a relaxed playstyle, makes little sense to go back to the game without it, celebrating mid summer night with gravestones and deskilling.

pitsch avatar Jun 22 '22 23:06 pitsch

I don't currently have the game installed and have limited capacity to work on this right now, so I'm not sure when I'll be able to get to it. But I'm happy to merge a PR from someone that fixes the issue and then release a new version.

Razzmatazzz avatar Jun 23 '22 18:06 Razzmatazzz

Hi @Razzmatazzz,

I have been looking into this and the only change is that the world and character folders now have "_local" appended to the end of them, so we need to look in "characters_local" and "worlds_local".

Ive been through and added _local to the literal strings which were folder paths and not the "type", i also appended it where Type was being used to derive the path. I must have missed something though as its still throwing an expectation somewhere around checking for a backup.

I am going to try and figure it out, but given you know the code and its just a folder name change, i thought i would let you know.

M

sn0rkle avatar Jul 06 '22 22:07 sn0rkle

Its having an issue as the backup folder with the name of the character/world is not being created, no idea why.

sn0rkle avatar Jul 06 '22 23:07 sn0rkle

I think i have submitted a couple of pull requests to fix the issue, i am a total git n00b, so fingers crossed!

sn0rkle avatar Jul 07 '22 09:07 sn0rkle

Also release here for the impatient: https://github.com/sn0rkle/ValheimSaveShield

sn0rkle avatar Jul 07 '22 09:07 sn0rkle

@sn0rkle It works perfectly, thank you!

MonolithTMA avatar Jul 29 '22 12:07 MonolithTMA

Whoops, I thought that fix was included in the last release, but I guess not. Just pushed a new version that includes it this time.

Razzmatazzz avatar Jul 29 '22 12:07 Razzmatazzz