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
eiii: The GOG servers have gotten slower and slower over the years, for me from initially half a second to 3 or 4 seconds per game lately. This change speeds up the process again to multiple games per second, despite the slower GOG servers. Amazing work!

But what are the newly added (between v3.9 and v3.11) zeros at the end of the filename lines? Like:

ND dreadful_river_demo setup_dreadful_river_demo_0.4.138.1_(64bit)_(63857).exe 0
ND imagine_earth_demo setup_imagine_earth_1.11.4.5788-gog-demo_(63810).exe 0

Is there any option to get rid of them?
That's file size which is completely unnecessary info because there is no file.
That should be fixed by 1981510
Hello,

I have trouble trying to (re)generate a token on my gentoo - a server without any GUI.
I am using the master branch of lgogdownloader (because I had some segfault due to curl)

lgogdownloader is issuing the following message:

> running lgogdownloader --use-cache --exclude patches --language fr+en --subdir-game %platform%/%gamename% --update-cache
> Email: [email]
> Password:
> Login form contains reCAPTCHA (G.com/recaptcha/)
> Try to login later or compile LGOGDownloader with -DUSE_QT_GUI=ON
> HTTP: Login failed
> Email: [...]


This quote indicate some step with the browser, but I don't see where I can find it?

avatar
Sude: The login form seems to contain reCAPTCHA code even when it isn't used
The downloader should now always try to login normally using libcurl
If login using normal method fails and the downloader is built with -DUSE_QT_GUI=ON and --enable-login-gui option is used then login is performed using QtWebEngine
If GUI is not enabled and reCAPTCHA code is detected then user will be prompted to login using browser and copy & paste the full response url which the downloader uses to get auth code and complete the login using libcurl
Is there an alternative way ?

+B
Post edited May 02, 2023 by baldurien
avatar
baldurien: Hello,

I have trouble trying to (re)generate a token on my gentoo - a server without any GUI.
I am using the master branch of lgogdownloader (because I had some segfault due to curl)

lgogdownloader is issuing the following message:

> running lgogdownloader --use-cache --exclude patches --language fr+en --subdir-game %platform%/%gamename% --update-cache
> Email: [email]
> Password:
> Login form contains reCAPTCHA (G.com/recaptcha/)
> Try to login later or compile LGOGDownloader with -DUSE_QT_GUI=ON
> HTTP: Login failed
> Email: [...]

This quote indicate some step with the browser, but I don't see where I can find it?

avatar
Sude: The login form seems to contain reCAPTCHA code even when it isn't used
The downloader should now always try to login normally using libcurl
If login using normal method fails and the downloader is built with -DUSE_QT_GUI=ON and --enable-login-gui option is used then login is performed using QtWebEngine
If GUI is not enabled and reCAPTCHA code is detected then user will be prompted to login using browser and copy & paste the full response url which the downloader uses to get auth code and complete the login using libcurl
avatar
baldurien: Is there an alternative way ?

+B
That message about reCAPTCHA is from versions before login code refactoring in c26e28a
Update to version 3.11 or latest master
Hi, so finally gave this a try, really liking it so far (saves me so much clicking).

Is there any way I can download only the DLC's?

So far my command is as follow which downloads both the game and DLC's: lgogdownloader --directory /home/jojo/HDD --exclude=e,p --language=en --platform l --download --game $gamename

Thanks :)
Post edited May 04, 2023 by Ganni1987
avatar
Ganni1987: Hi, so finally gave this a try, really liking it so far (saves me so much clicking).

Is there any way I can download only the DLC's?

So far my command is as follow which downloads both the game and DLC's: lgogdownloader --directory /home/jojo/HDD --exclude=e,p --language=en --platform l --download --game $gamename

Thanks :)
ed1a61e Improve include/exclude options
DLC files can now be included/excluded separately
Bumped game details cache version number

Game specific config file changes:
- "dlc" option is deprecated and will be ignored
- "include" option is added


New include/exclude options

Base game options:
Base game installers = bi|basegame_installers
Base game extras = be|basegame_extras
Base game patches = bp|basegame_patches
Base game language packs = bl|basegame_languagepacks|basegame_langpacks

DLC options:
DLC installers = di|dlc_installers
DLC extras = de|dlc_extras
DLC patches = dp|dlc_patches
DLC language packs = dl|dlc_languagepacks|dlc_langpacks

Helpers/combinations:
DLCs = d|dlc|dlcs (is equal to "di,de,dp,dl")
Basegame = b|bg|basegame (is equal to "bi,be,bp,bl")
All installers = i|installers (is equal to "bi,di")
All extras = e|extras (is equal to "be,de")
All patches = p|patches (is equal to "bp,dp")
All language packs = l|languagepacks|langpacks (is equal to "bl,dl")
All = all
i managed to get lgogdownloader working on wsl / debian.

It is downloading some .sh files, approximately the same size as the installers, but different builds. Any idea what these .sh files are and how to skip downloading them?

I've searched the thread / docs but could not find anything about this.

LE: Got it, it's the linux installer!
Post edited May 18, 2023 by mmihai
avatar
baldurien: Hello,

