Game corrupted, deleted

Hello, I was working on my game and it suddenly crashed, and said it couldn't read animations.json. I found an old thread of what to do and followed it. The game didn't restore and everything is gone. At the very least all of my maps data is still in the game files but the game itself is empty... is there a way to get them back into the game? All the JSON files are still here and it doesn't say that they are corrupted.
Thank you.
First, you'll need to find out why the game got corrupted so you can prevent a repeat.

While a simple crash can cause this, usually only one or two files got damaged on a siomple crash.
If it is the entire project then there is usually something else involved, like a failed cloudsync or so.


Second:
go to your project and checkl the highest map number in the mapfiles.
create a new project
in the new project, create new (empty) maps until the map ID is the same or higher than the highest number on the mapfiles of the previous project
close the editor
copy the mapfiles but NOT the map info file into the new project

You can now access the maps, although it is very likely that a single one of them is also corrupted.
However you'll need to redo everything that linked to the database like treasure chests or events with common event calls

And from now on remember to make backups, make them manually and never use an automatic cloudsync (if you had in the past)
First, you'll need to find out why the game got corrupted so you can prevent a repeat.

While a simple crash can cause this, usually only one or two files got damaged on a siomple crash.
If it is the entire project then there is usually something else involved, like a failed cloudsync or so.


Second:
go to your project and checkl the highest map number in the mapfiles.
create a new project
in the new project, create new (empty) maps until the map ID is the same or higher than the highest number on the mapfiles of the previous project
close the editor
copy the mapfiles but NOT the map info file into the new project

You can now access the maps, although it is very likely that a single one of them is also corrupted.
However you'll need to redo everything that linked to the database like treasure chests or events with common event calls

And from now on remember to make backups, make them manually and never use an automatic cloudsync (if you had in the past)
Hullo! Wow, I actually just did this exact thing before coming back and seeing this! Thank you so much irregardless, happy to know I did the right thing! All 77 maps restored by spamming new map button in a new game file. Now I just need to rename and reorganize them all but I don't mind haha!
I did make a backup, or I thought I did, but it's gone. (I think it was an automatic one so yeah... betrayed x2) So I'll make sure to do it properly this time!
Side question-RPGMakerMV actually crashes all the time for me. I've scoured my computer to find out why but can't find any reasoning for it, it makes me lose progress when I'm in a database and can't spam save all the time and its very annoying.
RPGMakerMV actually crashes all the time for me.
It should not - however there are a number of known incompatibilities that might cause this.
But analysing your computer and its background programs for possible causes is a different and much larger topic.

How often does it crash excatly? How long can you work on average?

Post a new topic with that info, and we can check what we can do - but we need objective numbers instead of a subjective "all the time", because if that "all the time" is once per week, the work of finding the problem will not be worth it.

The rarer the crash, the more difficult it will be to reproduce - and that means difficult to solve as well.
It should not - however there are a number of known incompatibilities that might cause this.
But analysing your computer and its background programs for possible causes is a different and much larger topic.

How often does it crash excatly? How long can you work on average?

Post a new topic with that info, and we can check what we can do - but we need objective numbers instead of a subjective "all the time", because if that "all the time" is once per week, the work of finding the problem will not be worth it.

