Very very bad, very dangerous problem...

Hello, 


I hope I've put this in the right section. Yesterday I went to deploy my game for pc, and something ridiculous happened. It moved a handful of files from my original projects img/pictures folder into the www/img/pictures folder of the deployed project, deleting files from my original projects folder!


It didn't do it with all of the files, but this morning I woke up and started up my game...it wouldn't run! And this is after a year of development. I went to my previous backup on my external HDD and the same error happened. So, when I looked at the deployed file that was sitting on my desktop I dug through it and found the files there. The same error happened on my external HDD because I had backed the game up the previous night AFTER deploying it. 


This is a very serious problem, and might be due to the checkbox "exclude unused files" or something else...I'm not sure what it was but that's some really scary stuff. I have a couple more backups of the game on others hard drives, so luckily I'm able to recover it, but now I'm afraid it might have messed around with my project folders other resources as well.


I'll update as I run more tests to see exactly what's happening. This might be due to some plugin maybe that's conflicting with the deployment?  


I've attached a crappy screenshot to show you what I mean: 


screen.png
You probably moved them instead copied them. Were you right-clicking when you moved the files?
You probably moved them instead copied them. Were you right-clicking when you moved the files?



I didn't move anything, I clicked "Deployment...", then deployed for pc in rmmv and created a new folder separate from the first for deployment.


I'm going to run some tests with this and post more soon, maybe a video as soon as I get the chance.
Okay so here's the deal...


When you deploy and maybe this has been said elsewhere...but here it is...when you deploy your game to any platform make sure there are no other files of any inappropriate file type within your game folder!!


I had all kinds of PSD files in there among others, so when the deployer or whatever you'd call it saw the PSD files it for some reason did this strange thing of moving all of the PSD files associated png files into the new deployed folder, then saying "deployed unsuccesfully" unless I checkmarkered "don't deploy unused files". 


Sounds strange, but this is definitely something that people have to keep in mind, especially if they're using tons of custom graphics.
Oh. So did you get the files back?

Original thread: https://forums.rpgmakerweb.com/threads/very-very-bad-very-dangerous-problem.66804/