bartok765 / galaxy_blizzard_plugin

GOG Galaxy 2.0 plugin for Blizzard
MIT License
34 stars 16 forks source link

WarCraft III Reforged doesn't appear as playable #5

Open valentinistrate opened 4 years ago

valentinistrate commented 4 years ago

I recently installed WarCraft 3 Reforged on my computer. Although the game gets detected as owned by GOG Battle.net integration, I only see the Install button, not the Play option. However, the Play button appears on WarCraft III The Frozen Throne, although the classic version is not installed. Neither button does anything.

Maybe it's worth mentioning that I have the new beta version of Battle.net client installed.

2020-02-01 17_31_00-Window

Alexis67330 commented 4 years ago

Hello, i have same issu with warcraft 3 reforged

robertkoch13 commented 4 years ago

I have the same issue with Warcraft 3. My other Battle.net games show correctly (Starcraft 1 and 2 and Diablo 3)

Gelean commented 4 years ago

I dug into this a little bit today and here's what I found:

If you have Warcraft III: Reign of Chaos (ROC) and Warcraft III: The Frozen Throne (TFT) in your Battle.net library, you will have three entries in GOG Galaxy 2.0 when you install the Battle.net integration (note that you need the latest code in this repo to make ROC appear correctly, the latest code hasn't made it into the official GOG repo yet as of writing this). I didn't have Warcraft III installed, so when I opened up each GOG page I observed the following:

After clicking on Install through the Warcraft III: TFT GOG page I was able to install Warcraft III. After doing that I observed:

I think part of the issue might be that the Warcraft III: Reforged entry in Battle.net was originally separate from the Warcraft III entry, but the Warcraft III entry in Battle.net is now for Reforged only.

Not sure if the definitions.py entries will need to be updated or what. I'm not familiar enough with the structure of the code here.

There might be an additional hiccup in getting this issue fixed. When I try to click on the Warcraft III.exe in the Warcraft III folder browser it launches Battle.net, but doesn't launch the game. If you press Play in Battle.net it will then launch the game. Not sure what launch parameters will be needed to get that working. SC1 Remaster and Overwatch don't seem to run into the same issue when launching those .exes.

bartok765 commented 4 years ago

@Gelean thanks for investigation! It would be nice to see log files for those install/launch failures:

Clicking the Install/Play buttons on any page don't appear to do anything

Currently I'm working (at least one evening in 2 weeks..) on definitions and owned games refactor. When done, I'll take a closed look into this issue.

Gelean commented 4 years ago

@bartok765 You are very welcome! Sure thing. I'm not too familiar with the GOG launcher's layout. I tried looking for a debug or logs folder in the main folder, but didn't see anything. If you could point me to where the debug logs are I can look for those.

bartok765 commented 4 years ago

Hey, logs are located usually in: C:\ProgramData\GOG.com\Galaxy\logs\. Name "plugin_blizzard_xxxxxx" - you will see. They are rolled to .1 .2 .3. The most fresh is with "log" extension. Before sending, please reproduce those install steps - may be helpful :)

Gelean commented 4 years ago

Since the install is a little big (26 GB) I decided to fudge things a bit. I dragged the Warcraft III folder out of where it's installed to simulate it not being there. I found the following:

Launch GOG Galaxy 2.0

Before the games are installed:

Go to Warcraft 3 Reforged -> Click Install

2020-05-12 11:25:01,447 - galaxy.api.jsonrpc - DEBUG - Received 70 bytes of data
2020-05-12 11:25:01,447 - galaxy.api.jsonrpc - INFO - Handling notification: method=install_game, params={'game_id': '22323'}
2020-05-12 11:25:01,448 - galaxy.task_manager - DEBUG - Task manager jsonrpc server: creating task 6 (install_game)
2020-05-12 11:25:01,448 - galaxy.task_manager - DEBUG - Task manager plugin external: creating task 7 (install_game)
2020-05-12 11:25:01,448 - root - INFO - Installing game of id 22323
2020-05-12 11:25:01,448 - root - ERROR - Installing game 22323 failed:
Traceback (most recent call last):
  File "C:\Users\Delder\AppData\Local\GOG.com\Galaxy\plugins\installed\battlenet_ba170431-0649-482f-863b-d248592f1842\plugin.py", line 129, in install_game
    self.local_client.install_game(game_id)
  File "C:\Users\Delder\AppData\Local\GOG.com\Galaxy\plugins\installed\battlenet_ba170431-0649-482f-863b-d248592f1842\local_client_base.py", line 108, in install_game
    game = Blizzard[id]
  File "C:\Users\Delder\AppData\Local\GOG.com\Galaxy\plugins\installed\battlenet_ba170431-0649-482f-863b-d248592f1842\definitions.py", line 115, in __getitem__
    raise KeyError()
KeyError
2020-05-12 11:25:01,449 - galaxy.task_manager - DEBUG - Task manager plugin external: finished task 7 (install_game)
2020-05-12 11:25:01,449 - galaxy.task_manager - DEBUG - Task manager jsonrpc server: finished task 6 (install_game)

Go to ROC page -> Click Install

2020-05-12 11:25:31,415 - galaxy.api.jsonrpc - DEBUG - Received 70 bytes of data
2020-05-12 11:25:31,415 - galaxy.api.jsonrpc - INFO - Handling notification: method=install_game, params={'game_id': 'w3ROC'}
2020-05-12 11:25:31,416 - galaxy.task_manager - DEBUG - Task manager jsonrpc server: creating task 8 (install_game)
2020-05-12 11:25:31,416 - galaxy.task_manager - DEBUG - Task manager plugin external: creating task 10 (install_game)
2020-05-12 11:25:31,976 - galaxy.task_manager - DEBUG - Task manager plugin external: finished task 10 (install_game)
2020-05-12 11:25:31,976 - galaxy.task_manager - DEBUG - Task manager jsonrpc server: finished task 8 (install_game)

Go to TFT page -> Click Install

2020-05-12 11:25:54,604 - galaxy.api.jsonrpc - DEBUG - Received 70 bytes of data
2020-05-12 11:25:54,604 - galaxy.api.jsonrpc - INFO - Handling notification: method=install_game, params={'game_id': 'w3tft'}
2020-05-12 11:25:54,604 - galaxy.task_manager - DEBUG - Task manager jsonrpc server: creating task 9 (install_game)
2020-05-12 11:25:54,604 - galaxy.task_manager - DEBUG - Task manager plugin external: creating task 11 (install_game)
2020-05-12 11:25:54,649 - galaxy.task_manager - DEBUG - Task manager plugin external: finished task 11 (install_game)
2020-05-12 11:25:54,650 - galaxy.task_manager - DEBUG - Task manager jsonrpc server: finished task 9 (install_game)

After moving the Warcraft III folder back and relaunching GOG

2020-05-12 11:34:18,618 - root - DEBUG - Using proactor: IocpProactor
2020-05-12 11:34:18,622 - galaxy.api.plugin - INFO - Using local address: 127.0.0.1:52747
2020-05-12 11:34:18,623 - galaxy.api.plugin - INFO - Creating plugin for platform battlenet, version 1.1.0
2020-05-12 11:34:18,627 - root - INFO - Games found in db [ProductDbInfo(uninstall_tag='wow_enus', ngdp='wow', install_path='D:/Games/World of Warcraft', version='8.3.0.34220', playable=True), ProductDbInfo(uninstall_tag='diablo3_enus', ngdp='d3', install_path='D:/Games/Diablo III', version='2.6.8.66666', playable=True), ProductDbInfo(uninstall_tag='hs_beta', ngdp='hsb', install_path='D:/Games/Hearthstone', version='17.0.2.45932', playable=False), ProductDbInfo(uninstall_tag='heroes', ngdp='hero', install_path='D:/Games/Heroes of the Storm', version='2.50.0.79155', playable=False), ProductDbInfo(uninstall_tag='destiny2', ngdp='dst2', install_path='D:/Games/Destiny 2', version='2.5.2.1 (6104665)', playable=False), ProductDbInfo(uninstall_tag='s2_enus', ngdp='s2', install_path='D:/Games/StarCraft II', version='4.11.4.78285', playable=True), ProductDbInfo(uninstall_tag='wow_classic', ngdp='wow_classic', install_path='D:/Games/World of Warcraft', version='1.13.4.34219', playable=False), ProductDbInfo(uninstall_tag='s1', ngdp='s1', install_path='D:/Games/StarCraft', version='1.23.3.8211', playable=True), ProductDbInfo(uninstall_tag='prometheus', ngdp='pro', install_path='D:/Games/Overwatch', version='1.47.1.0.68126', playable=True)]
2020-05-12 11:34:18,627 - root - INFO - Games found in config [ConfigGameInfo(uid='diablo3', uninstall_tag='diablo3_enus', last_played='1584740915'), ConfigGameInfo(uid='heroes', uninstall_tag='heroes', last_played='1564883258'), ConfigGameInfo(uid='hs_beta', uninstall_tag='hs_beta', last_played='1588207641'), ConfigGameInfo(uid='prometheus', uninstall_tag='prometheus', last_played='1588206739'), ConfigGameInfo(uid='wow', uninstall_tag='wow_enus', last_played='1561764573'), ConfigGameInfo(uid='prometheus_test', uninstall_tag='prometheus_test', last_played='1556434184'), ConfigGameInfo(uid='s2', uninstall_tag='s2_enus', last_played='1584740608'), ConfigGameInfo(uid='w3', uninstall_tag='w3', last_played='1588202077'), ConfigGameInfo(uid='destiny2', uninstall_tag='destiny2', last_played=None), ConfigGameInfo(uid='hs_tournament', uninstall_tag=None, last_played='1553459941'), ConfigGameInfo(uid='prometheus_dev', uninstall_tag=None, last_played='1556434184'), ConfigGameInfo(uid='prometheus_tournament', uninstall_tag=None, last_played='1556434184'), ConfigGameInfo(uid='prometheus_tournament2', uninstall_tag=None, last_played='1556434184'), ConfigGameInfo(uid='prometheus_tournament2_cn', uninstall_tag=None, last_played='1556434184'), ConfigGameInfo(uid='prometheus_tournament2_eu', uninstall_tag=None, last_played='1556434184'), ConfigGameInfo(uid='prometheus_tournament2_kr', uninstall_tag=None, last_played='1556434184'), ConfigGameInfo(uid='prometheus_tournament3', uninstall_tag=None, last_played='1556434184'), ConfigGameInfo(uid='prometheus_tournament_cn', uninstall_tag=None, last_played='1556434184'), ConfigGameInfo(uid='prometheus_tournament_eu', uninstall_tag=None, last_played='1556434184'), ConfigGameInfo(uid='prometheus_tournament_kr', uninstall_tag=None, last_played='1556434184'), ConfigGameInfo(uid='prometheus_tournament_viewer', uninstall_tag=None, last_played='1556434184'), ConfigGameInfo(uid='prometheus_vendor', uninstall_tag=None, last_played='1556434184'), ConfigGameInfo(uid='prometheus_viewer', uninstall_tag=None, last_played='1556434184'), ConfigGameInfo(uid='heroes_ptr', uninstall_tag=None, last_played='1546054166'), ConfigGameInfo(uid='heroes_tournament', uninstall_tag=None, last_played='1546054166'), ConfigGameInfo(uid='prometheus_tournament_viewer_2', uninstall_tag=None, last_played='1560145801'), ConfigGameInfo(uid='wow_event1', uninstall_tag=None, last_played='1561769847'), ConfigGameInfo(uid='wow_event2', uninstall_tag=None, last_played='1561769847'), ConfigGameInfo(uid='wow_event3', uninstall_tag=None, last_played='1561769847'), ConfigGameInfo(uid='wow_submission', uninstall_tag=None, last_played='1561769847'), ConfigGameInfo(uid='wow_vendor', uninstall_tag=None, last_played='1561769847'), ConfigGameInfo(uid='wow_vendor2', uninstall_tag=None, last_played='1561769847'), ConfigGameInfo(uid='wow_classic', uninstall_tag='wow_classic', last_played='1568858704'), ConfigGameInfo(uid='wow_ptr', uninstall_tag=None, last_played='1568437745'), ConfigGameInfo(uid='wow_classic_ptr', uninstall_tag=None, last_played='1568437744'), ConfigGameInfo(uid='diablo3_ptr', uninstall_tag=None, last_played='1584741120'), ConfigGameInfo(uid='w3t', uninstall_tag='w3t', last_played='1588197321'), ConfigGameInfo(uid='s1', uninstall_tag='s1', last_played='1588202897')]
2020-05-12 11:34:18,647 - root - INFO - Adding 5730135 World of Warcraft to installed games
2020-05-12 11:34:18,647 - root - INFO - Started battlenet games thread
2020-05-12 11:34:18,896 - root - INFO - Adding 17459 Diablo III to installed games
2020-05-12 11:34:18,959 - root - INFO - Adding 1465140039 Hearthstone to installed games
2020-05-12 11:34:18,990 - root - INFO - Adding 1214607983 Heroes of the Storm to installed games
2020-05-12 11:34:19,150 - root - INFO - Adding 1146311730 Destiny 2 to installed games
2020-05-12 11:34:19,187 - root - INFO - Adding 21298 StarCraft II to installed games
2020-05-12 11:34:19,267 - root - INFO - Adding wow_classic World of Warcraft Classic to installed games
2020-05-12 11:34:19,495 - root - INFO - Adding 21297 StarCraft to installed games
2020-05-12 11:34:19,538 - root - INFO - Adding 5272175 Overwatch to installed games
2020-05-12 11:34:20,073 - galaxy.api.jsonrpc - DEBUG - Received 66 bytes of data
2020-05-12 11:34:20,074 - galaxy.api.jsonrpc - INFO - Handling request: id=0, method=get_capabilities, params={}
2020-05-12 11:34:20,074 - root - DEBUG - Sending data: {"jsonrpc": "2.0", "id": "0", "result": {"platform_name": "battlenet", "features": ["LaunchPlatformClient", "UninstallGame", "LaunchGame", "ImportInstalledGames", "ShutdownPlatformClient", "ImportOwnedGames", "ImportGameTime", "InstallGame"], "token": "9ddcac94-a015-4de6-9420-8dba396480e0"}}
2020-05-12 11:34:20,241 - galaxy.api.jsonrpc - DEBUG - Received 75 bytes of data
2020-05-12 11:34:20,242 - galaxy.api.jsonrpc - INFO - Handling request: id=1, method=initialize_cache, params={'data': '****'}
2020-05-12 11:34:20,242 - galaxy.task_manager - DEBUG - Task manager plugin internal: creating task 0 (tick)
2020-05-12 11:34:20,242 - root - DEBUG - Sending data: {"jsonrpc": "2.0", "id": "1", "result": null}
2020-05-12 11:34:20,244 - galaxy.api.jsonrpc - DEBUG - Received 54 bytes of data
2020-05-12 11:34:20,244 - galaxy.api.jsonrpc - INFO - Handling request: id=2, method=ping, params={}
2020-05-12 11:34:20,245 - root - DEBUG - Sending data: {"jsonrpc": "2.0", "id": "2", "result": null}
2020-05-12 11:34:20,648 - galaxy.api.jsonrpc - DEBUG - Received 10124 bytes of data
2020-05-12 11:34:20,648 - galaxy.api.jsonrpc - INFO - Handling request: id=3, method=init_authentication, params={'stored_credentials': '****'}
2020-05-12 11:34:20,648 - galaxy.task_manager - DEBUG - Task manager jsonrpc server: creating task 0 (init_authentication)
2020-05-12 11:34:20,649 - galaxy.task_manager - DEBUG - Task manager plugin external: creating task 0 (init_authentication)
2020-05-12 11:34:21,213 - root - DEBUG - Status code: 200
2020-05-12 11:34:21,384 - root - DEBUG - Status code: 200
2020-05-12 11:34:21,408 - galaxy.task_manager - DEBUG - Task manager plugin external: finished task 0 (init_authentication)
2020-05-12 11:34:21,409 - root - DEBUG - Sending data: {"jsonrpc": "2.0", "id": "3", "result": {"user_id": 902831, "user_name": "Delder#11596"}}
2020-05-12 11:34:21,409 - galaxy.task_manager - DEBUG - Task manager jsonrpc server: finished task 0 (init_authentication)
2020-05-12 11:34:23,266 - galaxy.api.jsonrpc - DEBUG - Received 68 bytes of data
2020-05-12 11:34:23,266 - galaxy.api.jsonrpc - INFO - Handling request: id=4, method=import_owned_games, params={}
2020-05-12 11:34:23,266 - galaxy.task_manager - DEBUG - Task manager jsonrpc server: creating task 1 (import_owned_games)
2020-05-12 11:34:23,267 - galaxy.task_manager - DEBUG - Task manager plugin external: creating task 1 (import_owned_games)
2020-05-12 11:34:23,267 - galaxy.api.jsonrpc - DEBUG - Received 68 bytes of data
2020-05-12 11:34:23,267 - galaxy.api.jsonrpc - INFO - Handling request: id=5, method=import_local_games, params={}
2020-05-12 11:34:23,267 - galaxy.task_manager - DEBUG - Task manager jsonrpc server: creating task 2 (import_local_games)
2020-05-12 11:34:23,268 - galaxy.task_manager - DEBUG - Task manager plugin external: creating task 2 (import_local_games)
2020-05-12 11:34:23,441 - root - DEBUG - Status code: 200
2020-05-12 11:34:23,617 - root - DEBUG - Status code: 200
2020-05-12 11:34:23,617 - root - INFO - looking for {'localizedGameName': 'Warcraft®\xa0III: Reign of Chaos®', 'regionalGameFranchiseIconFilename': 'warcraft-iii.svg', 'cdKeys': ['WKJ9HKPKF4N4RDFMPJ2EP84TJE'], 'displayOrder': 9001} in classic games
2020-05-12 11:34:23,618 - root - INFO - match! ClassicGame(uid='w3ROC', name='Warcraft® III: Reign of Chaos®', family='Warcraft III', free_to_play=False, registry_path='Warcraft III', registry_installation_key='InstallLocation', exe='Warcraft III.exe', bundle_id='com.blizzard.WarcraftIII')
2020-05-12 11:34:23,618 - root - INFO - looking for {'localizedGameName': 'Warcraft®\xa0III: The Frozen Throne®', 'regionalGameFranchiseIconFilename': 'warcraft-iii.svg', 'cdKeys': ['C2MDDJN8767JVKVZKNDNJWFXGD'], 'displayOrder': 9002} in classic games
2020-05-12 11:34:23,618 - root - INFO - match! ClassicGame(uid='w3tft', name='Warcraft® III: The Frozen Throne®', family='Warcraft III', free_to_play=False, registry_path='Warcraft III', registry_installation_key='InstallLocation', exe='Warcraft III.exe', bundle_id='com.blizzard.WarcraftIII')
2020-05-12 11:34:23,618 - root - INFO - looking for {'localizedGameName': 'Diablo®\xa0II', 'regionalGameFranchiseIconFilename': 'diablo-ii.svg', 'cdKeys': ['DMKRHNVVK9EZBZJF7XJ29XBMRR'], 'displayOrder': 9003} in classic games
2020-05-12 11:34:23,618 - root - INFO - match! ClassicGame(uid='d2', name='Diablo® II', family='Diablo II', free_to_play=False, registry_path='Diablo II', registry_installation_key='DisplayIcon', exe='Game.exe', bundle_id='com.blizzard.diabloii')
2020-05-12 11:34:23,618 - root - INFO - looking for {'localizedGameName': 'Diablo®\xa0II: Lord of Destruction®', 'regionalGameFranchiseIconFilename': 'diablo-ii.svg', 'cdKeys': ['XTE2ED2HKEM9E86BFTW47Y6997'], 'displayOrder': 9004} in classic games
2020-05-12 11:34:23,618 - root - INFO - match! ClassicGame(uid='d2LOD', name='Diablo® II: Lord of Destruction®', family='Diablo II', free_to_play=False, registry_path=None, registry_installation_key=None, exe=None, bundle_id=None)
2020-05-12 11:34:23,619 - galaxy.task_manager - DEBUG - Task manager plugin external: finished task 1 (import_owned_games)
2020-05-12 11:34:23,620 - root - DEBUG - Sending data: {"jsonrpc": "2.0", "id": "4", "result": {"owned_games": [{"game_id": "5730135", "game_title": "World of Warcraft\u00ae: Legion", "dlcs": [], "license_info": {"license_type": "SinglePurchase"}}, {"game_id": "5730135", "game_title": "World of Warcraft\u00ae: Legion", "dlcs": [], "license_info": {"license_type": "SinglePurchase"}}, {"game_id": "17459", "game_title": "Diablo\u00ae\u00a0III: Reaper of Souls\u2122", "dlcs": [], "license_info": {"license_type": "SinglePurchase"}}, {"game_id": "1465140039", "game_title": "Hearthstone\u00ae", "dlcs": [], "license_info": {"license_type": "SinglePurchase"}}, {"game_id": "1214607983", "game_title": "Heroes of the Storm\u00ae", "dlcs": [], "license_info": {"license_type": "SinglePurchase"}}, {"game_id": "5272175", "game_title": "Overwatch\u00ae", "dlcs": [], "license_info": {"license_type": "SinglePurchase"}}, {"game_id": "21298", "game_title": "StarCraft\u00ae\u00a0II: Legacy of the Void\u2122", "dlcs": [], "license_info": {"license_type": "SinglePurchase"}}, {"game_id": "21297", "game_title": "StarCraft\u00ae Remastered", "dlcs": [], "license_info": {"license_type": "SinglePurchase"}}, {"game_id": "22323", "game_title": "Warcraft\u00a0III: Reforged", "dlcs": [], "license_info": {"license_type": "SinglePurchase"}}, {"game_id": "1146311730", "game_title": "Destiny 2", "dlcs": [], "license_info": {"license_type": "Unknown"}}, {"game_id": "w3ROC", "game_title": "Warcraft\u00ae\u00a0III: Reign of Chaos\u00ae", "dlcs": [], "license_info": {"license_type": "SinglePurchase"}}, {"game_id": "w3tft", "game_title": "Warcraft\u00ae\u00a0III: The Frozen Throne\u00ae", "dlcs": [], "license_info": {"license_type": "SinglePurchase"}}, {"game_id": "d2", "game_title": "Diablo\u00ae\u00a0II", "dlcs": [], "license_info": {"license_type": "SinglePurchase"}}, {"game_id": "d2LOD", "game_title": "Diablo\u00ae\u00a0II: Lord of Destruction\u00ae", "dlcs": [], "license_info": {"license_type": "SinglePurchase"}}, {"game_id": "wow_classic", "game_title": "World of Warcraft Classic", "dlcs": [], "license_info": {"license_type": "SinglePurchase"}}, {"game_id": "wow_classic", "game_title": "World of Warcraft Classic", "dlcs": [], "license_info": {"license_type": "SinglePurchase"}}]}}
2020-05-12 11:34:23,620 - galaxy.task_manager - DEBUG - Task manager jsonrpc server: finished task 1 (import_owned_games)
2020-05-12 11:34:23,933 - galaxy.api.jsonrpc - DEBUG - Received 243 bytes of data
2020-05-12 11:34:23,933 - galaxy.api.jsonrpc - INFO - Handling request: id=6, method=start_game_times_import, params={'game_ids': ['1146311730', '1214607983', '1465140039', '17459', '21297', '21298', '22323', '5272175', '5730135', '5730135', 'd2', 'd2LOD', 'w3ROC', 'w3tft', 'wow_classic', 'wow_classic']}
2020-05-12 11:34:23,934 - galaxy.task_manager - DEBUG - Task manager jsonrpc server: creating task 3 (start_game_times_import)
2020-05-12 11:34:23,934 - galaxy.task_manager - DEBUG - Task manager plugin external: creating task 3 (start_game_times_import)
2020-05-12 11:34:23,934 - galaxy.task_manager - DEBUG - Task manager plugin external: creating task 4 (game times import)
2020-05-12 11:34:23,935 - galaxy.task_manager - DEBUG - Task manager plugin external: finished task 3 (start_game_times_import)
2020-05-12 11:34:23,935 - root - DEBUG - Sending data: {"jsonrpc": "2.0", "id": "6", "result": null}
2020-05-12 11:34:23,935 - galaxy.task_manager - DEBUG - Task manager jsonrpc server: finished task 3 (start_game_times_import)
2020-05-12 11:34:23,936 - galaxy.api.jsonrpc - INFO - Sending notification: method=game_time_import_success, params={'game_time': GameTime(game_id='1146311730', time_played=None, last_played_time=None)}
2020-05-12 11:34:23,936 - galaxy.api.jsonrpc - DEBUG - Sending 109 bytes of data
2020-05-12 11:34:23,936 - galaxy.api.jsonrpc - INFO - Sending notification: method=game_time_import_success, params={'game_time': GameTime(game_id='1214607983', time_played=None, last_played_time=None)}
2020-05-12 11:34:23,936 - galaxy.api.jsonrpc - DEBUG - Sending 109 bytes of data
2020-05-12 11:34:23,936 - galaxy.api.jsonrpc - INFO - Sending notification: method=game_time_import_success, params={'game_time': GameTime(game_id='1465140039', time_played=None, last_played_time=None)}
2020-05-12 11:34:23,937 - galaxy.api.jsonrpc - DEBUG - Sending 109 bytes of data
2020-05-12 11:34:23,937 - galaxy.api.jsonrpc - INFO - Sending notification: method=game_time_import_success, params={'game_time': GameTime(game_id='17459', time_played=None, last_played_time=None)}
2020-05-12 11:34:23,937 - galaxy.api.jsonrpc - DEBUG - Sending 104 bytes of data
2020-05-12 11:34:23,937 - galaxy.api.jsonrpc - INFO - Sending notification: method=game_time_import_success, params={'game_time': GameTime(game_id='21297', time_played=None, last_played_time=None)}
2020-05-12 11:34:23,937 - galaxy.api.jsonrpc - DEBUG - Sending 104 bytes of data
2020-05-12 11:34:23,937 - galaxy.api.jsonrpc - INFO - Sending notification: method=game_time_import_success, params={'game_time': GameTime(game_id='21298', time_played=None, last_played_time=None)}
2020-05-12 11:34:23,937 - galaxy.api.jsonrpc - DEBUG - Sending 104 bytes of data
2020-05-12 11:34:23,937 - galaxy.api.jsonrpc - INFO - Sending notification: method=game_time_import_success, params={'game_time': GameTime(game_id='22323', time_played=None, last_played_time=None)}
2020-05-12 11:34:23,938 - galaxy.api.jsonrpc - DEBUG - Sending 104 bytes of data
2020-05-12 11:34:23,938 - root - DEBUG - Fetching playtime for Overwatch...
2020-05-12 11:34:23,939 - galaxy.api.jsonrpc - INFO - Sending notification: method=game_time_import_success, params={'game_time': GameTime(game_id='5730135', time_played=None, last_played_time=None)}
2020-05-12 11:34:23,939 - galaxy.api.jsonrpc - DEBUG - Sending 106 bytes of data
2020-05-12 11:34:23,940 - galaxy.api.jsonrpc - INFO - Sending notification: method=game_time_import_success, params={'game_time': GameTime(game_id='5730135', time_played=None, last_played_time=None)}
2020-05-12 11:34:23,941 - galaxy.api.jsonrpc - DEBUG - Sending 106 bytes of data
2020-05-12 11:34:23,941 - galaxy.api.jsonrpc - INFO - Sending notification: method=game_time_import_success, params={'game_time': GameTime(game_id='d2', time_played=None, last_played_time=None)}
2020-05-12 11:34:23,941 - galaxy.api.jsonrpc - DEBUG - Sending 101 bytes of data
2020-05-12 11:34:23,942 - galaxy.api.jsonrpc - INFO - Sending notification: method=game_time_import_success, params={'game_time': GameTime(game_id='d2LOD', time_played=None, last_played_time=None)}
2020-05-12 11:34:23,942 - galaxy.api.jsonrpc - DEBUG - Sending 104 bytes of data
2020-05-12 11:34:23,942 - galaxy.api.jsonrpc - INFO - Sending notification: method=game_time_import_success, params={'game_time': GameTime(game_id='w3ROC', time_played=None, last_played_time=None)}
2020-05-12 11:34:23,942 - galaxy.api.jsonrpc - DEBUG - Sending 104 bytes of data
2020-05-12 11:34:23,942 - galaxy.api.jsonrpc - INFO - Sending notification: method=game_time_import_success, params={'game_time': GameTime(game_id='w3tft', time_played=None, last_played_time=None)}
2020-05-12 11:34:23,943 - galaxy.api.jsonrpc - DEBUG - Sending 104 bytes of data
2020-05-12 11:34:23,943 - galaxy.api.jsonrpc - INFO - Sending notification: method=game_time_import_success, params={'game_time': GameTime(game_id='wow_classic', time_played=None, last_played_time=None)}
2020-05-12 11:34:23,943 - galaxy.api.jsonrpc - DEBUG - Sending 110 bytes of data
2020-05-12 11:34:23,943 - galaxy.api.jsonrpc - INFO - Sending notification: method=game_time_import_success, params={'game_time': GameTime(game_id='wow_classic', time_played=None, last_played_time=None)}
2020-05-12 11:34:23,943 - galaxy.api.jsonrpc - DEBUG - Sending 110 bytes of data
2020-05-12 11:34:25,146 - root - DEBUG - Status code: 200
2020-05-12 11:34:25,147 - root - INFO - Unable to get data as Overwatch profile is private.
2020-05-12 11:34:25,147 - root - DEBUG - Gametime for Overwatch is None minutes.
2020-05-12 11:34:25,147 - galaxy.api.jsonrpc - INFO - Sending notification: method=game_time_import_success, params={'game_time': GameTime(game_id='5272175', time_played=None, last_played_time=None)}
2020-05-12 11:34:25,147 - galaxy.api.jsonrpc - DEBUG - Sending 106 bytes of data
2020-05-12 11:34:25,147 - galaxy.api.jsonrpc - INFO - Sending notification: method=game_times_import_finished, params=None
2020-05-12 11:34:25,147 - galaxy.api.jsonrpc - DEBUG - Sending 75 bytes of data
2020-05-12 11:34:25,147 - galaxy.task_manager - DEBUG - Task manager plugin external: finished task 4 (game times import)
2020-05-12 11:34:25,277 - galaxy.api.jsonrpc - DEBUG - Received 54 bytes of data
2020-05-12 11:34:25,278 - galaxy.api.jsonrpc - INFO - Handling request: id=7, method=ping, params={}
2020-05-12 11:34:25,278 - root - DEBUG - Sending data: {"jsonrpc": "2.0", "id": "7", "result": null}
2020-05-12 11:34:27,403 - root - INFO - Installed games dict_items([('5730135', <local_games.InstalledGame object at 0x0403AEF0>), ('17459', <local_games.InstalledGame object at 0x0403AE90>), ('1465140039', <local_games.InstalledGame object at 0x0403AE30>), ('1214607983', <local_games.InstalledGame object at 0x0403ACB0>), ('1146311730', <local_games.InstalledGame object at 0x0403ACD0>), ('21298', <local_games.InstalledGame object at 0x0403AC70>), ('wow_classic', <local_games.InstalledGame object at 0x0403AC90>), ('21297', <local_games.InstalledGame object at 0x0403AD70>), ('5272175', <local_games.InstalledGame object at 0x0403AD10>)])
2020-05-12 11:34:27,403 - root - INFO - Running games set()
2020-05-12 11:34:27,403 - galaxy.task_manager - DEBUG - Task manager plugin external: finished task 2 (import_local_games)
2020-05-12 11:34:27,404 - root - DEBUG - Sending data: {"jsonrpc": "2.0", "id": "5", "result": {"local_games": [{"game_id": "5730135", "local_game_state": 1}, {"game_id": "17459", "local_game_state": 1}, {"game_id": "1465140039", "local_game_state": 0}, {"game_id": "1214607983", "local_game_state": 0}, {"game_id": "1146311730", "local_game_state": 0}, {"game_id": "21298", "local_game_state": 1}, {"game_id": "wow_classic", "local_game_state": 0}, {"game_id": "21297", "local_game_state": 1}, {"game_id": "5272175", "local_game_state": 1}]}}
2020-05-12 11:34:27,404 - galaxy.task_manager - DEBUG - Task manager jsonrpc server: finished task 2 (import_local_games)
2020-05-12 11:34:30,334 - galaxy.api.jsonrpc - DEBUG - Received 54 bytes of data
2020-05-12 11:34:30,334 - galaxy.api.jsonrpc - INFO - Handling request: id=8, method=ping, params={}
2020-05-12 11:34:30,334 - root - DEBUG - Sending data: {"jsonrpc": "2.0", "id": "8", "result": null}
2020-05-12 11:34:35,386 - galaxy.api.jsonrpc - DEBUG - Received 54 bytes of data
2020-05-12 11:34:35,387 - galaxy.api.jsonrpc - INFO - Handling request: id=9, method=ping, params={}
2020-05-12 11:34:35,387 - root - DEBUG - Sending data: {"jsonrpc": "2.0", "id": "9", "result": null}
2020-05-12 11:34:40,401 - galaxy.api.jsonrpc - DEBUG - Received 55 bytes of data
2020-05-12 11:34:40,401 - galaxy.api.jsonrpc - INFO - Handling request: id=10, method=ping, params={}
2020-05-12 11:34:40,401 - root - DEBUG - Sending data: {"jsonrpc": "2.0", "id": "10", "result": null}
2020-05-12 11:34:45,467 - galaxy.api.jsonrpc - DEBUG - Received 55 bytes of data
2020-05-12 11:34:45,467 - galaxy.api.jsonrpc - INFO - Handling request: id=11, method=ping, params={}
2020-05-12 11:34:45,467 - root - DEBUG - Sending data: {"jsonrpc": "2.0", "id": "11", "result": null}
2020-05-12 11:34:50,441 - root - DEBUG - Looking for classic games
2020-05-12 11:34:50,442 - root - INFO - Started classic games thread
2020-05-12 11:34:50,442 - root - DEBUG - Checking if ClassicGame(uid='d2', name='Diablo® II', family='Diablo II', free_to_play=False, registry_path='Diablo II', registry_installation_key='DisplayIcon', exe='Game.exe', bundle_id='com.blizzard.diabloii') is in registry 
2020-05-12 11:34:50,442 - root - DEBUG - Found classic game registry entry! Diablo II
2020-05-12 11:34:50,442 - root - DEBUG - Found classic game is installed! Diablo II
2020-05-12 11:34:50,443 - root - DEBUG - Checking if ClassicGame(uid='d2LOD', name='Diablo® II: Lord of Destruction®', family='Diablo II', free_to_play=False, registry_path=None, registry_installation_key=None, exe=None, bundle_id=None) is in registry 
2020-05-12 11:34:50,443 - root - DEBUG - Checking if ClassicGame(uid='w3ROC', name='Warcraft® III: Reign of Chaos®', family='Warcraft III', free_to_play=False, registry_path='Warcraft III', registry_installation_key='InstallLocation', exe='Warcraft III.exe', bundle_id='com.blizzard.WarcraftIII') is in registry 
2020-05-12 11:34:50,443 - root - DEBUG - Found classic game registry entry! Warcraft III
2020-05-12 11:34:50,444 - root - DEBUG - Found classic game is installed! Warcraft III
2020-05-12 11:34:50,455 - root - DEBUG - Checking if ClassicGame(uid='w3tft', name='Warcraft® III: The Frozen Throne®', family='Warcraft III', free_to_play=False, registry_path='Warcraft III', registry_installation_key='InstallLocation', exe='Warcraft III.exe', bundle_id='com.blizzard.WarcraftIII') is in registry 
2020-05-12 11:34:50,455 - root - DEBUG - Found classic game registry entry! Warcraft III
2020-05-12 11:34:50,456 - root - DEBUG - Found classic game is installed! Warcraft III
2020-05-12 11:34:50,471 - root - DEBUG - Checking if ClassicGame(uid='sca', name='StarCraft® Anthology', family='Starcraft', free_to_play=False, registry_path='StarCraft', registry_installation_key=None, exe=None, bundle_id=None) is in registry 
2020-05-12 11:34:50,471 - root - DEBUG - Found classic game registry entry! StarCraft
2020-05-12 11:34:50,524 - galaxy.api.jsonrpc - DEBUG - Received 55 bytes of data
2020-05-12 11:34:50,524 - galaxy.api.jsonrpc - INFO - Handling request: id=12, method=ping, params={}
2020-05-12 11:34:50,524 - root - DEBUG - Sending data: {"jsonrpc": "2.0", "id": "12", "result": null}
2020-05-12 11:34:55,577 - galaxy.api.jsonrpc - DEBUG - Received 55 bytes of data
2020-05-12 11:34:55,577 - galaxy.api.jsonrpc - INFO - Handling request: id=13, method=ping, params={}
2020-05-12 11:34:55,577 - root - DEBUG - Sending data: {"jsonrpc": "2.0", "id": "13", "result": null}
2020-05-12 11:35:00,632 - galaxy.api.jsonrpc - DEBUG - Received 55 bytes of data
2020-05-12 11:35:00,632 - galaxy.api.jsonrpc - INFO - Handling request: id=14, method=ping, params={}
2020-05-12 11:35:00,633 - root - DEBUG - Sending data: {"jsonrpc": "2.0", "id": "14", "result": null}
2020-05-12 11:35:05,698 - galaxy.api.jsonrpc - DEBUG - Received 55 bytes of data
2020-05-12 11:35:05,698 - galaxy.api.jsonrpc - INFO - Handling request: id=15, method=ping, params={}
2020-05-12 11:35:05,698 - root - DEBUG - Sending data: {"jsonrpc": "2.0", "id": "15", "result": null}
2020-05-12 11:35:10,754 - galaxy.api.jsonrpc - DEBUG - Received 55 bytes of data
2020-05-12 11:35:10,754 - galaxy.api.jsonrpc - INFO - Handling request: id=16, method=ping, params={}
2020-05-12 11:35:10,754 - root - DEBUG - Sending data: {"jsonrpc": "2.0", "id": "16", "result": null}
2020-05-12 11:35:15,815 - galaxy.api.jsonrpc - DEBUG - Received 55 bytes of data
2020-05-12 11:35:15,815 - galaxy.api.jsonrpc - INFO - Handling request: id=17, method=ping, params={}
2020-05-12 11:35:15,815 - root - DEBUG - Sending data: {"jsonrpc": "2.0", "id": "17", "result": null}
2020-05-12 11:35:20,479 - root - DEBUG - Detected playable game
2020-05-12 11:35:20,479 - root - INFO - Changing game d2 state to LocalGameState.Installed
2020-05-12 11:35:20,479 - galaxy.api.jsonrpc - INFO - Sending notification: method=local_game_status_changed, params={'local_game': LocalGame(game_id='d2', local_game_state=<LocalGameState.Installed: 1>)}
2020-05-12 11:35:20,479 - galaxy.api.jsonrpc - DEBUG - Sending 126 bytes of data
2020-05-12 11:35:20,480 - root - DEBUG - Detected playable game
2020-05-12 11:35:20,480 - root - INFO - Changing game w3ROC state to LocalGameState.Installed
2020-05-12 11:35:20,480 - galaxy.api.jsonrpc - INFO - Sending notification: method=local_game_status_changed, params={'local_game': LocalGame(game_id='w3ROC', local_game_state=<LocalGameState.Installed: 1>)}
2020-05-12 11:35:20,480 - galaxy.api.jsonrpc - DEBUG - Sending 129 bytes of data
2020-05-12 11:35:20,480 - root - DEBUG - Detected playable game
2020-05-12 11:35:20,480 - root - INFO - Changing game w3tft state to LocalGameState.Installed
2020-05-12 11:35:20,480 - galaxy.api.jsonrpc - INFO - Sending notification: method=local_game_status_changed, params={'local_game': LocalGame(game_id='w3tft', local_game_state=<LocalGameState.Installed: 1>)}
2020-05-12 11:35:20,480 - galaxy.api.jsonrpc - DEBUG - Sending 129 bytes of data
2020-05-12 11:35:20,481 - root - DEBUG - Looking for classic games
2020-05-12 11:35:20,481 - root - INFO - Started classic games thread
2020-05-12 11:35:20,481 - root - DEBUG - Checking if ClassicGame(uid='d2', name='Diablo® II', family='Diablo II', free_to_play=False, registry_path='Diablo II', registry_installation_key='DisplayIcon', exe='Game.exe', bundle_id='com.blizzard.diabloii') is in registry 
2020-05-12 11:35:20,481 - root - DEBUG - Found classic game registry entry! Diablo II
2020-05-12 11:35:20,482 - root - DEBUG - Found classic game is installed! Diablo II
2020-05-12 11:35:20,483 - root - DEBUG - Checking if ClassicGame(uid='d2LOD', name='Diablo® II: Lord of Destruction®', family='Diablo II', free_to_play=False, registry_path=None, registry_installation_key=None, exe=None, bundle_id=None) is in registry 
2020-05-12 11:35:20,483 - root - DEBUG - Checking if ClassicGame(uid='w3ROC', name='Warcraft® III: Reign of Chaos®', family='Warcraft III', free_to_play=False, registry_path='Warcraft III', registry_installation_key='InstallLocation', exe='Warcraft III.exe', bundle_id='com.blizzard.WarcraftIII') is in registry 
2020-05-12 11:35:20,483 - root - DEBUG - Found classic game registry entry! Warcraft III
2020-05-12 11:35:20,484 - root - DEBUG - Found classic game is installed! Warcraft III
2020-05-12 11:35:20,496 - root - DEBUG - Checking if ClassicGame(uid='w3tft', name='Warcraft® III: The Frozen Throne®', family='Warcraft III', free_to_play=False, registry_path='Warcraft III', registry_installation_key='InstallLocation', exe='Warcraft III.exe', bundle_id='com.blizzard.WarcraftIII') is in registry 
2020-05-12 11:35:20,496 - root - DEBUG - Found classic game registry entry! Warcraft III
2020-05-12 11:35:20,497 - root - DEBUG - Found classic game is installed! Warcraft III
2020-05-12 11:35:20,508 - root - DEBUG - Checking if ClassicGame(uid='sca', name='StarCraft® Anthology', family='Starcraft', free_to_play=False, registry_path='StarCraft', registry_installation_key=None, exe=None, bundle_id=None) is in registry 
2020-05-12 11:35:20,508 - root - DEBUG - Found classic game registry entry! StarCraft

