Overwritten sketches

Do you mean: "IDE" = Integrated Development Environment?

You will need to post all those files to this topic for evaluation and suggestions.

I see a DFPlayerMini and two SD cards (or more DFPlayerMinis). It looks like you have made a diorama with lights that flash at programmed times and sounds that do the same. I wrote a "DIO sequencer" that might be of interest.