if the files are destroyed, you can only replace them from your last backup.
and even then you need to find out why the files were destroyed to prevent that from happening again.
Depending on how that destruction happened, it might be that most of the mapfiles survived and you only need to learn how to transfer them to a new project, but in case of the database files the only solution for a destroyed file is a backup (or redoing them from scratch).
Make a Backup now, only than start the recovery process.
Maybe you added a Script, and that is not properly adjusted. Maybe deleting that Script will Fix everything.
If i remember correctly, than broken Gamefiles after crash shutdown look different.
Edit:
Do you get the Errormessage when trying to Playtest or when trying to Open the Project in the Editor?
I'm really sorry to hear this. I had it happen to me just recently, but I fortunately had a fairly recent backup I could use, and I save all my resources separately to my project file.
One thing I did find though was that events saved to uncorrupted maps remain, so if you have cutscenes, characters with dialogue etc, all that stuff will survive in your maps. You can copy them into a new project folder and they'll work just fine. You'll have to rebuild the rest of your database information, but you might find that with some work, you can salvage a fair bit of your project from the maps.
Edit:
Do you get the Errormessage when trying to Playtest or when trying to Open the Project in the Editor?
Unfortunately you've learned the most basic lesson a dev can learn...back up your projects.
I was asking because normaly you cant Testplay the Game without being able to Open it in the Editor.
I assume you tryed to start it directly with the Dragon Symbol Exe in this case? I forgot about thatone.
downloaded and testing.
I've bypassed most of the errors with a brain transfer from a blank project, but the tilesets file is still giving errors.
I'm going to attempt a reverse transfer, bringing your files over to an empty project.... maybe that way we can recover *the game* even if *the database* is lost.
Did you save this in dropbox or something? Or at least some kind of Version history? Otherwise you ed dude. An alternative is someone can fix the ruby marshal binary file thing but I am honestly out of my league on stuff like that.
I'll take a look once I get home.
We can try replacing specific files with new ones from a fresh project. There's specifics, but I don't remember which off the top of my head.
I won't be home for another ten hours though. Hopefully someone knows what I mean and they can show you.