Go to Warcraft 3 Reforged -> Click Install

2020-05-12 11:36:02,682 - galaxy.api.jsonrpc - DEBUG - Received 70 bytes of data
2020-05-12 11:36:02,683 - galaxy.api.jsonrpc - INFO - Handling notification: method=install_game, params={'game_id': '22323'}
2020-05-12 11:36:02,683 - galaxy.task_manager - DEBUG - Task manager jsonrpc server: creating task 7 (install_game)
2020-05-12 11:36:02,683 - galaxy.task_manager - DEBUG - Task manager plugin external: creating task 9 (install_game)
2020-05-12 11:36:02,683 - root - INFO - Installing game of id 22323
2020-05-12 11:36:02,684 - root - ERROR - Installing game 22323 failed:
Traceback (most recent call last):
  File "C:\Users\Delder\AppData\Local\GOG.com\Galaxy\plugins\installed\battlenet_ba170431-0649-482f-863b-d248592f1842\plugin.py", line 129, in install_game
    self.local_client.install_game(game_id)
  File "C:\Users\Delder\AppData\Local\GOG.com\Galaxy\plugins\installed\battlenet_ba170431-0649-482f-863b-d248592f1842\local_client_base.py", line 108, in install_game
    game = Blizzard[id]
  File "C:\Users\Delder\AppData\Local\GOG.com\Galaxy\plugins\installed\battlenet_ba170431-0649-482f-863b-d248592f1842\definitions.py", line 115, in __getitem__
    raise KeyError()
