Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Foro38 opened this issue Jul 2, 2021 · 17 comments

Comments

@Foro38
Copy link

Foro38 commented Jul 2, 2021

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

@Lucki
Copy link
Contributor

Lucki commented Jul 2, 2021

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

@Foro38
Copy link
Author

Foro38 commented Jul 2, 2021

image

Yes, it even is the default path

@o-schneider
Copy link

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 added a commit to o-schneider/GameHub that referenced this issue Jul 2, 2021
o-schneider added a commit to o-schneider/GameHub that referenced this issue Jul 2, 2021
@Lucki
Copy link
Contributor

Lucki commented Jul 3, 2021

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

@tkashkin
Copy link
Owner

tkashkin commented Jul 3, 2021

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.

@o-schneider
Copy link

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?

@dimike96
Copy link

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.

@Lucki
Copy link
Contributor

Lucki commented Jul 11, 2021

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
Copy link
Contributor

Lucki commented Jul 30, 2021

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

@Willdrick
Copy link

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

@crt0mega
Copy link

Same here for some days now.

@Tripp024
Copy link

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

@Willdrick
Copy link

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

@MadByteDE
Copy link

MadByteDE commented Aug 21, 2021

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.

@lavenderdotpet
Copy link

same issue here

@tkashkin
Copy link
Owner

tkashkin commented Sep 1, 2021

Should be fixed in 0.16.1

@lavenderdotpet
Copy link

tysm

tkashkin added a commit that referenced this issue Oct 25, 2021
Simplified meson build scripts, dropped support for older dependencies
Lucki pushed a commit to Lucki/GameHub that referenced this issue Nov 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants