I have team fortress 2 installed on my machine. When i backed it up to a second drive, it stopped showing up in my steam library. I searched my home directory and found all the files for team fortress there.
Is there a way to refresh it to recognize the installed game?
When you move the game folder, you also have to move the corresponding config file one level lower. It’s usually a number, which you can get from the steam store page.
For team fortress, this might be 440, but newer games have longer numbers (I think they number games sequentially, the number is in the url for the game on the store page after the apps/ bit)