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
Kalanyr: No, if you don't use them yourself there's no use to keeping the MD5 xml files, and they will slow things down a bit. They are provided as a service for people who have some way to use them (you could use them to detect what specific part of a downloaded file is corrupted or to work out how much of a partially downloaded file remains to download, if you had the programming knowledge ). Gogrepoc always fetches a new version of these files from the server directly if they are needed, because they are never needed in a context when that isn't possible and making sure the metadata matches that on the server is super important for this.

ETA - gogrepoc always keeps the overall MD5 of each full file stored in the manifest, where that is available, so it can detect corruption on the file level, theoretically there's a risk of this going wrong at a level where the chunk verification doesn't, but because gogrepoc also checks the file sizes the chances of this happening are at the level where you're more likely to get hit by a meteor while getting struck by lightning while the meteor is also getting struck by lightning.
avatar
chalice: Thanks a lot Kalanyr for the explanation. I assume than that I better turn it off since the use case iseems to be using it with rsync or something similar. I got the background as a systems administrator but I´m definitely not a coder. Scripting and some debugging of code is the top of my proficiency. Will you by chance updete the readme for the options at github?
And I want to add a general thank you to you. Your code is a big help to me for years now.
Updating the readme is definiitely on my to do list but so are a lot of other things unfortunately.
avatar
tanukiretro: I pulled my copy of gogrepoc.py from github today (2025.06.13). I was seeing the following error when trying to login

> python ../gogrepoc.py login
You must use a GOG or GOG Galaxy account, Google/Discord sign-ins are not currently supported.
Username: xxxxxxxxx
Password:
15:33:37 | attempting Galaxy login as 'xxxxxxxxx' ...
15:33:39 | fatal...
Traceback (most recent call last):
File "../gogrepoc.py", line 4299, in <module>
main(process_argv(sys.argv))
File "../gogrepoc.py", line 4010, in main
cmd_login(args.username, args.password)
File "../gogrepoc.py", line 1850, in cmd_login
if token_data['totp_url'] is not None:
~~~~~~~~~~^^^^^^^^^^^^
KeyError: 'totp_url'

I was able to patch the code as follows:

diff gogrepoc/gogrepoc-2025.06.13/gogrepoc-main/gogrepoc.py gogrepoc.py
1850c1850,1855
< if token_data['totp_url'] is not None:
---
>
> totp_url = token_data.get('totp_url')
> #if token_data['totp_url'] is not None:
> if totp_url is not None:
> # Proceed with TOTP-related logic
> print(f"TOTP URL: {totp_url}")

I hope this helps anyone who runs into the same issue.
avatar
Kalanyr: Do you have an Authenticator setup ? Asking because I've got a GitHub report on a very similar issue but they said they did have an Authenticator but as far as I can tell this error should only occur for people without an Authenticator setup,
No Authenticator or MFA on my end.
If anyone is interested, I made a pull request to wrap gogrepoc in an appimage.

Just think of a single self-contained portable application that runs under 64 Bit Linux or Windows WSL2+ (if you install fuse, I added instructions how to do that in my documentation).

You just download it, mark it as executable and run it. No need for Python installation or configuration, as that has been taken care of the appimage.

I made a pull request under https://github.com/Kalanyr/gogrepoc/pull/150

If you want to test it, please read the README before building the appimage.
https://github.com/shakeyourbunny/gogrepoc/tree/main/contrib/appimage
Post edited June 18, 2025 by coffeecup
Hello, I have "upgraded" the gogrepoc from master branch which says "last week" after a very long time (was using master version from 2023) and I have gotten this after running my syntax:

d:\Backup\GOG>gogrepoc.py update -os windows linux -lang en -ids the_lords_of_midnight
23:57:12 | loading local manifest...
23:57:12 | loading token...
23:57:12 | loading local resume manifest...
23:57:12 | Incompatible Resume Manifest Version Detected.
(D)iscard incompatible manifest or (A)bort? (D/d/A/a):

I have press Abort for now. I have still the old version from before, what shall I do to properly resume the manifest, or do I have to Discard it?

EDIT:

This is what I have in the gog-resume-manifest.dat file:

# 0 games
[{'complete': True,
'installers': 'standalone',
'lang_list': ['en'],
'os_list': ['windows', 'linux'],
'partial': False,
'skipknown': False,
'strict': False,
'strictDupe': False,
'updateonly': False}]
Post edited June 21, 2025 by MMLN
avatar
Kalanyr: Do you have an Authenticator setup ? Asking because I've got a GitHub report on a very similar issue but they said they did have an Authenticator but as far as I can tell this error should only occur for people without an Authenticator setup,
avatar
tanukiretro: No Authenticator or MFA on my end.
FWIW I'm starting to see GOG accounts with large collections targeted for hacking/sale, I strongly suggest you add MFA to your account ASAP. You have 449 games here, need to protect them!
avatar
tanukiretro: No Authenticator or MFA on my end.
avatar
Starkrun: FWIW I'm starting to see GOG accounts with large collections targeted for hacking/sale, I strongly suggest you add MFA to your account ASAP. You have 449 games here, need to protect them!
Would you be so kind as to elaborate? How would someone guess your email address (login) unless there was a data breach?
avatar
MMLN: Hello, I have "upgraded" the gogrepoc from master branch which says "last week" after a very long time (was using master version from 2023) and I have gotten this after running my syntax:

d:\Backup\GOG>gogrepoc.py update -os windows linux -lang en -ids the_lords_of_midnight
23:57:12 | loading local manifest...
23:57:12 | loading token...
23:57:12 | loading local resume manifest...
23:57:12 | Incompatible Resume Manifest Version Detected.
(D)iscard incompatible manifest or (A)bort? (D/d/A/a):

I have press Abort for now. I have still the old version from before, what shall I do to properly resume the manifest, or do I have to Discard it?

EDIT:

This is what I have in the gog-resume-manifest.dat file:

# 0 games
[{'complete': True,
'installers': 'standalone',
'lang_list': ['en'],
'os_list': ['windows', 'linux'],
'partial': False,
'skipknown': False,
'strict': False,
'strictDupe': False,
'updateonly': False}]
You can safely Discard that resume manifest, it's Complete/Empty...... I really should have checked for that possibility and automatically Discarded in that case.
Post edited June 23, 2025 by Kalanyr
avatar
MMLN: Hello, I have "upgraded" the gogrepoc from master branch which says "last week" after a very long time (was using master version from 2023) and I have gotten this after running my syntax:

d:\Backup\GOG>gogrepoc.py update -os windows linux -lang en -ids the_lords_of_midnight
23:57:12 | loading local manifest...
23:57:12 | loading token...
23:57:12 | loading local resume manifest...
23:57:12 | Incompatible Resume Manifest Version Detected.
(D)iscard incompatible manifest or (A)bort? (D/d/A/a):

I have press Abort for now. I have still the old version from before, what shall I do to properly resume the manifest, or do I have to Discard it?

EDIT:

This is what I have in the gog-resume-manifest.dat file:

# 0 games
[{'complete': True,
'installers': 'standalone',
'lang_list': ['en'],
'os_list': ['windows', 'linux'],
'partial': False,
'skipknown': False,
'strict': False,
'strictDupe': False,
'updateonly': False}]
avatar
Kalanyr: You can safely Discard that resume manifest, it's Complete/Empty...... I really should have checked for that possibility and automatically Discarded in that case.
Ok, thank you. New version for me works as intended now :)
Post edited June 24, 2025 by MMLN
I recently discovered that Galaxy allows to rename games.
Could it be possible to retrieve such info from Gog and use it for custom folder names for the offline installers?
Or can't gogrepoc even see such data?
avatar
phaolo: I recently discovered that Galaxy allows to rename games.
Could it be possible to retrieve such info from Gog and use it for custom folder names for the offline installers?
Or can't gogrepoc even see such data?
Hmmm, I'll have to see if it's available, I suspect it's locked to the Galaxy API though and that's not always available from the Account info ( but sometimes they are ). I dunno if that's a good source for the folder name because the folder name is the slug / shortname not the Long Name / Title (which is what the Editable name corresponds too )
Post edited June 27, 2025 by Kalanyr
A dictionary from slug to path(string) would enable a lot of different directory mappings.

If you could get the galaxy one when available, and use a one-to-one mapping as the default, it would open up a lot more options.
avatar
lupineshadow: A dictionary from slug to path(string) would enable a lot of different directory mappings.

If you could get the galaxy one when available, and use a one-to-one mapping as the default, it would open up a lot more options.
That's already doable, I proposed having gogrepoc autoamtically fix some of the "wrong" slugs eg the copy3 ones or the ones where they indicate the wrong game a couple of years but the general reception was fairly negative.
avatar
lupineshadow: A dictionary from slug to path(string) would enable a lot of different directory mappings.

If you could get the galaxy one when available, and use a one-to-one mapping as the default, it would open up a lot more options.
avatar
Kalanyr: That's already doable, I proposed having gogrepoc autoamtically fix some of the "wrong" slugs eg the copy3 ones or the ones where they indicate the wrong game a couple of years but the general reception was fairly negative.
Ono. But then, could it be made just as an optional parameter?

default: only use Gog's slugs
custom: use a mapping file with custom paths&names (warn & abort if file not found. Warn & fallback to a specific folder in case of missing entries, so new stuff will be easily recognizable)
Post edited July 04, 2025 by phaolo
avatar
coffeecup: If anyone is interested, I made a pull request to wrap gogrepoc in an appimage.

Just think of a single self-contained portable application that runs under 64 Bit Linux or Windows WSL2+ (if you install fuse, I added instructions how to do that in my documentation).

You just download it, mark it as executable and run it. No need for Python installation or configuration, as that has been taken care of the appimage.

I made a pull request under https://github.com/Kalanyr/gogrepoc/pull/150

If you want to test it, please read the README before building the appimage.
https://github.com/shakeyourbunny/gogrepoc/tree/main/contrib/appimage
Thank you for this
Does anyone else have problems loggin in via gogrepoc?
It says "Galaxy login failed" :(

I have the latest master version and the pw is correct.