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

Duplicate libraries #37

Closed
sharkusmanch opened this issue Aug 1, 2021 · 4 comments
Closed

Duplicate libraries #37

sharkusmanch opened this issue Aug 1, 2021 · 4 comments

Comments

@sharkusmanch
Copy link

  1. Stop Steam

  2. Start GamePipe with only default steam library

start

  1. Add two new libraries (E:/games and D:/Games in my case). These libraries already have games and have been added to Steam manually.

added

  1. Restart GamePipe

duplicate

@sharkusmanch
Copy link
Author

Attempting to remove the duplicates will result in GamePipe missing E:/games and D:/Games upon restart.

@DjScribbles
Copy link
Owner

DjScribbles commented Aug 1, 2021 via email

@sharkusmanch
Copy link
Author

When did you add the libraries via steam, was it prior to starting game
pipe?

Yes, added them manually before starting GP.

Quickly tested the following:

  1. Stopped GP
  2. Removed E:/games and D:/Games from Steam libraries
  3. Stopped Steam
  4. Start GP, now only shows default C:/ library as expected
  5. Added E:/games and D:/Games to GP libraries
  6. Stop GP
  7. Start Steam
  8. Start GP, now showing duplicate libraries again

@DjScribbles
Copy link
Owner

Yea, so I checked this out a bit, and Steam has indeed changed the formatting of libraryfolders.vdf, which is where game-pipe picks up all the libraries from. Oddly, my primary hasn't changed yet, but another PC in the house is on the new format.

To resolve this, I've modified the library finder to accept the new format, which was a tiny regex change (it also accepts the old format). I also disabled the Add/Remove Library features, since they're not functional with the new style. Archives can still be added/removed.

You may need to manually edit your "steamapps\Libraryfolders.vdf" and remove the lines that look like below in order to remove the duplication:
image
If you'd prefer, feel free to attach your vdf file and I'll manually edit it for you.

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

2 participants