I've searched all over the internet and can't find an answer. I need the board connectors for the controller and the power/reset for an NES. I'm pretty sure they are JST connectors, but I don't know the specific model or part. I ordered XH 2.5mm pitch and they were too big. I don't want to just keep randomly ordering connectors until I finally find the right ones, so im really hoping someone can help me. Any help would be HUGELY appreciated, thanks.

The blue on the left is the 5 pin power/reset and the white on the right is the 7 pin controller.