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

×
Here's a preview of what I've been working on for a few days now
https://gfycat.com/EnviousInstructiveEland

The code for that is full of hacks to get it running so it will take some time to get it fully working.
I'll try to cleanup the code and release a patch for testing in the near future.
lgogdownloader downloads the installer for the Kathy Rain demo, but it throws HTTP 404 errors for the XML files:

HTTP ERROR: 404 (http://wpc.11DF.edgecastcdn.net/0011DF/secure/kathy_rain/win/setup_kathy_rain_demo_2.0.0.1.exe.xml?XXXXXXXXXXXXXXX&fileExtForIe=.exe)

(same error for the German version)

and a subsequent run of lgogdownloader --status for the game not surprisingly lists MD5 errors (after throwing the same HTTP 404 error).

Does that mean that GOG does not provide an MD5 sum for the installer?

Or would an update of lgogdownloader fix that problem? I'm at version 2.27.519cb78.
avatar
Sude: Here's a preview of what I've been working on for a few days now
Does that mean parallel downloads of the installers of a game? Is your GOG mirror that slow that it gives you an advantage?

I guess I'm lucky with my mirror then, it usually is faster than my external hard drive, already with a single download. :)
avatar
Sude: Here's a preview of what I've been working on for a few days now
avatar
eiii: Does that mean parallel downloads of the installers of a game? Is your GOG mirror that slow that it gives you an advantage?

I guess I'm lucky with my mirror then, it usually is faster than my external hard drive, already with a single download. :)
In my case, it's my Internet connection that's slow (5MBit/800Kbit) and I have lgogdownloader throttled to 300K because I'm still trying to figure out how to make traffic shaping work properly in the router.
LGOGDownloader 2.28
- Fixed compiling with JsonCpp 1.7.1
- Moved GOG website related members of Downloader class to new Website class
* Downloader::HTTP_Login --> Website::Login
* Downloader::getGames --> Website::getGames
* Downloader::getFreeGames --> Website::getFreeGames
* Downloader::getGameDetailsJSON --> Website::getGameDetailsJSON
* Getting wishlist details was split from Downloader::showWishlist to Website::getWishlistItems function
- Moved login checks from the login function to their own functions
- Added function to check if user is logged in to GOG website
* Website::IsLoggedIn
- Changed gameFile format and gamedetails cache format
* gameFile now contains gamename and file type info
* Game details cache format has been changed to match gameFile changes
* Cache has a new "gamedetails-cache-version" field that can be used to detect cache format changes
- Fixed downloading language packs with file id
- Started using CURLOPT_XFERINFOFUNCTION instead of deprecated CURLOPT_PROGRESSFUNCTION
* libcurl >= 7.32.0 is required

https://sites.google.com/site/gogdownloader/lgogdownloader-2.28.tar.gz

sha256: 551aa431a1a8d1123fc68dd7504368a7b9f07da5108236a4b91d0d10d67dd16e
md5: b182359d436a4ad79d1be70836428e13
avatar
eiii: lgogdownloader downloads the installer for the Kathy Rain demo, but it throws HTTP 404 errors for the XML files:

HTTP ERROR: 404 (http://wpc.11DF.edgecastcdn.net/0011DF/secure/kathy_rain/win/setup_kathy_rain_demo_2.0.0.1.exe.xml?XXXXXXXXXXXXXXX&fileExtForIe=.exe)

(same error for the German version)

and a subsequent run of lgogdownloader --status for the game not surprisingly lists MD5 errors (after throwing the same HTTP 404 error).

Does that mean that GOG does not provide an MD5 sum for the installer?

Or would an update of lgogdownloader fix that problem? I'm at version 2.27.519cb78.
404 error on xml data means that GOG is missing the xml data so updating won't fix the issue.
You should report the missing xml data to support or post about it in the "what did just break?" thread

avatar
eiii: Does that mean parallel downloads of the installers of a game? Is your GOG mirror that slow that it gives you an advantage?

I guess I'm lucky with my mirror then, it usually is faster than my external hard drive, already with a single download. :)
That does indeed mean parallel downloads.

I usually max out my connection when downloading from GOG so it isn't that useful for me.
But people have been requesting parallel downloads for a while now so when I had some free time I decided to try multithreading the download logic.
avatar
Sude: LGOGDownloader 2.28
..
* libcurl >= 7.32.0 is required
Is libcurl 7.32.0 really necessary?

Current level for CentOS 7.1 is 7.29-25 :-(

Edit (solution):
- add the correct RHEL7 city-fan.org yum repo and you will get the most recent curl version (alongside some other, unrelated updates for installed software). GPG key will be added during yum update (GPG Key: http://mirror.city-fan.org/ftp/contrib/CITY-FAN.ORG-GPG-KEY )

Install the city-fan.org repository:
rpm -uvh http://www.city-fan.org/ftp/contrib/yum-repo/rhel7/x86_64/city-fan.org-release-1-13.rhel7.noarch.rpm

Update system, curl (and a many other packages should be added / replaced):
yum update
Post edited May 05, 2016 by coffeecup
Picked a bad time to update my PGP key!

I've signed the repo, but the default pacman keyserver hasn't picked up the subkey I signed it with yet, even though I keep pushing to it >.<

Change your pacman-keys keyserver to hkp://keyserver.ubuntu.com if you're having trouble updating from the repo. This setting is in /etc/pacman.d/gnupg/gpg.conf

The signing key is 956E4176

MOVE ALONG NOTHING TO SEE HERE - default keyserver is up to date now. This should all be working fine for everyone.
Post edited May 05, 2016 by TheJoe
avatar
Sude: 404 error on xml data means that GOG is missing the xml data so updating won't fix the issue.
You should report the missing xml data to support or post about it in the "what did just break?" thread
Meanwhile the installer has been replaced by a newer version, this time with a checksum file. :)
Post edited May 05, 2016 by eiii
Here's a patch to add parallel downloads.
https://sites.google.com/site/gogdownloader/multithreaded_download_v1.diff

Use --threads option to set how many parallel downloads you want to run. The default is 4 threads.

There are some changes in the behavior of downloader:
- Serials and changelogs are saved and covers downloaded for all games that match the "--game" filter before any other files are downloaded.
- Automatic XML creation is run after all files are downloaded. Previously xml data was automatically created right after a download finished.
- The "--limit-rate" option sets rate limit for thread not global rate limit. So if you have 4 threads and set "--limit-rate" to 100 then each thread has a rate limit of 100 meaning that global limit is 400.
I fixed Sokolow's lgogd. It's now working fine.

Check it out: https://www.gog.com/forum/general/release_lgogdownloader_wrapper_mkii/page1

It allows you to use gog downloader links instead of terminal to download. Needs latest lgogdownloader to work.
avatar
Amadren: I fixed Sokolow's lgogd. It's now working fine.

Check it out: https://www.gog.com/forum/general/release_lgogdownloader_wrapper_mkii/page1

It allows you to use gog downloader links instead of terminal to download. Needs latest lgogdownloader to work.
I wasn't aware it was broken. Nobody reported anything and, while I use LGOGDownloader at least once a week, I forgot to update LGOGDownloader for the last six months or so because of my degree project.

I'm currently busy unwinding backlogged obligations, but I'll try to find room to merge in your changes as soon as possible. (Along with resuming the other plans sitting in the issue tracker.)
Post edited May 12, 2016 by ssokolow
avatar
Amadren: (…)
avatar
ssokolow: (…)
When I see posts like this, I am really proud to be part of the free software community ;)
avatar
ssokolow: I wasn't aware it was broken. Nobody reported anything and, while I use LGOGDownloader at least once a week, I forgot to update LGOGDownloader for the last six months or so because of my degree project.

I'm currently busy unwinding backlogged obligations, but I'll try to find room to merge in your changes as soon as possible. (Along with resuming the other plans sitting in the issue tracker.)
I wasn't aware that you still were wrking on lgogd_uri, the last commit was 10 months ago. Don't worry if you can't keep it up to date because of your exams, I'll take care of it ;)
Please add support for another language: Bulgarian.
Needed for one of the Sherlock Holmes games.
Thank you!