protonscr

Team Fortress 2 fails to start -- hl2.sh not found.

steamclosed reviewedSteam clientNeed Retest
ValveSoftware/steam-for-linux#2267 · opened 2013-04-04 by imba3r · updated 2019-07-18 · 3 comments · github
Iimba3r 2013-04-04 github

I can't launch Team Fortress 2 because my Steam account name has a dollar sign ($) in it. It seems like that dollar sign is not properly escaped in a certain launch script used by steam. Below is the error shown when I launch Steam from the command line:

/bin/sh: /home/<user>/.local/share/Steam/SteamApps/<Steam account>/Team Fortress 2/hl2.sh: No such file or directory

I removed my real names, instead I provide an example using an arbitrary Steam account name: nickname$123.

The real call should be:
/home/<user>/.local/share/Steam/SteamApps/nickname$123/Team Fortress 2/hl2.sh
but instead this gets called, resulting in an error:
/home/<user>/.local/share/Steam/SteamApps/nickname/Team Fortress 2/hl2.sh

I tried to provide a symlink nickname which links to nickname$123, but that doesn't work. However if I rename the directory to nickname Team Fortress 2 works.

This issue also occurs when I try to start Counter Strike: Source. Day of Defeat: Source and HL2: Deathmatch (both Source games) on the other hand work.

Wwantkaos 2013-05-14 github

I have the same problem with Team Fortress 2. It took me ages to figure out the problem until I tried my wife's account, which has no special characters. I have not had the chance to test other games yet. Posting here because I'd like to keep track of it.

Thanks

Kkisak-valve maintainer 2017-04-25 github

Hello @imba3r, @wantkaos, are either of you still experiencing this issue with an up to date system?

Kkisak-valve maintainer 2017-05-29 github

Closing pending feedback.

Nothing extracted yet.