KeyError
2020-05-12 11:36:02,688 - galaxy.task_manager - DEBUG - Task manager plugin external: finished task 9 (install_game)
2020-05-12 11:36:02,688 - galaxy.task_manager - DEBUG - Task manager jsonrpc server: finished task 7 (install_game)

Go to ROC page -> Click Play

2020-05-12 11:36:38,018 - galaxy.api.jsonrpc - DEBUG - Received 69 bytes of data
2020-05-12 11:36:38,018 - galaxy.api.jsonrpc - INFO - Handling notification: method=launch_game, params={'game_id': 'w3ROC'}
2020-05-12 11:36:38,018 - galaxy.task_manager - DEBUG - Task manager jsonrpc server: creating task 8 (launch_game)
2020-05-12 11:36:38,018 - galaxy.task_manager - DEBUG - Task manager plugin external: creating task 10 (launch_game)
2020-05-12 11:36:38,018 - root - INFO - Launching game of id: w3ROC, <local_games.InstalledGame object at 0x0475FDD0> at path D:\Games\Warcraft III\Warcraft III.exe
2020-05-12 11:36:38,019 - root - ERROR - Launching game w3ROC failed: [WinError 2] The system cannot find the file specified
Traceback (most recent call last):
  File "C:\Users\Delder\AppData\Local\GOG.com\Galaxy\plugins\installed\battlenet_ba170431-0649-482f-863b-d248592f1842\plugin.py", line 195, in launch_game
    subprocess.Popen(os.path.join(game.install_path, game.info.exe))
  File "D:\obj\Windows-Release\37win32_Release\msi_python\zip_win32\subprocess.py", line 775, in __init__
  File "D:\obj\Windows-Release\37win32_Release\msi_python\zip_win32\subprocess.py", line 1178, in _execute_child
