Posted August 23, 2024
sbaylus: Would this fix the following?
$ /usr/bin/lgogdownloader --update-cache --threads 8
Getting game names (46/46) 33 / 33
terminate called after throwing an instance of 'std::length_error'
what(): basic_string::_M_replace
Aborted
Yes, that should fix it. $ /usr/bin/lgogdownloader --update-cache --threads 8
Getting game names (46/46) 33 / 33
terminate called after throwing an instance of 'std::length_error'
what(): basic_string::_M_replace
Aborted
GOG started to use Fastly CDN for the offline installers and the url formatting for them is different than what lgogdownloader was expecting.
The downloader was missing some checks with string handling which caused the length error.
This was the original fix for it
52b8bdc Fix galaxyAPI::getPathFromDownlinkUrl with Fastly CDN urls
I made some more improvements to it with 6556dc6
I'll bump the version number and do a new release probably later today or tomorrow.
Post edited August 23, 2024 by Sude