MegaAntiCheat / client-backend

GNU General Public License v3.0
118 stars 25 forks source link

Could not locate loginusers.vdf in the Steam dir, even when the tf2 directory is specified and the file exists in that larger steam directory. #121

Closed TehDrpStr closed 2 months ago

TehDrpStr commented 6 months ago

Linux mint 21.3, trying to run 'cargo run -- --tf2-dir "/home/titan/.steam/debian-installation/steamapps/common/Team Fortress 2"' gives that error. I'm logged in and have steam running. Everything else runs as expected.

Bash-09 commented 3 months ago

The instances of this issues I've seen pop up tend to be because of leftover files when switching to the native steam install instead of the flatpak one. If anyone experiencing this issue previously had the flatpak version of steam installed but since removed it, deleting the steam folder in ~/.var/app/ has worked for people.

Bash-09 commented 2 months ago

A workaround for this has been added in #158 The recommended solution if anybody encounters this issue and the above comment doesn't solve it is to specify both the TF2 directory and their steam user by running the client with the following arguments: --tf2-dir path_to_TF2_directory --steam-user 7565.....