MV If save data is corrupted, send to alt map (and make own event)

Hi.

Is it possible that, similar to Undertale (I can't remember if dogcheck was a test room or it triggered upon corrupted saves, it's either or), I could make it so that if a corrupted savefile is loaded, it goes to an alternate map where I make my own error screen and such?

The idea's completely inspired by Dogcheck, but my version won't be the same (if I'll ever be able to make it). I was just curious if this is possible at all, and, if so, can I have a plugin for it?
how do you define a "corrupted" savefile? And how do you want to detect that corruption?
How often do RPGM saves actually get corrupted? Seems like they'd be so small in terms of file size they'd save instantaneously (i.e. no "Saving: Do not turn off power"), and the only way they'd really get corrupted is if the end-user tampered with the file itself (or they had a virus).

I mean you could check if the player cheated on certain variables by saving those variables in a format that's read separately from the game file when saving the game (there's a term for this in RPGM, but I don't know what it is, it's used in file-agnostic achievments), then compare the new file's variables to the old one, and if they're different do whatever it is you intend to do.
So
Player saves game > game saves normal file, and separate file holding the variable states > player edits the file to cheat > loads it back up > game checks previous variables > if they're the same, load normally, but if they're different trigger the event.
@Moai_Games that is why asked how the OP defined "corrupted".
what you descibe is a damaged file - that is easy to detect but at the same time rare to happen as you said.

but "corrupted" could also mean "incompatible" (which should only happen due to updates and is much more difficult to detect and handle) or something else the OP thinks off.
@Andar thank you, what I meant by "corrupted" was damaged.
And yeah, I'm sure RPGMaker would be able to tell, perhaps a plugin could override a crash and instead the game use the plugin as a panic, unless that's not how it works.

I didn't really mean incompatible because that I don't care to handle, and I don't see the point.
Back to what I was saying before, I wonder how to make RPGMaker use the plugin when loading an invalid save instead of it crashing.

Original thread: https://forums.rpgmakerweb.com/threads/if-save-data-is-corrupted-send-to-alt-map-and-make-own-event.137070/