I have trouble trying to (re)generate a token on my gentoo - a server without any GUI.
I am using the master branch of lgogdownloader (because I had some segfault due to curl)

lgogdownloader is issuing the following message:

> running lgogdownloader --use-cache --exclude patches --language fr+en --subdir-game %platform%/%gamename% --update-cache
> Email: [email]
> Password:
> Login form contains reCAPTCHA (G.com/recaptcha/)
> Try to login later or compile LGOGDownloader with -DUSE_QT_GUI=ON
> HTTP: Login failed
> Email: [...]

This quote indicate some step with the browser, but I don't see where I can find it?

Is there an alternative way ?

+B
avatar
Sude: That message about reCAPTCHA is from versions before login code refactoring in c26e28a
Update to version 3.11 or latest master
Thanks!
It worked.
Hi fellows,
I get some exception before downloading using recent versions:
terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::substr: __pos (which is 18446744073709551615) > this->size() (which is 0)
[1] 147286 IOT instruction (core dumped) lgogdownloader --download ...

Last version that works for me in 3.11.b554894 (so that's an issue with "downloading game logo" PR).

Also I noticed a significant amount of repeatable 404 HTTP statuses, could be some change in GOG side
lgogdownloader-3.11.b554894 --download ... --game '^xenonauts'
Changelog unchanged. Skipping: /media/raid/Perso/programmes/GOG Downloads/xenonauts/changelog_xenonauts.html
Total size: 2.61 GB
2023-Jul-22 11:48:17 [Thread #0] Download complete: xenonauts_instructions.zip (@ 0.00kB/s)
2023-Jul-22 11:48:17 [Thread #0] Download complete: xenonauts_wallpapers.zip (@ 0.00kB/s)
2023-Jul-22 11:48:19 [Thread #0] Download complete (HTTP response code said error (404)): xenonauts_quickstart_guide.zip
2023-Jul-22 11:48:22 [Thread #0] Download complete (HTTP response code said error (404)): xenonauts_soundtrack.zip
2023-Jul-22 11:48:25 [Thread #0] Download complete (HTTP response code said error (404)): xenonauts_avatars.zip
2023-Jul-22 11:48:25 [Thread #0] Finished all tasks
#0: Finished
avatar
petchema: #0: Finished
GOG's CDN is having issues. We don't know what those issues are due to their amazing transparency policy. Things are as clear as the skies of Jupiter.
avatar
petchema: Hi fellows,
I get some exception before downloading using recent versions:
terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::substr: __pos (which is 18446744073709551615) > this->size() (which is 0)
[1] 147286 IOT instruction (core dumped) lgogdownloader --download ...

Last version that works for me in 3.11.b554894 (so that's an issue with "downloading game logo" PR).

Also I noticed a significant amount of repeatable 404 HTTP statuses, could be some change in GOG side
lgogdownloader-3.11.b554894 --download ... --game '^xenonauts'
Changelog unchanged. Skipping: /media/raid/Perso/programmes/GOG Downloads/xenonauts/changelog_xenonauts.html
Total size: 2.61 GB
2023-Jul-22 11:48:17 [Thread #0] Download complete: xenonauts_instructions.zip (@ 0.00kB/s)
2023-Jul-22 11:48:17 [Thread #0] Download complete: xenonauts_wallpapers.zip (@ 0.00kB/s)
2023-Jul-22 11:48:19 [Thread #0] Download complete (HTTP response code said error (404)): xenonauts_quickstart_guide.zip
2023-Jul-22 11:48:22 [Thread #0] Download complete (HTTP response code said error (404)): xenonauts_soundtrack.zip
2023-Jul-22 11:48:25 [Thread #0] Download complete (HTTP response code said error (404)): xenonauts_avatars.zip
2023-Jul-22 11:48:25 [Thread #0] Finished all tasks
#0: Finished
404 errors are most likely caused by the issues GOG has with their cdn
https://www.gog.com/news/update_on_technical_issues_affecting_downloading_and_updating_games

The cdn issue is what triggered the code to throw std::out_of_range.
lgogdownloader failed to get logo url and the code didn't have a check for not finding the file extension from logo url.
std::string::rfind returned std::string::npos which is out of range when trying to use it with std::string::substr

586b0b5 Assume .jpg extension for logo
Should fix core dump caused by failing to get file extension for logo
the wonders of CDNs...

Thanks for the replies!
Post edited July 24, 2023 by petchema
Hi, how dose this software handle old files (like old version)?
avatar
eh4548: Hi, how dose this software handle old files (like old version)?
As far as I know, no. You cannot use lgogdownloader to download older game versions.
I don't know even if this would be possible, maybe yes, as GOG Galaxy calls links to download and install older versions.
avatar
eh4548: Hi, how dose this software handle old files (like old version)?
avatar
.Keys: As far as I know, no. You cannot use lgogdownloader to download older game versions.
I don't know even if this would be possible, maybe yes, as GOG Galaxy calls links to download and install older versions.
i didnt meant that. i meant i downloaded files with lgogdownloader and lets say one of my games got an update and then what?
avatar
eh4548: i downloaded files with lgogdownloader and lets say one of my games got an update and then what?
The new installer is downloaded. The old installer is not deleted.