FileNotFoundError: [WinError 2] The system cannot find the file specified
2020-05-12 11:36:38,019 - galaxy.task_manager - DEBUG - Task manager plugin external: finished task 10 (launch_game)
2020-05-12 11:36:38,019 - galaxy.task_manager - DEBUG - Task manager jsonrpc server: finished task 8 (launch_game)

Go to TFT page -> Click Play

2020-05-12 11:37:02,192 - galaxy.api.jsonrpc - DEBUG - Received 69 bytes of data
2020-05-12 11:37:02,192 - galaxy.api.jsonrpc - INFO - Handling notification: method=launch_game, params={'game_id': 'w3tft'}
2020-05-12 11:37:02,193 - galaxy.task_manager - DEBUG - Task manager jsonrpc server: creating task 9 (launch_game)
2020-05-12 11:37:02,193 - galaxy.task_manager - DEBUG - Task manager plugin external: creating task 11 (launch_game)
2020-05-12 11:37:02,193 - root - INFO - Launching game of id: w3tft, <local_games.InstalledGame object at 0x04019FF0> at path D:\Games\Warcraft III\Warcraft III.exe
2020-05-12 11:37:02,193 - root - ERROR - Launching game w3tft failed: [WinError 2] The system cannot find the file specified
Traceback (most recent call last):
  File "C:\Users\Delder\AppData\Local\GOG.com\Galaxy\plugins\installed\battlenet_ba170431-0649-482f-863b-d248592f1842\plugin.py", line 195, in launch_game
    subprocess.Popen(os.path.join(game.install_path, game.info.exe))
  File "D:\obj\Windows-Release\37win32_Release\msi_python\zip_win32\subprocess.py", line 775, in __init__
  File "D:\obj\Windows-Release\37win32_Release\msi_python\zip_win32\subprocess.py", line 1178, in _execute_child
