You are not logged in.
I have been having this issue where team fortress 2 native refuses to launch with the following output. As you can see from the output, it's trying to launch hl2.exe. Every time I start steam, team fortress 2 "updates" and replaces the linux native files with the windows files even though proton is not checked. The way I fix it is by force checking proton, then unchecking it immediately after which it performs an update and the linux native files are back.
Files before checking and unchecking proton:
$ ls /home/[user]/HDD/SteamLibrary/steamapps/common/Team\ Fortress\ 2
bin fontconfig hl2 hl2.exe platform steam_appid.txt tf thirdpartylegalnotices.txt
Files after checking and unchecking proton:
$ ls /home/[user]/HDD/SteamLibrary/steamapps/common/Team\ Fortress\ 2
bin fontconfig hl2 hl2_linux hl2.sh platform steam_appid.txt tf thirdpartylegalnotices.txt
While this method "works", it is quite annoying and inconvenient to do this every time I launch steam. I am wondering if there is any way to fix this and would appreciate any help with this issue. Thank you
EDIT: if it is somehow related, the launch options I am using for team fortress 2 are:
prime-run %command% -novid -nojoy
Removing them changes nothing.
Last edited by 0fficerK (2023-08-20 19:35:24)
Offline
First thing I would do is check if the option "Keep games saves in the Steam Cloud for <game>" is checked. If you still have game saves from a time when you played on windows (friends house, vm etc.), it may still be trying to use the windows saves and then messing up the files. Also, a messy-er solution if you don't play any other games would be to uncheck proton in steam settings, as it may make it stop (just a guess idk).
One thing I'm curious about, maybe try updating the game through SteamCMD (I've never done it but I assume you can), and see if it gives some sort of weird output
Hope this helps!
Offline
See: https://github.com/Scrumplex/Steam-Play-None
Install and use that as the compatibility tool. It will force the Linux version.
Team Fortress 2's app ID is 440.
Uninstall TF2, delete anything left over in its directory, and also in the pfx compat data (in .steam/steam/steamapps/compatdata in your home directory by default, ) delete or rename the 440 directory.
With TF2 uninstalled, choose Steam Play None as the compatibility tool - right-click TF2, choose properties, in there. Then install TF2 and you should be good.
In theory of course.
Last edited by headkase (2023-08-28 10:26:30)
Offline