Where are you trying to open hammer from?The sourceSDK has been broken for a long time, you need to open it from the /Team Fortress 2/bin/ folder