FileNotFoundError: [WinError 2] The system cannot find the file specified
2020-05-12 11:37:02,194 - galaxy.task_manager - DEBUG - Task manager plugin external: finished task 11 (launch_game)
2020-05-12 11:37:02,194 - galaxy.task_manager - DEBUG - Task manager jsonrpc server: finished task 9 (launch_game)

For ROC/TFT it looks like it's complaining since the new Warcraft III folder has Warcraft III Launcher.exe instead Warcraft III.exe. Inside the x86_64 folder there is a Warcraft III.exe however.

Hope this helps. I can try and uninstall/reinstall fresh, but it'll take some time.

And for those interested, from what I've read the only way to get the old launchers/exes working is through one of the following manually. At least with the latest update to GOG Galaxy you can link up an alternate executable for a game entry now:

https://us.forums.blizzard.com/en/warcraft3/t/omg-i-can-go-back-to-classic-tft-now-everyone-come-read-d/16355 https://www.youtube.com/watch?v=YQkelnmTOBE

Gelean commented 4 years ago

New folder structure:

Warcraft III folder

nightblade9 commented 2 years ago

I have the same issue today. Game doesn't even show up in GOG even though it's installed and updated. Are there any updates on this issue?

bartok765 commented 2 years ago

Hi @nightblade9 , not yet, I need to find some time to dig into that with the info provided by @Gelean .. Im sorry about that, not much time recently.

nightblade9 commented 2 years ago

No worries, something happened (I'm not sure what) and now the game appears normally for me.

bartok765 commented 2 years ago

Does it appear as playable if it is installed?

nightblade9 commented 2 years ago

Yes, I can launch and play it fine. I wonder if it was just an issue with synching games (GOG Galaxy seems to have those issues, even with other plugins).