The rarer the crash, the more difficult it will be to reproduce - and that means difficult to solve as well.
I'll pay closer attention and come back with a more solid thread, but it's more than once a day (on a day where I'm working all day) I constantly have to reopen it and sigh because some work is missing haha. I'll try to time it but I think it mainly happens when I'm entering new data, be it an event or some items that it occurs.
Thank you!

(Not blaming RPGMakerMV at all btw!!! It's almost definitely my laptop haha)
(Not blaming RPGMakerMV at all btw!!! It's almost definitely my laptop haha)
Yes and No

Most of the known incompatibilities come from the fact that the RPG-Makers do not use regular file access and file saving, but databasing access and saving - like all big databases from Microsoft Access to Filemaker.

This cannot be changed (there is a reason why all the big programs use those methods), but it means that a lot of the simpler consumer programs do not expect a program on a consumer computer to use those methods. And that is why they sometimes cause problems if you don't kow how to configure them correctly (if they even have a configuration to handle database access methods)
Define what regular file access and saving is supposed to mean. There are hundreds of programming languages out there and all of them have their own strategy on how to read and store data as a file on any media like a hard disk or SDD card or USB drive. 100 programs written in the same language have no reason to use some unique strategy, what's normal is for them to use up to 100 different ways to perform those tasks.

Even so, they might respect a minimum subset of rules that the OS has implemented to access the files. It's not like they wanna respect them on their own, they have to. So I can say now that your statement is misleading by nature.

Now on databases, in earlier editions Ruby used an Array object to store the data, but it'd be saved as a very long string turned into a binary representation of that text. MV uses json files that you can easily read yourself. It is a long set of key value pairs that I call a Hash in Ruby. It's the GUI that makes you think it's a "real" database but not really. Anybody using SQL like DB knows the difference. Their handling is quite different and cumbersome.
Define what regular file access a saving is supposed to mean.
Regular file access means that the file is closed most of the time, and on clicking "save" the program opens or creates a file, writes everything sequentially and then closes it again.

With databases, the files are open all the time and are constantly written and updated by relative and direct (NOT sequential) access - that is the reason why cloudsyncs are problematic as only one single program can access any open file at the same time.

Most database program do not even have a "save" button at all, because they save constantly to the open file. They only have a "repair file" button in case something went wrong on shuitting down and closing the file.

And in the case of the maker and similar databases the save button basically means "sync the saved data with the RAM data".
You got it wrong. As I said in my previous post after some edits, the RM series never used a database but a bunch of regular files. Go find any SQL or Postgresql like DB. You won't find it. The only one that I still ignore what file storage format it uses as of now is Mz.

RM files are quite flexible by nature. Its devs could add more features to the engines and they wouldn't care about adding columns or anything the like because neither Ruby nor Javascript demand such formatting by default. Wanna save more data? Just go dump it as usual.

Just a simple example to make my point clear. In order to read a rvdata2 file all I need is having Ruby installed on my computer. Then I call a regular File.open and a Marshal.load commands with its regular parameters and that's it.
You got it wrong.
NO, you misunderstood.
I'm not talking about the data format on the harddrive - of course that is in multiple json files and not in an sql structure.

I'm talking about the way those files are accessed - they are constantly open while the editor is active, even without pressing save. That is the reason why the RMs have so many problems with cloudsyncing (which barely any other program has) and that is why the database and the current map can be completely corrupted on any power loss - the files were open instead of closed as with regular sequential saves.
OK, let's say it's actively open and the DB GUI can corrupt it because it doesn't close it right after loading the data. Not true. You can manually delete the files in Rgss based makers and you can still save what's on memory like a breeze.
(I don't quite understand the convo above hope its okay for me to continue with a related question 🙂)
I've readded all of my items and the like, and then my time system plugin broke! ('list' undefined error)
I deleted and reinstalled it into my game but now it won't start. I am using the Orange Time System and only start it up once at the start of the game by making sure my time switch is on. I ran a test to see if it was the switch having an issue, but it turns on-just doesn't start the timeflow. I have no events that turn off this switch so I'm a little stumped! Everything is set up exactly as it was before the crash.
Here is the game start up event where I try to turn on the time flow:
timeissue1.png
timeissue2.png

Here's how I know it isn't working-the main character has a watch set up to show the linked variables to the player and it is just displaying all zeros when it should start at 'Firdey Day 1 of Dawn, Hour 9, Minute 0'
PluginList.png
PluginSnip.png

Apologies for so many questions as you can see my game has had a bit of a day :ysad:
Tried downloading the plugin but it's unreachable. The thread didn't seem to mention that call.
@pyonypon please avoid double posting, as it is against the forum rules. You can use the "Edit" function on your posts to add additional information you've forgotten or respond to multiple people. You can review our forum rules here. Thank you.
@pyonypon please avoid double posting, as it is against the forum rules. You can use the "Edit" function on your posts to add additional information you've forgotten or respond to multiple people. You can review our forum rules here. Thank you.
Ah my apologies I didn’t realise 😅 as a gesture of apology I have deleted and edited the above post 🙂
@kyonides yes it is, so I went to its GitHub ( https://github.com/Hudell/mv-plugins/blob/master/OrangeTimeSystem/OrangeTimeSystem.js ) and copy pasted it into my own js file and called it the same name 😅 it worked before so I have no clue why it isn’t this time around (the initial corruption was unrelated to this data). I think I actually had trouble activating it the first time to but I don’t remember what made it work!!!
Hey you, not a big stink, but much appreciated. Mods can also always merge two posts together so it looks prettier. 😍
thank you mods! 😤
edit: I fixed it!!!! I had to just delete and reinstall the variable plugin as well 😍

Original thread: https://forums.rpgmakerweb.com/threads/game-corrupted-deleted.158730/