eniklas / gamatrix

Inspect GOG DBs and report the games in common between them
Mozilla Public License 2.0
11 stars 3 forks source link

Autodetect number of players supported #18

Closed eniklas closed 3 years ago

eniklas commented 3 years ago

See if you can query something like IGDB or Mobygames to get this info.

eniklas commented 3 years ago

https://api-docs.igdb.com/#multiplayer-mode looks promising.

eniklas commented 3 years ago

This is done as of 8cec957, still need to test.

eniklas commented 3 years ago

This is working for Steam games with IGDB. Max players for a title is determined in this order of precedence:

Options have been added to the web UI and CLI to include or exclude 0-player games.

I'll go through the multiplayer games that don't have max players in IGDB and contribute those numbers to IGDB where possible, and add them to the config file otherwise.

I'll open a separate issue to look into getting data for other platforms.