Entire Project Broken, Please Help

I've been using RMMZ on a new laptop I bought that came with a program called Onedrive, which kept hounding me to buy more storage for it even though my computer wasn't a quarter full itself. So I managed to get it to stop backing things up which moved a bunch of files around on my computer, then eventually uninstalled Onedrive altogether which completely wiped out my desktop and made a lot of my own things damn near inaccessible.

Now I'm trying to continue working on my RMMZ project only to find that it wouldn't open saying things like "cannot read tileset.json"

I was able to fix that by renaming all of these files that had been randomly renamed presumably by that Onedrive garbage (the game project file itself was also renamed to look like this)
image0.jpg


So I thought it was fixed but now I cannot playtest the game, leaving me unable to get any more work done. Notice how the window says "Chrome Extension" despite me never installing Chrome on this computer. Does anybody know what is going on or what I can do? I really don't want to lose all these maps and events, and I've tried everything I can think of. I couldn't find a thread for MZ support so apologies if this is in a bad place, I just really want help.

Screenshot (32).png



EDIT: I found out that if I just copy/pasted my old game's folders into a new project that everything would work properly again. Sorry for the post, I was in full panic mode as this has been dozens of hours of work.
there are two things you should know, both of which can cause problems again.

1) all makers handle their files like a database, which means (among other things) they are open as long as the editor is active.
but open files can't be cloudsync'ed, no matter if onedrive or any other clouddrive system.
placing your working directory into a cloudsync'ed folder always risks total destruction of all files because of that. You barely avoided that with onedrive

2) MV and MZ create HTML5-based games, and browsers have problems if the filename or filepath to the directory does not follow networking rules.
The playtest uses a virtual directory to prevent that, but as soon as you deploy and use the real folderpath your project will have problems loading files because the foldername "tutorial project" contains a space, which is forbidden under networking rules.
Phew! I'm happy for you. And physical external copy on a USB drive or key could be nice/handy

Original thread: https://forums.rpgmakerweb.com/threads/entire-project-broken-please-help.138271/