[PC][2000-2010] 3D Japanese game with enemy robots
Hack and slash game. The guy would sulk over this dead wife/mother who would appear in flashback cutscenes and tell him to move on. His hair was spiky and he would fight off many robots at a time. Perhaps the robots were cute and round.
The game had English voice overs (could have been subs but I am almost positive it was fully voiced in English)
Edit: He had a sword and maybe a gun too.