I think i have a corrupted file i cant open my project

Hello, i just this morning realised i have a problem. When i open my project its fully blank and i dont know if my file is corrupted or not. When i looked in files i saw my actors file has been cleared.

The past 2 days i made so much progress and this was the one time i just forgot ti back up since i was tired.

If my full project cant be saved, is there a way for me to at least be able to import maps and dialogue into a backed up version?
A project is nothing more than the files in
- audio
- data
- img

All other files, such as project.rmmz contains nothing relevant and can be replaced by any other file from another project.

Usually, it helps to create a fresh new project and then copy-paste or move files from one project into another.
it depends on what exactly happened, because usually corrupted files give an error and do not open into a blank project.

how do you open the project? The only way to get a blank project is to create a new project and the maker automatically loads the last project - so it can be that you simply are in the wrong projects.
please start the editor, then go to the menu open project and then navigate through your harddrive to where your working directory is to see if that is the case
A project is nothing more than the files in
- audio
- data
- img

All other files, such as project.rmmz contains nothing relevant and can be replaced by any other file from another project.

Usually, it helps to create a fresh new project and then copy-paste or move files from one project into another.
Where are maps and events stored ?
in the data directory

but please answer my questions above - usually all but the last map open can be restored if that was a regular file corruption, but your description does not fit.
and restoring the maps requires some very specific steps....
in the data directory

but please answer my questions above - usually all but the last map open can be restored if that was a regular file corruption, but your description does not fit.
and restoring the maps requires some very specific steps....
oh sorry, i am 100% certain this is the project. I checked the map files in the game and it seems like almost all my maps files have been cleared. All my audio files and everything thing else is fine but my data files have been cleared when i looked in notepad.
almost all my maps files have been cleared.
Then your cause is different from the regular accidentally corrupted files, and you need to find out what exactly happened to prevent a repeat.

Can you give the full folderpath to your project's index.html?
Beginning with the drive letter, not the windows placeholders?

something like
c:\folder\folder\folder\project\index.html
Then your cause is different from the regular accidentally corrupted files, and you need to find out what exactly happened to prevent a repeat.

Can you give the full folderpath to your project's index.html?
Beginning with the drive letter, not the windows placeholders?

something like
c:\folder\folder\folder\project\index.html
This has happened to me before, but i am a but fortunate as this time the maps i actually have are the ones that i worked on and aren't on the backed up files.

But anyway thats not too relevant, should i also send you the project file as well?
no, this has nothing to do with the project files themselves.

there are several possibilities what can destroy files like that, and more than half of them will show up in the filepath as the result of the programs causing the problems.
the only things not showing up in the filepaths would be hardware problems like a power out or HDD failure etc.
Then your cause is different from the regular accidentally corrupted files, and you need to find out what exactly happened to prevent a repeat.

Can you give the full folderpath to your project's index.html?
Beginning with the drive letter, not the windows placeholders?

something like
c:\folder\folder\folder\project\index.html
Then your cause is different from the regular accidentally corrupted files, and you need to find out what exactly happened to prevent a repeat.

Can you give the full folderpath to your project's index.html?
Beginning with the drive letter, not the windows placeholders?

something like
c:\folder\folder\folder\project\index.html
"C:\Users\danie\Desktop\my game\libad"
Thats the broken project
OK, no sign of a cloud system.
you might want to rename "my game" to "my_game" but that has nothing to do with the currupted files but with other problems.

can you remember what happened when you last worked on the project before it got corrupted?
was there any crash or power off without shutdown or something like that?
how old is your computer and HDD (in years)? 5 years or older or newer?
no, this has nothing to do with the project files themselves.

there are several possibilities what can destroy files like that, and more than half of them will show up in the filepath as the result of the programs causing the problems.
the only things not showing up in the filepaths would be hardware problems like a power out or HDD failure etc.
I just double checked and not every file is gone but it is instead specific files
no, this has nothing to do with the project files themselves.

there are several possibilities what can destroy files like that, and more than half of them will show up in the filepath as the result of the programs causing the problems.
the only things not showing up in the filepaths would be hardware problems like a power out or HDD failure etc.
This is what it shows
OK, no sign of a cloud system.
you might want to rename "my game" to "my_game" but that has nothing to do with the currupted files but with other problems.

