I Just Accidentally Deleted My Game

So I was clearing out some old files when I accidentally deleted my game files. The game is still open in RPG Maker MV, so all of my project still exists with all the data files. However, all of my plugins, pictures, etc. are gone. I even emptied the recycle bin before I noticed my mistake (go me).
Is there anything I can do to recover my files? Or am I screwed and will I have to redo most of my game?
Once deleted then its gone, did you make backups ? on Usb, SD or an external HD ?
If you don't have made backups then you have to redo everything again when its gone.
Theoretically you can try to recover deleted files if you IMMEDIATELY stop using your HDD and then see if some file recovery software can help (run from another partition of course). That is, shut your computer down THIS SECOND.

https://superuser.com/questions/671773/how-to-recover-deleted-files-on-windows

But I dunno... Are files opened by MV deleted? If yes, I dunno if saving the project while it is still open could rescue some data? Doing so will probably screw any chances of recovering the files you've just deleted through file recovery software run from another partition, though.
I've made some experimenation.

Apparently you can delete all your game files while the project is still opened in MV. Unfortunately in such a case MV refuses to save the game. You can still deploy the project, but the resulting package will be broken and will contain no data that is useful for recovery. Assets are gone, but you can still view the events... and copy their content by means of paper and pencil. Everything else seems to be gone, even if it's currently opened by MV.

If you want to attempt data recovery... here's the way: again, shut the computer down NOW. Don't run it again unless you're sure the partition from which you've deleted files will not be mounted. If you can ensure this then run you computer from another partition, install file recovery software like Recuva that is mentioned in my linked SuperUser post to a different partition, and then attempt data recovery on the partition from which you've deleted your files. If you cannot ensure this (for example in the most common scenario that you have only one OS installed in your computer and your data was on the same partition that the OS was, then remove the HDD from your computer, connect it to a different computer, install data recovery software on that different computer and attempt data recovery. You may need to buy a HDD enclosure with a USB adapter to do this. If you don't trust yourself with removing HDD from your computer then have someone do this for you.
Ah and one last remark: If you have Windows 8 or 10 then Windows is likely to have Fast Startup / Fast Boot enabled. In that case, if you do access this partition from another OS, ALWAYS mount it read-only so that you or any program doesn't decide to write anything to it, even if you give up your hopes of recovering your game, or else you might loose your other data that is saved on this partition or even make Windows crash. AFAIK Linux is able to mount and access such a partition read-only, but I don't know how mounting such a partition works under a different installation of Windows.

Original thread: https://forums.rpgmakerweb.com/threads/i-just-accidentally-deleted-my-game.83577/