MZ Power Cutoff apparently corrupted plugins.js and other json files

Hi, Yesterday I experienced a power cutoff on my PC while my project was opened. Even though I'd saved my project hours before the incident, my ''plugins.js'' and the last map I was working on were wiped out (the js files holds data of the same size it was before, but I can't read. When I open the file it looks like it's brand new).

At first, my project was unable to start. So I've managed to copy and paste the plugins.js from another project to do it.

Now I can open my project, everything but the last map seems untouched but I can't playtest anymore, it freezes on a white screen when I try to do it.

Ps: I've reinstalled all the plugins that were installed before that incident.

I'm very sad, can someone help me?


EDIT: I've created a new project and copypasted its index.html into my corrupted project folder and now It's working again! Now I am restoring all my plugins, because some got corrupted too... guys, do back up weekly (or daily) your entire project on drive.
1) yes, that can happen and that is the reason why you should always have backups.

2) whitescreen usually means that you have an incompatible display driver.
best guess is that the power failure damaged the correct display driver as well and windows has automatically switched to a compatible Microsoft driver that is missing the required OGL.
please download the newest driver from the manufacturer of your display card and install that driver.
do NOT use the automatic driver update because your windows might be set to the wrong driver now.

if that driver update doesn't solve the whitescreen, then something went wrong with the plugins as well...
1) yes, that can happen and that is the reason why you should always have backups.

2) whitescreen usually means that you have an incompatible display driver.
best guess is that the power failure damaged the correct display driver as well and windows has automatically switched to a compatible Microsoft driver that is missing the required OGL.
please download the newest driver from the manufacturer of your display card and install that driver.
do NOT use the automatic driver update because your windows might be set to the wrong driver now.

if that driver update doesn't solve the whitescreen, then something went wrong with the plugins as well...
1) For now on I'll backup everything, I never knew that would affect a saved project... I'll close everytime I stop working for insurance.

2) But it only happens with that project. I've succeeded gametesting on a brand new project.. But I'll try it out anyway! Thanks
But it only happens with that project.
that is why I added the comment about plugins if the driver update doesn't help.
so one or more of the plugin files is damaged as well and you should redownload all of them.
that is why I added the comment about plugins if the driver update doesn't help.
so one or more of the plugin files is damaged as well and you should redownload all of them.
I'd solved the problem!
Weirdly the index.html (didn't knew this file was important until today) was the cause of that white screen.
So I'd replaced that file and it's working again! I've discovered a series of issues due corrupted plugins, so yeah, had to reinstall all of them like you said (I always keep the original download files on another folder due to future credits and stuff, that saved me some time today)

Well, now I'm reconfiguring all those plugins and soon I'll rebuild the map I've lost.
But I consider the problem solved.

Thanks for your time! Hope that thread may help someone in the future.

Original thread: https://forums.rpgmakerweb.com/threads/power-cutoff-apparently-corrupted-plugins-js-and-other-json-files.140092/