My project got corrupted and I lost 2 days of work. Help?

MZ won't read my project anymore. The manual backup I made is fine, but it's 2 days ago. I lost lots of work.
Are there any recovery options? something I can do to either fix the corrupted files or figure out what can be kept and what cant?
Well, at least you made a backup. But it kinda sucks that you lost all that work. Keep trying, sometimes you find it works better after you replace some things.
I think I fixed it actually. Lucky me, it was only 3 files corrupted, when I replaced them with the backup files it opened again!
The offending files were game.rmmzproject, commonevents.json, and plugins.js
Are there any issues that replacing these files may have caused I should be aware of?
Probably not. The plugin is static, the common events I didn't actually use, and the game.rmmzproject is just the version number. I gotta try harder to remember to back it up every day from now on though.
make a copy of both the corrupted project and the backup.
then move the first corrupted file from the backup to the corrupted folder
try to start, remember which file is listed as corrupted next and repeat.

not all files are automatically corrupted, sometimes it's only a few. that will save part of your work if you're lucky.

if you're missing maps some of them might also be retrieved, but that is more complex.Please ask if you need that help.


EDIT:
regarding your last post, the project file contains no data, the plugin file contains the settings in the plugin manager and the common event file contains the common event.
any change in the latter two is lost, and you should doublecheck the plugin configurations.
Is your main project folder synched with any type of cloud storage service (Dropbox, Google Drive, One Drive, etc)?
No, I've never really understood how that stuff works so well. When I've tried to use such things they haven't worked the way I wanted them to. Usually I just do that sort of thing manually. I keep two hard drives in my computer so that if one fails the other is not likely to fail at the same time and still have the backups on it. Nothing automated though.
Is your main project folder synched with any type of cloud storage service (Dropbox, Google Drive, One Drive, etc)?
No, I've never really understood how that stuff works so well. When I've tried to use such things they haven't worked the way I wanted them to. Usually I just do that sort of thing manually. I keep two hard drives in my computer so that if one fails the other is not likely to fail at the same time and still have the backups on it. Nothing automated though.
Alrighty. Just to be clear, I wasn't going to recommend that you use such a service. Automatic synching is often the culprit when these file corruption situations happen, so I was just checking.

Original thread: https://forums.rpgmakerweb.com/threads/my-project-got-corrupted-and-i-lost-2-days-of-work-help.163408/