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
piranha1: I was just recreating the gog-cookies.dat file with login credentials, and received an e-mail from GOG with two step authentication code. Which worked, so everything seems to be in order.

But the e-mail was for some reason in some Asian language (I can't tell one alphabet from the other), fortunately the code was still in regular numbers.

Any idea why, and if the script has anything to do with that?
sometimes gog mess these things up. I randomly get site displayed in chinese and german, and once got message about activating a free game (during gog connect event) in russian. So yeah - no need to worry, it just happens
As a headsup Crossroads Inn on Mac will probably have issues for the near future. The installer is in a multi-part archive zip for some bizarre reason and the python doesn't have native support for multi-file zips (nor any good module support that I've seen, they all rely on wrapping an outside program, if you've seen something better and that can do verification let me know).

I recommend adding an exclusion for crossroads inn to any verify commands you run on Mac ( -skip_ids crossroads_inn )
Post edited December 19, 2019 by Kalanyr
its may be obvious question, but can you update only part of your library? I mean - okay, we can use IDs/slugs to download only some games. But can same be performed for manifest synchronization part? Since it takes a while to make it know about all 350 games I own, which make no sense coz I only need to have like 10-20 installers at once

python ./gogrepo.py download -os windows -lang en -ids "metal_slug*" -skipgalaxy -skipextras
avatar
EdhelDil: to avoid the shell interpretation of the "*" and have the shell pass it directly to the python script
sounds logical, except it doesnt work:
no game with id in "['metal_slug*']" was found.
Post edited December 21, 2019 by Gekko_Dekko
Is anyone still actively maintaining any of the gogrepo repositories? I see that woolymethodman has a recent fix in his repository, but is otherwise undisturbed. Kalanyr has some merge requests ignored for many months.

I'm doing some small changes to this code and was wondering if I should care about the possibility of merging them upstream or just considering my own personal needs and break compatibility if convenient.
Kalanyr is working on a major rewrite, so I think that's why he isn't accepting merge requests right now.
avatar
JethCalark: Kalanyr is working on a major rewrite, so I think that's why he isn't accepting merge requests right now.
Do you have any recent news about it?
Because the last commit was more than one year ago..
high rated
I'm still alive and will fix critical issues which have a reasonable fix.

The rewrite changed the manifest format (to greatly increase the data stored) and I need to rewrite the parser, but that's a thing I really should do in a chunk and haven't found the block time (and obviously a new storage format without a parser is useless to the public or even most devs) . It also finished moving over to the new API under the hood as much as possible, so merging into the current public files now will almost certainly just cause merge conflicts for me later since the rewrite will be pre-merge.

I also need to consider dropping Python 2 (and doing some cleanup to take advantage of the new stuff in 3) as it's reaching EOL and possibly using a more computationally efficient storage for the manifest but I have to provide a mostly human readable/writable tool to a format like the existing one if I do that, and a different storage format might make some minor changes to the manifest form (I've got a graceless hack in the current format)

Edit - If I do drop Python 2 I'll want to leave a somewhat decent final version around for people for whom 3 isn't an option, just to be clear (and I'll still fix anything critical as much as possible).
Post edited January 06, 2020 by Kalanyr
Thanks Kalanyr, your update and hard work are very much appreciated.
I'll just point out that CentOS 7 has Python 3.6 available in the default repositories now. Not sure if it has all the fun modules yet, but even CentOS 7 seems to finally be moving away from "Python 2 only".
I'm OK with Python 3-only. UTF-8 makes things so much nicer!
Im trying to make a bash script that will install/update games based on info in gogrepo's manifest. Question - did anybody manage to get game's slug from gog-manifest.dat based on game's name, by using grep or jq?

I tried it by myself, but maybe my knowledge lacks or its not "just a json file" as I thought, since jq complains about the very first line (the one with '# X Games' on it)
It's not a json file. It's a string dump of a Python list containing a bunch of Python dicts (that are converted* to / from AttrDicts on load/save).
There appear to certain files that gogrepo isn't downloading correctly. One is from Starpoint Gemini 3, another is from Chernobylite. I download to one folder then import to another folder as a form of verification. After a dryrun there's regularly one file from each game that is still marked for download despite being present. These are .bin files and running the installer also treats them as missing. Downloading these in my browser gives me files that both import and install.
avatar
SKARDAVNELNATE: There appear to certain files that gogrepo isn't downloading correctly. One is from Starpoint Gemini 3, another is from Chernobylite. I download to one folder then import to another folder as a form of verification. After a dryrun there's regularly one file from each game that is still marked for download despite being present. These are .bin files and running the installer also treats them as missing. Downloading these in my browser gives me files that both import and install.
I haven't checked Startpoint Gemini 3 yet but I know there's an issue with the way GOG is listing the installers on Chernobylite at the moment. They've got 2 different installer sets with the same name listed as all being part of 1 installer set at the moment (not sure what they are supposed to be), furthermore most of the files are actually shared between them, so gogrepoc automatically cleans up the duplicate files, you'd have to rename files appropriately to get the second set to install. The oriignal gogrepo will effectively just randomly nuke files on multiple runs due to the name clashes.
avatar
SKARDAVNELNATE: There appear to certain files that gogrepo isn't downloading correctly. One is from Starpoint Gemini 3, another is from Chernobylite. I download to one folder then import to another folder as a form of verification. After a dryrun there's regularly one file from each game that is still marked for download despite being present. These are .bin files and running the installer also treats them as missing. Downloading these in my browser gives me files that both import and install.
Okay just checked Starpoint Gemini 3 and it seems fine to me. The GOG.com list is fine, md5 data is available for everything, all files download, the files verify both in gogrepo and internally, and they install fine. If you want to send me a PM we can talk about the issue here, as I suspect there's an MD5 issue here and I'll need to get the md5 of the file you're having issues with and ask for the matching information from your manifest.

gogrepo has a built in verifier that I would recommend using over your system, and gogrepoc remembers already verified files which makes things much quicker for ongoing maintenance.