UncleGoogle / galaxy-integration-humblebundle

Humble Bundle integration for GOG Galaxy 2.0
GNU General Public License v3.0
188 stars 18 forks source link

Provide GUI to match installed game paths. #9

Closed UncleGoogle closed 4 years ago

UncleGoogle commented 5 years ago

Not all games can be discovered (at least on windows) #8

Beside autodetected installed games, some of them will be still shown as uninstalled.

Ideas how to deal with the rest of games:

  1. simple config file
  2. open CEF GUI just after humblebundle authentication (as NextStep)
    • call for owned games (and local games autodetection) and then render list of games to match.
    • problem: get_owned_games/get_local_games can lasts longer - it is better to fetch by JS. Or - port it somehow between python and JS.
    • alternatively, scrap hb page, then do auto-detection, and then, next to game names, render buttons with linked system file prompt.
    • return answer as cookies.
  3. on clicking Install button always show small prompt with 2 options: download or point to game exe/folder.
  4. ask Galaxy to add feature where additional actions under ... submenu can be added. Then link "point to game" there.

What do you think, community?

UncleGoogle commented 5 years ago

If this feature: gogcom/galaxy-integrations-python-api/issues/58 is shipped, the game location will be handled by Galaxy window:

This will also make the planned downloader simpler: https://github.com/UncleGoogle/galaxy-integration-humblebundle/milestone/2

Danyelalejandro commented 4 years ago

I don't know @UncleGoogle I am trying editind the congfig.ini file in order to detect installed games, but it detected just a few and not all installed games. What happened?

what are you talking about when you say: "_Installed games: use only Windows registry scan; edit searchpaths to enable directory scaning feature" I didn't find the search paths you are talking about. Thanks

UncleGoogle commented 4 years ago

@Danyelalejandro Windows registry is searched for installed games. But not all games can be detected in this way. Additionally you can define search_path in config file https://github.com/UncleGoogle/galaxy-integration-humblebundle/blob/master/src/config.ini

Then game folders defined there will be searched for subfolders with names of your owned games in humble. For example: "search_path": "C:\\Games\\Humble" will detect games placed in this folder:

if you owned Anna's Quest and Observer on humblebundle

It is not a proper topic for further investigation, so if you have still problem with specific game, please create an issue.

UncleGoogle commented 4 years ago

Closing by #83