MZ Corrupt files

Hello people, I was working on the editor when my Windows crashed. When i turned MZ back on, game weirdly wasn't opening, and when I used "open project", MZ said it was unable Actors.json. I go check the file and edit it with Notepad, and EVERYTHING inside was overwritten. Every single .json file. Even plugins.js. I sadly always forgot to make a backup, is there still a bit of hope? I spent months on this stupid game
1769161154494.png
Do anything but edit the game's database; you'll need to use the restore point system or some recovery software, pointing it to the folder itself.
Remember that files rarely come with the correct name and extension; you'll have to analyze them with text editors.

This can happen for two reasons: a faulty hard drive or you are editing a project from a Flash Drive/USB Drive.

Good lucky
Only files that are open in the moment of the crash have a chance to be corrupted by it.
And since the editor opens only one map, it means that all other maps usually survive.

however it might be tricky to restore the project with those maps, so the first step after a checkdisk and restore try should be to make a backup of the damaged project.

then check the highest ID number of the map files
After that, make a new project and create as many new (empty maps inside that as the highest ID number.
and the third step is copying all mapfiles but NOT the mapinfo file into the new project.

similiar, copy all undamaged database files but not the damaged ones.

that should restore as much of your work as possible on the new project.
Only files that are open in the moment of the crash have a chance to be corrupted by it.
And since the editor opens only one map, it means that all other maps usually survive.
All database files are damaged and the map I was working didn't suffer anything
however it might be tricky to restore the project with those maps, so the first step after a checkdisk and restore try should be to make a backup of the damaged project.

then check the highest ID number of the map files
After that, make a new project and create as many new (empty maps inside that as the highest ID number.
and the third step is copying all mapfiles but NOT the mapinfo file into the new project.

similiar, copy all undamaged database files but not the damaged ones.

that should restore as much of your work as possible on the new project.

Thanks a lot by the way, at least I recovered the maps and all images so I can get back on track

Original thread: https://forums.rpgmakerweb.com/threads/corrupt-files.182106/