Rall3n / galaxy-integration-amazon

GOG Galaxy 2.0 integration for the Amazon Games Launcher
GNU General Public License v3.0
303 stars 16 forks source link

Won't connect when amazon is moved to another drive #23

Closed RealLittlemrh closed 2 years ago

RealLittlemrh commented 2 years ago

As the title says. I moved the amazon gaming app from the C: drive to my E: drive and it won't see the amazon app, but did see the app when it was in the C: drive.

Rall3n commented 2 years ago

@RealLittlemrh The installation has no step to select install location afaik. How did you move the app / change install location?

RealLittlemrh commented 2 years ago

You can literally just move the whole folder, after it's downloaded, at once to change its location and it works, though it does still add a data folder in "C:\Users[Username]\AppData\Local\Amazon Games" but all of the games are saved in the E: drive. Hopefully, this image shows what I'm explaining correctly :D (did block out personal user in the image) image

RealLittlemrh commented 2 years ago

Hey, I was looking through the code of "client.py" and saw it was looking for both the app.exe file and the uninstall.exe so I added them in a new folder called App in the "C:\Users[Username]\AppData\Local\Amazon Games" and placed a copy of both files and that made it work.

image

Rall3n commented 2 years ago

Hello @RealLittlemrh,

The integration checks if the Amazon Games App is installed by looking through the registry. Its registry entry has a value for the install location which is used by the integration to find the necessary files.

As you moved the app manually the path in the registry entry still pointed to the old install location.

Also this could potentially break launching Amazon games through Galaxy.

RealLittlemrh commented 2 years ago

Well from the limited test I did it worked just fine, thanks.😃

domnsync commented 1 year ago

I also have the same issue. I moved the Amazon Games folder into another directory and left the Data folder on where it was originally installed at the first time. The plugin connects but can't find any game. I don't want to move the Amazon Games folder into it's original destination. What should I do to be able to see the games.