Code Monkey home page Code Monkey logo

gog-galaxy-itch.io's Introduction

gog-galaxy-itch.io

There is also a version that supports showing all owned games, but some features of this version are not yet implemented there WebAPI version by tauqua

README

An integration for itch.io

It's a bit of a hack at the moment (hardcoded paths to the itch clients db, useless oauth2 signin), but hey it works. Please use the download via the releases page as the repo itself does not contain any dependencies. Also please note that you have to have the itch launcher installed at the default location!

Also feel free to create an issue if something doesn't work for you :)

Current Features

  • Show games installed through the itch client in Gog Galaxy 2
  • Launch games

Features planned to be added

  • Show (not yet installed) purchases in your library
  • Install purchased games

Installation

  1. Download the plugin from the releases page.
  2. Copy the downloaded ZIP to %LOCALAPPDATA%\GOG.com\Galaxy\plugins\installed which is the same location as C:\Users\USER\AppData\Local\GOG.com\Galaxy\plugins\installed, but the first one can be copy-pasted
  3. Unzip
  4. (Optional) Delete the zip to save space

Screenshots:

Screenshot of the integration

gog-galaxy-itch.io's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gog-galaxy-itch.io's Issues

Doesn't add game(s)

So I only own one game on itch.io (Escaped Chasm) but it doesn't show up using the integration.
I used the standard path for installing the itch.io app( AppData -> Local) and completed the login. Though I'm on Windows 7, might that be an issue?
Looking at the log, owned_games and local_games both return an empty list.

plugin-itch-fd0effe6-77d9-42bc-999d-a5a5c870c2a4 - Kopie.txt

Tooltip on games not showing itch logo

With the other integrations I've got installed, hovering over a game shows the logo of the platform and the name of the game. With the itch integration, it just shows the name of the game, with a blank space in place of where the logo would go.

Games installed "Not Compatible"

Many games installed through the itch client, including well known games, such as Night in the Woods, don't have a play button, but rather have a greyed out "Install" button that says "Not compatible" when highlighted. I am also unable to configure the game and point GoG to an exe.
Untitled

Wishing Sarah not launching (error message)

When I try to launch "Wishing Sarah" in Galaxy I get the error message that "TinySarah.exe" cannot be found even though it is there. Launches fine directly in the itch client or when I double click the exe.

Choose client

Would be awesome to be able to choose what you want to start in titles that have more to choose from.

For example: Seduce Me: Episode Series has 12 different "episodes". If you launch it directly from itch you get to choose which one you wanna launch. From Galaxy you.. don't. It automatically launches the first one.

Download Metadata and "cover"

When a itch.io game is in Galaxy, there is no Metadata aside from name. There is usually some form of image cover and metadata attached to the page. I've attached screenshots from Playnite which does the basic idea of what I'm going for.
cover
metadata

Game Time

When you click connect on the integration screen in Galaxy, the pop up says that game time is tracked as one of the features with this integration, but it doesn't seem to transfer time played from the itch client. I think it could be possible though, because when you click on a game in the itch client, there's a panel at the bottom showing hours played and last played.

I've attached a screenshot showing this: image

Crash

whenever i try to link my itch.io account the plugin crashes

Avoid infinite loop

I have the latest itch.io client installed and up to date version of Gog Galaxy.

I've authed successfully but the plugin seems to get stuck in a loop when trying to add the games. I now have about 100MB of logs all looking like this:

2020-06-06 16:33:23,148 - root - DEBUG - Game 378953 (These Lands) seems to be only cached, skipping...
2020-06-06 16:33:23,148 - root - DEBUG - Building game 379225 (Cook, Serve, Delicious! 2!!)
2020-06-06 16:33:23,149 - root - DEBUG - Game 379225 (Cook, Serve, Delicious! 2!!) seems to be only cached, skipping...
2020-06-06 16:33:23,149 - root - DEBUG - Building game 379700 (Destined)
2020-06-06 16:33:23,149 - root - DEBUG - Game 379700 (Destined) seems to be only cached, skipping...
2020-06-06 16:33:23,149 - root - DEBUG - Building game 380095 (Skeleton Song)

This seems to repeat endlessly, I've left it running about 20 minutes now.

I do have a lot of games as I just bought the latest itch.io bundle.

Some installed games are not visible

Hi,
So I'm having the issue of no games showing up. What seems to happen is when I manually run the "sync integrations" thing in the menu, it'll sync all the games into my list and I'll be able to see them... but when it finishes syncing they all disappear.
Happy to send log files etc if you can let me know what I need to send
Thanks

"Failed to start" Message

I've done everything I need to do (i.e. extracting the files in the plugins folder), but when i go into settings to connect my itch.io account, says that it "failed to start" and retrying doesn't help the issue either.

Please help.
image

No change in GOG?

Hi,

I've installed the plug in by unzipping the folder from the release page into the path given, but nothing has changed within GOG - there's no way to log in to my itch account, and searching for the plugin has no results?

The Itch launcher and GOG Galaxy are both installed in C as default.

Thanks!

Not showing games

My itch.io account apparently connects, but it doesn't show any games.

Unknown game title

Galaxy is ot recognizing the itch.io versions of "Headspun" and "Wishing Sarah". Wishing Sarah also cannot be found when searching for it in Galaxy so that's maybe a GOG problem but "Headspun" can be found and could get added as "other" inside of Galaxy.

Integration crashing

I have installed both through zip and github to fix the issue as well as using different versions of the integration.

Plugin has crashed?

Crashed

I don't know what's the problem. I tried it more times, but still the same problem.

Consider using butler instead of opening the sqlite3 DB?

My first worry is that opening the sqlite3 DB from python could corrupt it.

My second worry is that, doing stuff like querying the verdict is not really the recommended way to launch games. I'm releasing a butler upgrade soon that will no longer use that (old verdicts will be cleared out).

The interface at http://docs.itch.ovh/butlerd/master/#/ should be stable, it's already used by Playnite, there's a work-in-progress GameHub integration, etc.

I'm happy to help you get started!

No Results

After connecting I just get "no results" in the Galaxy client for Itch.io. It was this way when I first tried several months ago and i just assumed it wasn't working right at the time. Now there have been a couple more updates and it still isn't working for me.

Not working; no games listed

Hi,
yesterday fresh installation done. But no games listed.
An error reoccurs many times in the log file.

