GameHub icon indicating copy to clipboard operation
GameHub copied to clipboard

Steam API or Privacy settings not detected, won't list steam games.

Open jarrard opened this issue 3 years ago • 4 comments

For some reason I can't get gamehub to see my steam games because it insists my steam account is set to private when it is in fact set to public. I've also tried the API key route and it ignores that and insists its all private thus can't add any games in.

Tried both normal and git versions, tried complete wipe of gamehub files...

Expected behavior

Steam api detected and games listed.

Actual behavior

Complains steam profile is private when it is not.

Steps to reproduce

unknown

Version and environment
  • GameHub Version: 0.16.0-3ff389e-master Branch: master Commit: 3ff389ea589076815256435971f5a99d593d9448
  • Environment Distro: Manjaro Linux DE: KDE GTK: 3.24.24

jarrard avatar Jan 21 '21 04:01 jarrard

The root cause of this is like because I have two steam accounts and gamehub gets confused, it just seems to want to select the OPPOSITE of what steam is actually using at present.

I swapped the steam accounts around in the steam config login file whatever and that only changed the login details but gamehub still was using the secondary account for game list and api check.. Changing my other steam account to public fixed the issue but introduces another possible issue where its getting wrong account game list...

I think it would be great if gamehub gave more control over which steam account to use instead of auto detecting from a config file somewhere which it interrupts wrong if more then 1 account is in it!

jarrard avatar Jan 21 '21 04:01 jarrard

GameHub should use the account you've signed in last in Steam client. Run GameHub with --debug --log-auth options to see if the last account is detected correctly.

I plan to implement support for multiple accounts some time in the future.

tkashkin avatar Jan 21 '21 05:01 tkashkin

Do all of the accounts in the loginusers.vdf have mostrecent field set? Maybe that's the problem.

tkashkin avatar Jan 21 '21 05:01 tkashkin

Only the correct account has 1 set, the other is 0. I've since moved the correct account above the other and that solved it for now. However its clearly not reading the config correctly.

jarrard avatar Jan 21 '21 06:01 jarrard