Nah, that's not Shovel Knight, that game is definitely more recent and pixel art style, not a PS2 title. I think you might be talking about Maximo: Ghosts to Glory? It fits the knight description and it was for PS2. Had some crystal-like environments towards the end. Cover art also …