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
boggydigital: GoodOfflineGames.
avatar
phaolo: Woa how is it, compared to gogrepo?
I never tried gogrepo, so can't compare and as a developer of GoodOfflineGames - I'm biased ;-).

Few comments above suggest that currently gogrepo doesn't support new two factor auth, GoodOfflineGames does and I'd expect it should be easy to implement if an application already supports GOG.com login/password authentication - so other apps might get there soon.
avatar
boggydigital: I never tried gogrepo, so can't compare and as a developer of GoodOfflineGames - I'm biased ;-)
Oh lol, I didn't read it XD
Anyway, good job to you guys that create such useful tools for the community ; )
avatar
boggydigital: GoodOfflineGames does [support new two factor auth] and I'd expect it should be easy to implement if an application already supports GOG.com login/password authentication - so other apps might get there soon.
I’m pretty sure Sude would be really happy to get some help in adding support for this feature to lgogdownloader ;)

GOG forum thread:
https://www.gog.com/forum/general/lgogdownloader_gogdownloader_for_linux/post1

github repo:
https://github.com/Sude-/lgogdownloader

Thanks in advance!
avatar
nightcraw1er.488: Just download each game as you buy them. Simple. I do this, have a HDD in the machine, then a routine 3 month back up system on that - although I will add a raid backup external to the machine to complement this process.
avatar
timppu: That doesn't work for me as I quite often purchase the games while I am at work, and I don't keep the external HDD always with me. So I'd need to remember to download them after I get home.

Also, even a bigger problem is trying to keep your old games up to date, tracking what GOG has updated, what files have changed etc. Especially this is much easier with e.g. gogrepo.py, it does all that crosschecking for you, even for updated items that GOG may have updated silently, without setting an update flag (or then you have accidentally removed that flag yourself by checking the game files without downloading them).

Third thing, gogrepo.py offers an easy way to check the integrity of all your GOG files, so that they haven't become corrupted at any point. That's quite handy too.

avatar
cogadh: I think GOG's new two-factor authentication breaks it (if you have it enabled). After I turned it on, the script fails at login.
avatar
timppu: Disable it when you want to run the script without existing cookies, and enable it back after you're done, if you want. Problem solved. :)

Good thing GOG made that feature optional, I was expecting it might affect these tools, including GOG's own legacy Downloader which they don't support anymore. Maybe the gogrepo script could also be modified to work even with the two-step login, by prompting the user for the code in case you don't have valid cookies yet?
Well, the first question there is why are you buying games at work :o) but seriously, just wait till you get home and buy them. As for keeping up to date, its no big issue, log in once in a while check what the updates are and download the necessary ones. Unless your buying indev stuff, and why would you, there isn't that many patches and new releases.
avatar
vv221: I’m pretty sure Sude would be really happy to get some help in adding support for this feature to lgogdownloader ;)
I took a brief look at lgogdownloader git repo and I believe they're using GOG Downloader API, which uses OAuth based authentication. My app used that earlier, but given that API is not really publicly documented or supported, I decided to change the other flow that is basically the same as GOG.com site uses in the browser.

Quite unfortunately those two have nothing in common...
avatar
boggydigital: I took a brief look at lgogdownloader git repo and I believe they're using GOG Downloader API, which uses OAuth based authentication. My app used that earlier, but given that API is not really publicly documented or supported, I decided to change the other flow that is basically the same as GOG.com site uses in the browser.

Quite unfortunately those two have nothing in common...
Well, at least I gave it a try ;P
Thanks anyway!
avatar
boggydigital: (…)
Looks like Sude managed to add support for two-step authentification to lgogdownloader, I thought you might be curious about how it was done:
https://github.com/Sude-/lgogdownloader/commit/0be499d
avatar
nightcraw1er.488: Well, the first question there is why are you buying games at work :o)
- Privileges of being a white-collar worker. I don't work on the assembly line, having to ask the boss for a permission to pee in a bottle, or get some coffee. In fact, my current boss is located 6000 km away from me in a completely different time zone (it is already past noon for him when I get to work)... As long as I do the tasks assigned to me and no one complains, he seems content.

- Because GOG tends to launch their sales and promos when I am still at work.

avatar
nightcraw1er.488: As for keeping up to date, its no big issue, log in once in a while check what the updates are and download the necessary ones.
That's the hard part, figuring out what has changed, especially as it seems sometimes there are unreported changes, I don't know if the GOG update reporting system doesn't work reliably or they just don't report all changes. Sometimes the changes are also irrelevant to me, like changes to Mac versions.

I can skip all that by just telling gogrepo to do the checking for me. I ran it last night and I think it re-downloaded quite many updated installers for which I don't recall seeing any notification.

Also, the clean-option is a great way to track if GOG has silently removed some game (or versions of a game). Remember when people wondered why the number of games in their library had been reduced by one or more titles, and tried to figure out which game(s) exactly had vanished? Well, "gogrepo.py clean" tells you exactly what has become "obsolete" in your library, when crosschecking it against the online GOG library.

I tried to keep up with the updates earlier when I had like less than half of GOG games what I have now, and even back then I started to lag behind seriously, and at some point I couldn't really tell anymore what, if any, updates I might still be missing. Especially in cases where some separate patch has disappeared and an even newer version has been integrated to the main installer...

It is a bit like with my Humble Bundle DRM-free PC and Android-installers. If I want to make sure I have all the latest version, it seems easiest just to redownload them all one by one. as checking manually which have a newer version on the HB servers is just too much damn work. I think I've redownloaded my whole HB Android game installer collection all over again like 5 times, to make sure I have them all and up to date...

To each his own of course, glad you can manage fine without such a tool. :)
Post edited March 12, 2016 by timppu
avatar
vv221: Looks like Sude managed to add support for two-step authentification to lgogdownloader
Nice! Thanks for sharing, I skimmed through the code and it's surprisingly similar to what's happening in the browser (this specific part is) - so I guess GOG basically presents the web page to enter the code regardless of initial authentication method.
gogrepo has support for two-step authentication [post]

reCAPTCHA is another issue.

EDIT: I just had to wait roughly 15 minutes, and I could login without reCAPTCHA message.
Post edited August 19, 2017 by solar_dome