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

Backups don't work. #56

Open
Terrorforge opened this issue Mar 16, 2023 · 10 comments
Open

Backups don't work. #56

Terrorforge opened this issue Mar 16, 2023 · 10 comments

Comments

@Terrorforge
Copy link

Terrorforge commented Mar 16, 2023

Describe the bug
Once my save directory grows larger than ~50mb, backups stop working. The client just crashes, and the backup doesn't work. It shows in the "Backups" tab, but it has 0 world, 0 characters and is 0b large.

e: I thought it was backing up successfully before this and it just wasn't showing up in the "Backups" tab, but looking at the actual files they all seem to be broken or empty anyway

To Reproduce
Have a larger-than-absolutely-minimum save game and attempt to create a backup.

Expected behavior
Backups complete successfully and the launcher doesn't crash.

Screenshots
image
This is what it looks like after a few of these failed backups.

Desktop (please complete the following information):

  • OS: Windows
  • Version 10

Additional context
This has been a problem since at least the DazedNConfused version, but apparently it persists.

@Fris0uman
Copy link
Owner

Fris0uman commented Mar 18, 2023

So far 50mb backups fine
image
100mb also works
image

I'll need more info in order to repoduce the crash I guess

@Terrorforge
Copy link
Author

It's definitely inconsistent. I just tried doing a manual backup on a save that's 82.6MB. The first time, it crashed, and the archive showed up in the "Backups" tab as having 0 "Actual size". Opening the archive with WinRAR throws an "Unexpected end of rachive" error. Did it a couple more times and it seems to be even odds if it crashes or not.

The second time, it seemingly completed. The archive was created and doesn't throw any errors when I open it in WinRAR. However, it doesn't show up in the "Backups" tab at all.

I guess just try backing up a few times in a row and see if it breaks? If that doesn't work, I remember that it used to get worse and worse as the saves grew larger. At a few hundred MB, it would still back up successfully sometimes, but as the size climbed into the gigbytes it hit a point where it never, ever worked. Unfortunately I just lost all my large, long-term saves due to a computer mishap, so I can't test this at the moment. But if/when you happen to have a large save laying around, I guess throw it in there and see if it breaks?

@Fris0uman
Copy link
Owner

Do you get any error message with the crash?

@Terrorforge
Copy link
Author

Nope. It just closes silently.

@DazedNConfused-
Copy link

Sounds awfully similar to what I have personally experienced in https://github.com/DazedNConfused-/CDDA-Game-Launcher/issues/9

Unfortunately the "fix" I came up with isn't pretty at all. Maybe you will have better luck tackling this one

@c0bnut
Copy link

c0bnut commented Apr 7, 2023

Auto backups not working for me, and when clicking "Backup current saves" it says Saves backup completed but doesn't show anything in the list. Even after refreshing the list. My save folder is only 7 MB. Moving back to the Catapult launcher until this is fixed, pretty bad not being able to backup saves in experimental.

@c0bnut
Copy link

c0bnut commented May 9, 2023

#42

@JReese3
Copy link

JReese3 commented Jun 18, 2023

image
Similar issue but not consistent, I do get a silent crash when it fails.

@JReese3
Copy link

JReese3 commented Jun 18, 2023

How people have small saves alludes me. A two season run with 1 character can easily exceed 100MB.

@DazedNConfused-
Copy link

image Similar issue but not consistent, I do get a silent crash when it fails.

This was exactly my biggest gripe when I had originally forked the launcher back on Remy's latest version. My (non) fix was DazedNConfused-/CDDA-Game-Launcher@f7163a7 . I hadn't experienced a crash ever since - or at least I didn't while I was still using Windows

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

5 participants