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

Games shown as not installed #44

Closed
SalaryTheft opened this issue Jan 1, 2021 · 8 comments · Fixed by #47
Closed

Games shown as not installed #44

SalaryTheft opened this issue Jan 1, 2021 · 8 comments · Fixed by #47

Comments

@SalaryTheft
Copy link

My battle.net games are shown as not installed.

It is shown as installed(play button activated) when I first integrate battle.net to GOG Galaxy.
But if I restart GOG Galaxy, all battle.net games are shown as not installed.

BTW my battle.net games are installed at drive D (CoD MW for example - D:\battle.net\Call of Duty Modern Warfare) but I dont think that matters anyway.

@SalaryTheft
Copy link
Author

I've checked the plugin log and it seems like the plugin itself has detected my games correctly.

2021-01-01 19:27:37,474 - root - INFO - Games found in db [ProductDbInfo(uninstall_tag='odin', ngdp='odin', install_path='D:/battle.net/Call of Duty Modern Warfare', version='1.30.3.8425941', playable=True), ProductDbInfo(uninstall_tag='zeus', ngdp='zeus', install_path='D:/battle.net/Call of Duty Black Ops Cold War', version='1.7.1.8408002', playable=True)]
2021-01-01 19:27:37,474 - root - INFO - Games found in config [ConfigGameInfo(uid='lazarus', uninstall_tag=None, last_played='1599017071'), ConfigGameInfo(uid='odin', uninstall_tag='odin', last_played='1609488251'), ConfigGameInfo(uid='prometheus', uninstall_tag=None, last_played='1606020906'), ConfigGameInfo(uid='zeus', uninstall_tag='zeus', last_played='1608800352'), ConfigGameInfo(uid='prometheus_tournament_viewer', uninstall_tag=None, last_played='1606020906'), ConfigGameInfo(uid='odin_beta', uninstall_tag=None, last_played='1609071764'), ConfigGameInfo(uid='prometheus_test', uninstall_tag=None, last_played='1606020906'), ConfigGameInfo(uid='prometheus_viewer', uninstall_tag=None, last_played='1606020906'), ConfigGameInfo(uid='prometheus_tournament_viewer_2', uninstall_tag=None, last_played='1606020906'), ConfigGameInfo(uid='zeus_beta', uninstall_tag=None, last_played='1608800352')]
2021-01-01 19:27:37,474 - root - INFO - Adding odin Call of Duty: Modern Warfare to installed games
2021-01-01 19:27:37,474 - root - INFO - Started battlenet games thread
2021-01-01 19:27:37,477 - root - INFO - Adding zeus Call of Duty: Black Ops Cold War to installed games

@Swatseal
Copy link

Swatseal commented Jan 3, 2021

Having same issue, If I click Install it will quickly recognize the game as installed and show the Play button after the game is launched.

@alpharou
Copy link

alpharou commented Jan 4, 2021

Same issue for me. Doesn't show as installed until you either disconnect and reconnect the plugin, or click "install" on gog to launch battle.NET, and then all installed games get correctly shown, until restart of gog galaxy 2.

@lzlrd
Copy link

lzlrd commented Jan 6, 2021

Same issue for me. Doesn't show as installed until you either disconnect and reconnect the plugin, or click "install" on gog to launch battle.NET, and then all installed games get correctly shown, until restart of gog galaxy 2.

I can confirm this occurs.

@cetinodinson
Copy link

cetinodinson commented Jan 11, 2021

Same issue for me. Doesn't show as installed until you either disconnect and reconnect the plugin, or click "install" on gog to launch battle.NET, and then all installed games get correctly shown, until restart of gog galaxy 2.

Same symptoms doc. +1
edit; also my overwatch game time not tracking.

@fl4shback
Copy link

Hi!
Crossposting my findings from the same issue in another plugin (urwrstkn8mare/galaxy-riot-integration#10 (comment))

It seems like for some reason, the plugin is skipping the first wave of game imports when Galaxy starts.
I let galaxy run untouched for almost 2 hours and noticed that the games ended up appearing as installed.
Decided to dig through the logs and noticed that exactly one hour after starting, Galaxy is running a second wave of game imports and this time it seems to work.

Search for string "import installed games" in my log file.
GalaxyClient.log

@bartok765
Copy link
Owner

Hi, could you please retest the issue? Workaround on plugin side is released already.

@fl4shback
Copy link

It seems to me like the workaround if fixing the issue. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
7 participants