Yep, Blackstone Chronicles - decent story with a real sense of horror coming from the poor patients and the abuse (seeing the 'treatments' together with the journal entries manages that; feel so sorry for a bunch of video game characters
). Pretty good guessing yourself!