Please assist I am now unable to load my Project in RPG Maker MV

So I was up late last night just like any other time and except this time when I attempted to launch my RPG Maker Project I've been working on and get multiple different errors as to why I am unable to open the project.
Error 2.PNG
Error 1.PNG

I've tried straight up replacing the executable with one from a fresh project, in which case it just throws the second error.
If I try to replace the "Classes" json file with a fresh one it just throws the same kind of error with another JSON file.

I even tried to just cut my losses and move all important data, like maps, to a new project but that doesn't load either, throwing the exact same kind of error if I leave the old "Mapinfos" json file in and even worse is the maps I've spent so long building won't show up if I put in a new "Mapinfos" json file from a fresh project.
I've tried to work it the other way around and put my map files into a new project and the exact same issues arise.
Error 3.PNG


I can upload my entire project and the map files if need be.
Please if anyone knows of a way to at least save the maps I would be really grateful.
I don't even care if I have to redo all the classes, items, eventing, etc. but the maps I worked on so much the past months.
Literal years of work gone if I can't recover them/make them usable.
No, you just need to rebuild a correct mapinfo file in a tertiary project to get most of the maps re-registered.
After that you need to find out what destroyed your files, and remember the most basic rule of any computer worker: BACKUP

1) Check the highest number of your mapfiles in the damaged project
2) make a new project, add new maps into it until you get to the same number in your map tree
3) copy the mapinfo (and ONLY the mapinfo file) from that project into your damaged project.

Then there is the reason for the damage.
There are basically three different known reasons for destroyed files in the makers, and at least two of these can repeat if you don't fix the problem.

a) failed shutdown of windows.
The reason for the shutdown sequence is that the harddrive needs time to transfer the last file operations from cache to hard storage. If you have a powert loss, if you cut off power without waiting for the automatic shutdown or if windows has been damaged and sends the powerd down signal too early, then some files will be damaged.

And unfortunately Microsoft tricks a lot of people into using Onedrive without giving them full explanation on the problems of a clouddrive

b) failed cloudsync
If you look around the forum, you'll find dozens of warnings to never work with RM on a cloudsync'ed folder. That is because the way all RM-Editors access their files is incompatible with cloudsyncs - any couldsync wihile the editor is open will automatically fail. And there is a small but real chance that a cloudsyync like that happens exactly while the editor is closing down - which will result in the damaged cloudsync files becoming the real files, destroying all data.

c) harddrive at end-of-life
If your harddrive is too old (usually 10+ years) or if it has been run in a too hot environment for a few years, then it needs to be replaced. Because there is a several-month-span at the end of life where the sellf-repair options of the drive are used up but before it registers as damaged, and file damage like you describe is the daily result.
b) failed cloudsync
If you look around the forum, you'll find dozens of warnings to never work with RM on a cloudsync'ed folder. That is because the way all RM-Editors access their files is incompatible with cloudsyncs - any couldsync wihile the editor is open will automatically fail. And there is a small but real chance that a cloudsyync like that happens exactly while the editor is closing down - which will result in the damaged cloudsync files becoming the real files, destroying all data.
Sorry to interject real quick, but somehow Google Drive doesn't actually do this as long as you have the files stored locally. I have had issues using other cloud synced stuff but I have my game folder set up to automatically sync to Google Drive, then my laptop is synced to GD to automatically download any new files, and sync them back up if they change. Never once have I had an issue. Of course, it is still really good to make regular backups, and I make them often, but Google Drive even has file history so you can roll back stuff to a certain extent if it gets messed up. I suspect that GD works better because you can have local versions in both places and you just download/upload files whenever they change, whereas other cloud services might actually depend on you being connected to the internet to use them. That's the default for Google Drive, but you can change it to use local files and that's why it's worked for me so well. Maybe that's not the reason but hey, I can't argue with results. Been doing that for nearly 3 years now with no issue other than my account needing to be relogged in once, but all I did was unsync the game folder, delete it from my Drive, then resync it. EZPZ.

The thing I HAVE had an issue with is working from USB flash drives. Projects get corrupted very quickly if you're working off of one so I wouldn't recommend it at all. If I recall, this was fine to do back in the XP days but now, you're just begging for problems if you do that. I found that out the hard way and lost a few hours of time once. Thankfully not anything major.
@Prescott
yes, a correctly working file histroy will prevent the complete loss of data, although you're still at risk of losing the last save.

As for USB-Drives: The cause of the problem you mentioned can be disabled, but unfortunatly in most modern Windows versions that setting is too deeply hidden for common users to find.

Simply said, any external drive can be set either for data safety or for data speed, but never for both. And in a lot of modern cases Microsoft defaults to speed, not data safety.
No, you just need to rebuild a correct mapinfo file in a tertiary project to get most of the maps re-registered.
After that you need to find out what destroyed your files, and remember the most basic rule of any computer worker: BACKUP

1) Check the highest number of your mapfiles in the damaged project
2) make a new project, add new maps into it until you get to the same number in your map tree
3) copy the mapinfo (and ONLY the mapinfo file) from that project into your damaged project.

Then there is the reason for the damage.
There are basically three different known reasons for destroyed files in the makers, and at least two of these can repeat if you don't fix the problem.

a) failed shutdown of windows.
The reason for the shutdown sequence is that the harddrive needs time to transfer the last file operations from cache to hard storage. If you have a powert loss, if you cut off power without waiting for the automatic shutdown or if windows has been damaged and sends the powerd down signal too early, then some files will be damaged.

And unfortunately Microsoft tricks a lot of people into using Onedrive without giving them full explanation on the problems of a clouddrive

b) failed cloudsync
If you look around the forum, you'll find dozens of warnings to never work with RM on a cloudsync'ed folder. That is because the way all RM-Editors access their files is incompatible with cloudsyncs - any couldsync wihile the editor is open will automatically fail. And there is a small but real chance that a cloudsyync like that happens exactly while the editor is closing down - which will result in the damaged cloudsync files becoming the real files, destroying all data.

c) harddrive at end-of-life
If your harddrive is too old (usually 10+ years) or if it has been run in a too hot environment for a few years, then it needs to be replaced. Because there is a several-month-span at the end of life where the sellf-repair options of the drive are used up but before it registers as damaged, and file damage like you describe is the daily result.
So I did that, then I just threw the same error for Weapons.
Then I replaced that too, and it continuously gave me errors until I had replaced
The Enemies, Common Events, Tilesets, and System json files too.

THEN it also threw the same error with the “Plugins.js” file but when I replaced that too it works!
I immediately backuped my new little frankenstein project.
And while The enemies and weapons were obviously no good, in addition to saving the maps the Skills, Items, and even eventing was still fine and untouched.
But yea the maps were by far the most important thing. They're a bit funky since my tilesets got replaced with default ones but that's an easy enough solution.

Thank you so much!, I was kinda at my wits end and wasn’t thinking straight.

As for what caused this blunder in the first place I think we might be looking at a mix between option a and c. My laptop is super old and frankly I'm surprised it opens certain games at all.
On top of that I sometimes "hard shutdown" the brick when it gets super slow.
I do make sure to save all progress and close all tabs and programs when I do so but I guess that's not enough. I'll just shut it down the regular way from now on when I can.

Also what's the issue with USB Flash Drives?
I've used them before (admittedly years ago) for RPG Maker projects and hadn't had too many issues.
What's the setting that needs to be disabled to make them safer to use?
I've still got a few and don't want to lose anything important I store on them.
Also what's the issue with USB Flash Drives?
I've used them before (admittedly years ago) for RPG Maker projects and hadn't had too many issues.
What's the setting that needs to be disabled to make them safer to use?
I've still got a few and don't want to lose anything important I store on them.
It's okay to backup games on flash drives, you just shouldn't work off of them. I don't know why exactly, but if you open your game project and work on it directly from a flash drive it'll cause it to corrupt.

Original thread: https://forums.rpgmakerweb.com/threads/please-assist-i-am-now-unable-to-load-my-project-in-rpg-maker-mv.156627/