PaulCombal / SamRewritten

Steam Achievement Manager For Linux. Rewritten in C++.
GNU General Public License v3.0
340 stars 32 forks source link

Cannot change stats with the AppImage CLI ? #70

Closed Krafting closed 4 years ago

Krafting commented 4 years ago

I might do this wrong but it seems I can't change stats via command line with the appimage:

The command I run: ./SamRewritten-Ubuntu_18.04-f75eaa9-x86_64.AppImage -a 4000 --statnames GMA_X_MINUTES_STAT --statvalues 3685

the output: Error opening the Steam Client library. /home/krafting/.steam/steam/linux64/steamclient.so may not exist. Info: /home/krafting/.steam/steam/linux64/steamclient.so: cannot open shared object file: No such file or directory Trying alternate Steam Client library path. [S_API] SteamAPI_Init(): Loaded '/home/krafting/.steam/linux64/steamclient.so' OK. Setting breakpad minidump AppID = 4000 Steam_SetMinidumpSteamID: Caching Steam ID: 76561198089847935 [API loaded no] Changing Float stat to value3685.000000 failed

Doing this via the GUI works normally.

wgpierce commented 4 years ago

Added a hack to make it work, please try the latest master.