I opened up RPG Maker just to be met with the message, "can't read file Tilesets.json". I looked everywhere to figure out what I had to do. The only thing I could find was making a new game and replacing the files it can't read with the one's from the new game. So I did that, and there were more than just the tilesets one. The kicker was the MapInfos. Replacing that made it so it couldn't read any of the other maps I had made...am I stuck like this? I didn't make a back-up cause I was so new to the program, I never thought about it, but I had put over 100 hours on this thing in the last 2 weeks. Is it really gone? The data for my other maps is still there, but they can't be read. Is there anything I can do to be able to read them again?
So my data got corrupted...
RPG Maker MV SupportUPDATE: I managed to figure out a solution to it, so I guess you can close this thread.
Solution: I made a new game, created as many blank map files in it as I had in the corrupted game, then went through and replaced all of the map files individually. The few corrupted files were null, so the data was completely gone, I couldn't save them anyway. But I can read all the map files now.
- BACKUP YOUR FILES PEOPLE!!! DON'T DO WHAT I DID!!!
Solution: I made a new game, created as many blank map files in it as I had in the corrupted game, then went through and replaced all of the map files individually. The few corrupted files were null, so the data was completely gone, I couldn't save them anyway. But I can read all the map files now.
- BACKUP YOUR FILES PEOPLE!!! DON'T DO WHAT I DID!!!
you are still missing one step:
you need to find out why your files got corrupted, so you can try to prevent it from hapening again.
possible causes are:
1) power loss or anything that prevents a regular shutdown sequence from windows
2) storing thw project in a cloudsync'ed folder (either intentionally or because you accepted Microsofts OneDrive without knowing the consequences and configuring it)
3) hardware problem with your harddrive
you need to find out why your files got corrupted, so you can try to prevent it from hapening again.
possible causes are:
1) power loss or anything that prevents a regular shutdown sequence from windows
2) storing thw project in a cloudsync'ed folder (either intentionally or because you accepted Microsofts OneDrive without knowing the consequences and configuring it)
3) hardware problem with your harddrive
I'm pretty sure I know why they corrupted. I have a bad habit of turning my computer off with the power button while a lot of my programs are still active. I wasn't actually aware it was bad until I started looking up solutions for this. Cause I did turn off my PC with the power button while it was still open. So I'm gonna make sure to NOT do that from now on.
Definitely break that habit and start making backups. It sucks you had to learn this the hard way, but we learn from our mistakes.
to speed up things, a harddrive has a RAM-cache where filechanges are stored first, before they are transferred to the physical storage with a much slower speed.
One part of the shutdown process is Windows simply waiting until the harddrives signal "all data physically stored", so shutting off power instead of the regular shutdown will always result to data loss of files that where changed only seconds before.
The RMs are especially subject to this because they keep the database files constantly open instead of only opening them for a direct save. But the database is simply too big, it would require minutes of saving if the editor was not handling the datasave in the background.
that by the way is also why cloudsyncing their files is bad - there is no problem with using cloud for transfer and distribution, but do not have it cloudsynced while working on the files. and since you can't disable cloudsync by manual command, the project directory itself should stay outside cloudsync'ed folders.
EDIT:
somewhere in Windows-configuration your can switch the power button function from direct power off to start shutdown. if you do this then you can use the power button like your habit and it would still keep your files save with a regular shutdown.
only if you don't use the internal power button and have a main switch on an external power cord that would still result in a full power loss - and those switches are bad for your hardware anyway.
Original thread: https://forums.rpgmakerweb.com/threads/so-my-data-got-corrupted.153376/