surepy/tf2_bot_detector

[BUG] Fatal Error: Unable to get window info from SDL

Opened this issue · 6 comments

Describe the bug
When trying to launch TF2 via TF2BD, I get an error complaining about being unable to get window info from SDL

Logs
2024-06-07_18-02-19.log

Screenshots
image

Desktop (please complete the following information):
Linux Mint 21.3 Virginia
TF2BD v1.6.3.55

Additional context
This did not occur before updating packages
This does not occur when running TF2 directly through steam

"This did not occur before updating packages" interesting, my guess might be that we're loading the OS's version of sdl instead of the supplied sdl binary of tf2, and that's being incompatible with tf2.

For now just work around it by supplying your own rcon params and launching tf2 separately via steam (see #26's launch params), sorry about that. (I'll fix it eventually)

I believe the issue is that the game is supposed to use the Steam Linux Runtime libraries but is instead using system libraries

yea probably

I changed how tf2 launches under linux (idk why windows x64 build is broken atm, lol.) and its my best guess on the proper way to fix this issue, can you try the latest build artifacts?

Two of the distros i use don't have this problem so it's kind of a shot in the dark lol

It works although the terminal command length limit is hit a lot quicker when using command line parameters

Nevermind it triggered insecure mode