GameHub icon indicating copy to clipboard operation
GameHub copied to clipboard

Steam games installed on a location other than ~/.steam don't show up as installed

Open Foro38 opened this issue 3 years ago • 17 comments

Expected behavior

Steam games installed on a location other than ~/.steam show up as installed

Actual behavior

Steam games installed on a location other than ~/.steam don't show up as installed

Steps to reproduce
  1. Install Steam games in a location other than ~/.steam
  2. Launch GameHub
  3. They show up as "Not installed"
Version and environment
- GameHub
    Version: 0.16.0-b0f5e25-master
    Branch:  master
    Commit:  b0f5e258999b495e0f777ceb6a8349aac0454032
- Environment
    Distro:  Linux Mint 20.1
    DE:      X-Cinnamon
    GTK:     3.24.20

Foro38 avatar Jul 02 '21 01:07 Foro38

Is the expected path in steam included as a steam library folder?

Lucki avatar Jul 02 '21 11:07 Lucki

image

Yes, it even is the default path

Foro38 avatar Jul 02 '21 16:07 Foro38

I have the same issue. Looking at the code, I think the vdf file structure changed. Here's what I have in the librariesfolder.vdf file.

"libraryfolders"
{
	"contentstatsid"		"8413575840315298086"
	"1"
	{
		"path"		"/home/foo/Games/Steam"
		"label"		""
		"mounted"		"1"
		"contentid"		"4767286281369263029"
	}
}

The code expects "LibraryFolders" as the root element and certainly doesn't expect to have nested objects.

o-schneider avatar Jul 02 '21 17:07 o-schneider

That's interesting, are these new installations? I'm in the beta and still have the "older" format.

Lucki avatar Jul 03 '21 02:07 Lucki

Looks like Steam updates the file to new format when a new library folder is added, maybe also when existing folder is removed. Also it looks like Steam keeps removed folders in the list and sets mounted property to 0.

I guess it's related to the new library management UI Valve is currently working on.

tkashkin avatar Jul 03 '21 02:07 tkashkin

Yes, it's a new installation, few days old only. That's interesting though, would you have a sample of how the file looked before?

o-schneider avatar Jul 03 '21 06:07 o-schneider

I just moved several games from the library on my boot drive to a secondary drive (my new default steam library) and now I have the same issue. Only games I haven't moved show up in game hub as installed.

dimike96 avatar Jul 11 '21 22:07 dimike96

would you have a sample of how the file looked before?

"LibraryFolders"
{
	"TimeNextStatsReport"  "xxxx"
	"ContentStatsID"       "xxxx"
	"1"                    "/path/to/steam/library1"
	"2"                    "/path/to/steam/library2"
}

Lucki avatar Jul 11 '21 22:07 Lucki

When participating in the steam beta the old format is now converted to the new format.

Lucki avatar Jul 30 '21 11:07 Lucki

fresh install here, gamehub is not showing my installed games nor the different proton versions.

Willdrick avatar Aug 05 '21 04:08 Willdrick

Same here for some days now.

crt0mega avatar Aug 15 '21 10:08 crt0mega

Same problem here. Hopefully I can use this nice program again soon :)

Tripp024 avatar Aug 18 '21 06:08 Tripp024

Seems it has issues detecting the games from previous libraries/installs. From what I could test, if you install a game on steam after gamehub has been launched at least once, it'll show up as "installed" on Gamehub

imagen gamehub showing only valheim (steam) and spiritfarer (user game) as installed

Willdrick avatar Aug 18 '21 16:08 Willdrick

Same for me. Even when installing a game through GameHub and selecting a game library other then the one in $HOME/.steam/ . the game status in GameHub will show up as "Installation" and after that it still won't be shown as installed. I tried all possible options I could think of: Building GameHub from source, using the latest release version, using Steam Beta and Steam Non-Beta. Nothing worked.

Btw where can I find the cached files that store my GameHub account logins and config ? There are three directories named "com.github.tkashkin.gamehub" in .cache, .config and .local/share/ but deleting them all + removing the GameHub installation and then reinstalling the client results in the client detecting all my previously stored logins / connections for all game providers.. so where is the directory that stores that stuff and why isn't it stored in one of the other directories? This is really annoying.

MadByteDE avatar Aug 21 '21 13:08 MadByteDE

same issue here

lavenderdotpet avatar Sep 01 '21 11:09 lavenderdotpet

Should be fixed in 0.16.1

tkashkin avatar Sep 01 '21 18:09 tkashkin

tysm

lavenderdotpet avatar Sep 01 '21 23:09 lavenderdotpet