Log:
8:06:27,410 - root - DEBUG - Using proactor: IocpProactor 2020-12-12 18:06:27,412 - root - INFO - Using local address: 127.0.0.1:51477 2020-12-12 18:06:27,413 - root - INFO - Creating plugin for platform itch, version 0.1 2020-12-12 18:06:27,477 - root - DEBUG - Received 66 bytes of data 2020-12-12 18:06:27,478 - root - INFO - Handling request: id=0, method=get_capabilities, params={} 2020-12-12 18:06:27,478 - root - DEBUG - Sending data: {"jsonrpc": "2.0", "id": "0", "result": {"platform_name": "itch", "features": ["ImportGameTime", "LaunchGame", "UninstallGame", "ImportOwnedGames", "ImportInstalledGames"], "token": "e37760fe-0568-4abd-83b3-5d096c5c5489"}} 2020-12-12 18:06:27,479 - root - DEBUG - Task manager jsonrpc server: creating task 0 (drain) 2020-12-12 18:06:27,479 - root - DEBUG - Task manager jsonrpc server: finished task 0 (drain) 2020-12-12 18:06:27,590 - root - DEBUG - Received 75 bytes of data 2020-12-12 18:06:27,590 - root - INFO - Handling request: id=1, method=initialize_cache, params={'data': '****'} 2020-12-12 18:06:27,591 - root - DEBUG - Task manager plugin internal: creating task 0 (tick) 2020-12-12 18:06:27,591 - root - DEBUG - Sending data: {"jsonrpc": "2.0", "id": "1", "result": null} 2020-12-12 18:06:27,591 - root - DEBUG - Task manager jsonrpc server: creating task 1 (drain) 2020-12-12 18:06:27,591 - root - DEBUG - Task manager plugin external: creating task 0 (cfng) 2020-12-12 18:06:27,591 - root - DEBUG - Task manager jsonrpc server: finished task 1 (drain) 2020-12-12 18:06:27,592 - root - DEBUG - Checking for changes in the itch butler.db 2020-12-12 18:06:27,592 - root - DEBUG - Opening connection to itch butler.db 2020-12-12 18:06:27,592 - root - ERROR - Task manager plugin external: exception raised in task 0 (cfng) Traceback (most recent call last): File "C:\Users\USER\AppData\Local\GOG.com\Galaxy\plugins\installed\itch\galaxy\task_manager.py", line 17, in task_wrapper result = await coro File "C:\Users\USER\AppData\Local\GOG.com\Galaxy\plugins\installed\itch\itch.py", line 83, in check_for_new_games games_after = await self.get_games() File "C:\Users\USER\AppData\Local\GOG.com\Galaxy\plugins\installed\itch\itch.py", line 32, in get_games self.itch_db = sqlite3.connect(ITCH_DB_PATH) sqlite3.OperationalError: unable to open database file 2020-12-12 18:06:27,691 - root - DEBUG - Received 54 bytes of data 2020-12-12 18:06:27,692 - root - INFO - Handling request: id=2, method=ping, params={} 2020-12-12 18:06:27,692 - root - DEBUG - Sending data: {"jsonrpc": "2.0", "id": "2", "result": null} 2020-12-12 18:06:27,692 - root - DEBUG - Task manager jsonrpc server: creating task 2 (drain) 2020-12-12 18:06:27,692 - root - DEBUG - Task manager jsonrpc server: finished task 2 (drain) 2020-12-12 18:06:27,913 - root - DEBUG - Received 149 bytes of data 2020-12-12 18:06:27,914 - root - INFO - Handling request: id=3, method=init_authentication, params={'stored_credentials': '****'} 2020-12-12 18:06:27,914 - root - DEBUG - Task manager jsonrpc server: creating task 3 (init_authentication) 2020-12-12 18:06:27,914 - root - DEBUG - Task manager plugin external: creating task 1 (init_authentication) 2020-12-12 18:06:28,593 - root - DEBUG - Task manager plugin external: creating task 2 (cfng) 2020-12-12 18:06:28,593 - root - DEBUG - Checking for changes in the itch butler.db 2020-12-12 18:06:28,593 - root - DEBUG - Opening connection to itch butler.db 2020-12-12 18:06:28,594 - root - ERROR - Task manager plugin external: exception raised in task 2 (cfng) Traceback (most recent call last): File "C:\Users\USER\AppData\Local\GOG.com\Galaxy\plugins\installed\itch\galaxy\task_manager.py", line 17, in task_wrapper result = await coro File "C:\Users\USER\AppData\Local\GOG.com\Galaxy\plugins\installed\itch\itch.py", line 83, in check_for_new_games games_after = await self.get_games() File "C:\Users\USER\AppData\Local\GOG.com\Galaxy\plugins\installed\itch\itch.py", line 32, in get_games self.itch_db = sqlite3.connect(ITCH_DB_PATH) sqlite3.OperationalError: unable to open database file 2020-12-12 18:06:28,632 - root - DEBUG - Task manager plugin external: finished task 1 (init_authentication) 2020-12-12 18:06:28,633 - root - DEBUG - Sending data: {"jsonrpc": "2.0", "id": "3", "result": {"user_id": 000000000, "user_name": "xxxxxxxxxxx"}} 2020-12-12 18:06:28,633 - root - DEBUG - Task manager jsonrpc server: creating task 4 (drain) 2020-12-12 18:06:28,633 - root - DEBUG - Task manager jsonrpc server: finished task 3 (init_authentication)
....

and so on.

Undetected save files on the itch user [Windows]

A Short Hike, when launched by the Itch client, stores save data in the appdata folder belonging to the itch client's sandboxed user. However, when this plugin launches it, it reads the save data folder in the logged-in user's appdata folder instead. I imagine this problem will come up for other games that store data in appdata. Is this fixable? (I assume with program arguments or something)

Install instructions?

So uhm how do I install this? I've tried putting it in %localappdata%\GOG.com\Galaxy\plugins\installed and %localappdata%\GOG.com\Galaxy\plugins\downloaded to no joy.

"Unknown game" title

Hi, first of all thanks for making the itch.io integration, I was so happy to find it! I'm new to github so I'm sorry if I get something wrong. All of the games I installed on the itch.io client showed up in gog galaxy for me, but one of them appears as "Unknown game" as the title when it's supposed to be The Lady's Choice (https://seraphinite.itch.io/the-ladys-choice). The game does still launch properly though. When I click on the game page it comes up with "Sorry, we couldn't load the data. Retry", but that comes up for all the itch.io games too. It doesn't have an IGDB entry, but again it's not the only one. I've tried syncing integrations, disconnecting & reconnecting the itch.io integration and closing & reopening gog galaxy.

Simplified location in step 2 is incorrect

Looks like 3 days ago the path in step 2 was simplified to:

%LOCALAPPDATA%\AppData\Local\GOG.com\Galaxy\plugins\installed

However, this is incorrect. It should be:

%LOCALAPPDATA%\GOG.com\Galaxy\plugins\installed

Otherwise the \AppData\Local\ is redundant.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.