can you remember what happened when you last worked on the project before it got corrupted?
was there any crash or power off without shutdown or something like that?
how old is your computer and HDD (in years)? 5 years or older or newer?
Before this happened, i had saved my project and then it had that reload option like usual. I dont know if it was whilst that was happening or after, but i turned off my computer after. I remember i was in a rush to to get to bed so i turned off the plug instead of shutting down.

My conputer is about 7 years old, i haven't had much problems with it though apart from it being slow in the past.
so i turned off the plug instead of shutting down.
THAT one

Hard drives are slow due to the way they work, and to speed up the process they all have their own cache/RAM for quick access.
A large part of shutting down is Windows waiting for the HDD to report "I stored all the quick cache data to the slower magnetic storage".

But if you cut the power, that cache gets deleted before it can be stored on the magnetic harddrive.
and due to the way the computer works that usually destroys all files that were partially stored in the cache at that moment.

And the only way to restore that even partially requires immediate action on next boot, because otherwise the harddrive clears the structures required to try to restore.

Sorry, any nulled file is lost for you by now.
THAT one

Hard drives are slow due to the way they work, and to speed up the process they all have their own cache/RAM for quick access.
A large part of shutting down is Windows waiting for the HDD to report "I stored all the quick cache data to the slower magnetic storage".

But if you cut the power, that cache gets deleted before it can be stored on the magnetic harddrive.
and due to the way the computer works that usually destroys all files that were partially stored in the cache at that moment.

And the only way to restore that even partially requires immediate action on next boot, because otherwise the harddrive clears the structures required to try to restore.

Sorry, any nulled file is lost for you by now.
I see, i should be able to carry on from the last backup, but i got a question. My map files (mostly the new ones) seem to be okay, is there a way for me to transfer them onto the new project because they got diaogue and events as well.
THAT one

Hard drives are slow due to the way they work, and to speed up the process they all have their own cache/RAM for quick access.
A large part of shutting down is Windows waiting for the HDD to report "I stored all the quick cache data to the slower magnetic storage".

But if you cut the power, that cache gets deleted before it can be stored on the magnetic harddrive.
and due to the way the computer works that usually destroys all files that were partially stored in the cache at that moment.

And the only way to restore that even partially requires immediate action on next boot, because otherwise the harddrive clears the structures required to try to restore.

Sorry, any nulled file is lost for you by now.
Like is copy and pasting the okay files safe to do?
I see, i should be able to carry on from the last backup, but i got a question. My map files (mostly the new ones) seem to be okay, is there a way for me to transfer them onto the new project because they got diaogue and events as well.
In MZ, you can just copy and paste your map files from project A to project B. Right click the map, click copy, go to the other project, right click on your map list, click paste.

And yeah it's safe to do, obviously you'll have to redo any map to map references since the pasted map will have a different map ID from the original (unless you delete the original map first in project B, but I don't recommend that, just in case).

Edit: Just wanted to add I've done this before when I royally screwed up a map testing out new player movement plugins and code. There was no issue with copying the untampered with map from a backup. You should be good 🙂.
In MZ, you can just copy and paste your map files from project A to project B. Right click the map, click copy, go to the other project, right click on your map list, click paste.

And yeah it's safe to do, obviously you'll have to redo any map to map references since the pasted map will have a different map ID from the original (unless you delete the original map first in project B, but I don't recommend that, just in case).
What do you mean by map to map references?
What do you mean by map to map references?
I mean if you had say, an event that transfers a player from map A to map B, or a script that changes an event's self switch and references map ID, when you copy over the map from your corrupted project, the engine will consider it a new map; it will not automatically redo the references.

You have to redo any references to your "new" map. For example, if you had a map to map transfer going from map A to map B, and B is now getting replaced by your new map, you need to redo the transfer events so that map A sends the player to the new map.
I mean if you had say, an event that transfers a player from map A to map B, or a script that changes an event's self switch and references map ID, when you copy over the map from your corrupted project, the engine will consider it a new map; it will not automatically redo the references.

You have to redo any references to your "new" map. For example, if you had a map to map transfer going from map A to map B, and B is now getting replaced by your new map, you need to redo the transfer events so that map A sends the player to the new map.
I see, i copy and pasted the new map files but they arent showing up in the engine itself
I see, i copy and pasted the new map files but they arent showing up in the engine itself
What do you mean "aren't showing up in the engine itself"? The maps are blank after you copy them, or they don't show up on the map list at all?

Original thread: https://forums.rpgmakerweb.com/threads/i-think-i-have-a-corrupted-file-i-cant-open-my-project.163097/