DjScribbles / GamePipe

An application that automates the movement of Steam games from drive to drive or computer to computer
GNU General Public License v2.0
196 stars 12 forks source link

Duplicate libraries #37

Closed sharkusmanch closed 3 years ago

sharkusmanch commented 3 years ago
  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 commented 3 years ago

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

DjScribbles commented 3 years ago

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

GP should automatically detect all steam libraries when it starts, so adding a library that is already in steam is redundant, but it's possible something changed on steam.

On Sun, Aug 1, 2021, 11:10 AM Marcus Sanchez @.***> wrote:

1.

Stop Steam 2.

Start GamePipe with only default steam library

[image: start] https://user-images.githubusercontent.com/9328629/127775934-9816c438-46ed-4f68-9918-d61aacfd789b.PNG

  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.

[image: added] https://user-images.githubusercontent.com/9328629/127775940-59ffaddb-8e2c-45bc-8c08-a09a8f4700f7.PNG

  1. Restart GamePipe

[image: duplicate] https://user-images.githubusercontent.com/9328629/127775969-f0e8983f-73dc-4bb3-9329-4cdc990fec13.PNG

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/DjScribbles/GamePipe/issues/37, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPY4NFHELU5P3JZ54WXRHLT2VPXXANCNFSM5BLHGWDQ .

sharkusmanch commented 3 years ago

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 commented 3 years ago

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.