Skip to content

game-teamfortress2: Discover the native Linux version - #24398

Open
SPTApyo wants to merge 2 commits into
Nexus-Mods:masterfrom
SPTApyo:fix/tf2-linux-exe
Open

SPTApyo wants to merge 2 commits into
Nexus-Mods:masterfrom
SPTApyo:fix/tf2-linux-exe

Conversation

@SPTApyo

@SPTApyo SPTApyo commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

TF2 is native on Linux and Steam installs the Linux build there, which has no tf_win64.exe. Since that file was required, the game was never discovered on Linux.

On Linux the executable is now picked from what's installed: tf_win64.exe if the Windows build is there (game set to run through Proton), tf.sh otherwise, the script Steam launches for the native build. The required file is tf/gameinfo.txt, which both builds have.

Checked against a Steam install, both with the native build (tf.sh) and switched to Proton (tf_win64.exe). Before this it wasn't discovered with the native build.

@SPTApyo
SPTApyo requested a review from a team as a code owner October 4, 2026 02:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant