Planescape: Torment. Made with the Forgotten Realms: Baldur’s Gate engine, but significantly more plot focused and less about combat. It almost plays like an adventure game.
It has a similar feel and presentation as the movie Momento. However, it came out well before Momento. Great writing overall, and great dialog.
Here are some of my previous posts on it: