It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
avatar
JTQuincy: Looks like the IDs changed again. Try:

CLUB_APPID = "f35adcb5-1911-440c-b1c9-48fdc1701c68"
CLUB_GENOME_ID = "5b36b900-65d8-47f3-93c8-86bdaa48ab50"
Thanks, this was really annoying me!
This works, thank you!
I think GoG & Ubisoft should sit down a minute and solve this issue once and for all. They are both in the same business so KISS for both ends.
avatar
JTQuincy: Looks like the IDs changed again. Try:

CLUB_APPID = "f35adcb5-1911-440c-b1c9-48fdc1701c68"
CLUB_GENOME_ID = "5b36b900-65d8-47f3-93c8-86bdaa48ab50"
avatar
MasterZoen: Thanks, this was really annoying me!
Thank you!! Can you or someone share where we can find these keys ourselves for the next time they inevitably update?
avatar
xendarq: Thank you!! Can you or someone share where we can find these keys ourselves for the next time they inevitably update?
They are in the browser's adress field when you log into your (edit: Ubisoft) account.
Post edited January 06, 2023 by neumi5694
avatar
MasterZoen: Thanks, this was really annoying me!
avatar
xendarq: Thank you!! Can you or someone share where we can find these keys ourselves for the next time they inevitably update?
You shouldn't be changing the IDs manually - the current version of the plugin fetches them automatically.

You can save the consts.py from here ( https://github.com/wearepariah/galaxy-integration-uplay/blob/master/src/consts.py ) or copy and paste the following into yours.

The ongoing issue is it still logs out eventually, and UbiConnect requires re-authorisation.

import os
from definitions import System, SYSTEM
import re
import requests
UBISOFT_REGISTRY = "SOFTWARE\\Ubisoft"
STEAM_REGISTRY = "Software\\Valve\\Steam"
UBISOFT_REGISTRY_LAUNCHER = "SOFTWARE\\Ubisoft\\Launcher"
UBISOFT_REGISTRY_LAUNCHER_INSTALLS = "SOFTWARE\\Ubisoft\\Launcher\\Installs"

if SYSTEM == System.WINDOWS:
UBISOFT_SETTINGS_YAML = os.path.join(os.getenv('LOCALAPPDATA'), 'Ubisoft Game Launcher', 'settings.yml')

UBISOFT_CONFIGURATIONS_BLACKLISTED_NAMES = ["gamename", "l1", '', 'ubisoft game', 'name']

CHROME_USERAGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36"
ids_url = 'https://ubisoftconnect.com/invalid'
ids_response = requests.get(ids_url)
regex_ids_response = re.findall('APP_ID.{0,40}|GENOME_ID.{0,40}', ids_response.text)

ids_result = []
for sub in regex_ids_response:
sub = sub.replace('"','')
if ':' in sub:
ids_result.append(map(str.strip, sub.split(':', 1)))

ids_result = dict(ids_result)

CLUB_APPID = ids_result.get('APP_ID','')
CLUB_GENOME_ID = ids_result.get('GENOME_ID','')

AUTH_PARAMS = {
"window_title": "Login | Ubisoft WebAuth",
"window_width": 460,
"window_height": 690,
"start_uri": f"[url=https://connect.ubisoft.com/login?appId={CLUB_APPID}&genomeId={CLUB_GENOME_ID}&lang=en-US&nextUrl=https:%2F%2Fconnect.ubisoft.com%2Fready]https://connect.ubisoft.com/login?appId={CLUB_APPID}&genomeId={CLUB_GENOME_ID}&lang=en-US&nextUrl=https:%2F%2Fconnect.ubisoft.com%2Fready[/url]",
"end_uri_regex": r".*rememberMeTicket.*"
}

def regex_pattern(regex):
return ".*" + re.escape(regex) + ".*"


AUTH_JS = {regex_pattern(r"connect.ubisoft.com/ready"): [
r'''
window.location.replace("https://connect.ubisoft.com/change_domain/");
'''
],
regex_pattern(r"connect.ubisoft.com/change_domain"): [
r'''
window.location.replace(localStorage.getItem("PRODloginData") +","+ localStorage.getItem("PRODrememberMe") +"," + localStorage.getItem("PRODlastProfile"));
'''
]}
Post edited January 08, 2023 by flawlesssoul
avatar
sean8102: NM I found it.

https://www.reddit.com/r/gog/comments/pjsdph/comment/htsh140/?utm_source=share&utm_medium=web2x&context=3

could you explain?

Ubi connect isn't working for me and IDK what "changing the two ID's" means.

Thanks
In this file:

C:\Users\****\AppData\Local\GOG.com\Galaxy\plugins\installed\uplay_afb5a69c-b2ee-4d58-b916-f4cd75d4999a\consts .py

Change this:

CLUB_APPID = "b8fde481-327d-4031-85ce-7c10a202a700"
CLUB_GENOME_ID = "fbd6791c-a6c6-4206-a75e-77234080b87b"

to this:

CLUB_APPID = "f35adcb5-1911-440c-b1c9-48fdc1701c68"
CLUB_GENOME_ID = "5b36b900-65d8-47f3-93c8-86bdaa48ab50"
avatar
JTQuincy: Looks like the IDs changed again. Try:

CLUB_APPID = "f35adcb5-1911-440c-b1c9-48fdc1701c68"
CLUB_GENOME_ID = "5b36b900-65d8-47f3-93c8-86bdaa48ab50"
excellent ... works grat !!! TNX
avatar
sean8102: NM I found it.

https://www.reddit.com/r/gog/comments/pjsdph/comment/htsh140/?utm_source=share&utm_medium=web2x&context=3

could you explain?

Ubi connect isn't working for me and IDK what "changing the two ID's" means.

Thanks
avatar
merlinwarage: In this file:

C:\Users\****\AppData\Local\GOG.com\Galaxy\plugins\installed\uplay_afb5a69c-b2ee-4d58-b916-f4cd75d4999a\consts .py

Change this:

CLUB_APPID = "b8fde481-327d-4031-85ce-7c10a202a700"
CLUB_GENOME_ID = "fbd6791c-a6c6-4206-a75e-77234080b87b"

to this:

CLUB_APPID = "f35adcb5-1911-440c-b1c9-48fdc1701c68"
CLUB_GENOME_ID = "5b36b900-65d8-47f3-93c8-86bdaa48ab50"
Works Great, Thanks buddie.
works! thanks!
avatar
JTQuincy: Looks like the IDs changed again. Try:

CLUB_APPID = "f35adcb5-1911-440c-b1c9-48fdc1701c68"
CLUB_GENOME_ID = "5b36b900-65d8-47f3-93c8-86bdaa48ab50"
The connection to ubisoft was successful, but in the gog-launcher can only fnd 8 of 82 games ....

I can not understand this.

AC Valhalla is shown, AC Origins and AC Oddyssey and much more is not shown in the gog-launcher.

Some weeks before everything was fine .......
Post edited March 15, 2023 by Caddie2908
avatar
JTQuincy: Looks like the IDs changed again. Try:

CLUB_APPID = "f35adcb5-1911-440c-b1c9-48fdc1701c68"
CLUB_GENOME_ID = "5b36b900-65d8-47f3-93c8-86bdaa48ab50"
avatar
Caddie2908: The connection to ubisoft was successful, but in the gog-launcher can only fnd 8 of 82 games ....

I can not understand this.

AC Valhalla is shown, AC Origins and AC Oddyssey and much more is not shown in the gog-launcher.

Some weeks before everything was fine .......
Hey! Try to install Ubisoft Connect Launcher on your PC and login to it, and retry gog games sync. It working for me.
Me it does the connection/disconnection thing but since I fixed the Steam integration thanks to this post, I do see all of my Ubisoft games (closed betas excluded).