PhilipK / BoilR

Synchronize games from other platforms into your Steam library
Apache License 2.0
1.4k stars 40 forks source link

xCloud support #214

Open Marx1st opened 2 years ago

Marx1st commented 2 years ago

It would be great if BoilR cut get the available games from xCloud to add them to Steam individually.

PhilipK commented 2 years ago

This is one of those platforms that i would love to have as well.... but ... microsoft has made it quite difficult to make it work. As a starter, the directory the games are installed to, you don't have access to it, even as an admin in windows, that makes it really hard to find the games. Besides that, information about installed games is saved in a config file, but that file also contains information about every other UWP program installed on the machine, and there is really nothing that seperates them. The best thing to do, would have to be to make a xbox app, that is allowed to log into the users account and then see what the user recently played and then check if that is one of the installed "ids" in the file. I might come back to this, but for now, with the limited time I have, I am focusing on other platforms/problems.

Marx1st commented 2 years ago

I meant streamable games and playing them through Chrome :)

Microsoft has two APIs for this.

The first one returnes the games ids (adjust market, etc):

https://catalog.gamepass.com/sigls/v2?id=29a81209-df6f-41fd-a528-2ae6b91f719c&market=de&language=de

The second one uses the ids (comma seperated) to return details on the game:

https://displaycatalog.mp.microsoft.com/v7.0/products?bigIds=9MTTMQ6WSDP8,BT5P2X999VH2&market=US&languages=en-us&MS-CV=DGU1mcuYo0WMMp

The url to actually play the games has this format (the last part is the game id and again adjust "de-DE" to your market):

https://www.xbox.com/de-DE/play/games/BT5P2X999VH2

PhilipK commented 2 years ago

Hmm, that seems much more doable I can look into that.

On Thu, Aug 25, 2022 at 11:00 AM Marx1st @.***> wrote:

I meant streamable games and playing them through Chrome :)

Microsoft has two APIs for this.

The first one returnes the games ids (adjust market, etc):

https://catalog.gamepass.com/sigls/v2?id=29a81209-df6f-41fd-a528-2ae6b91f719c&market=de&language=de

The second one uses the ids (comma seperated) to return details on the game:

https://displaycatalog.mp.microsoft.com/v7.0/products?bigIds=9MTTMQ6WSDP8,BT5P2X999VH2&market=US&languages=en-us&MS-CV=DGU1mcuYo0WMMp

The url to actually play the games has this format (the last part is the game id and again adjust "de-DE" to your market):

https://www.xbox.com/de-DE/play/games/BT5P2X999VH2

— Reply to this email directly, view it on GitHub https://github.com/PhilipK/BoilR/issues/214#issuecomment-1226982063, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEE7DEXLA5G7IG26EWDP6LV24Y3HANCNFSM57QUZJYQ . You are receiving this because you commented.Message ID: @.***>