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
coffeecup: Reason why I mentioned the HTML format is, that GOG already emits the Changelog in HTML format in the JSON file (example: https://www.gog.com/account/gameDetails/1207666523.json).
Interesting file. Unfortunately I can only download it for games I already own and not from outside of my browser (at least I don't know how to do the user authentication outside of the browser).

I assume there is no such file which I can download without user authentication, right?

Is there also a JSON file which gives me the IDs of all the games I own?
Post edited March 07, 2016 by eiii
So I can't get lgogdownloader to download any DLC.

lgogdownloader --directory /mnt/storage/Games/GOG/ --download --game witcher --include dlc downloads nothing.

lgogdownloader --directory /mnt/storage/Games/GOG/ --download --game witcher downloads everything except DLC.

This is with both 2.26 and from git... did something break?

Edit: --list-details doesn't display DLC information.
Post edited March 07, 2016 by TheJoe
avatar
TheJoe: So I can't get lgogdownloader to download any DLC.
I do not own any Witcher game with DLCs, but have you tried to use the option --ignore-dlc-count?

avatar
TheJoe: This is with both 2.26 and from git... did something break?
If something is broken then probably the DLC count on GOGs site.
avatar
eiii: Is there also a JSON file which gives me the IDs of all the games I own?
I remember something like that being mentioned somewhere in MaGog thread
https://www.gog.com/forum/general/magog_a_search_engine_for_gog_games/page1

I considered using it in lgogdownloader for getting the game ids. However it only contained the id numbers without game title or name so it wasn't that useful for me.

edit: found it, it is: https://www.gog.com/user/data/games
https://www.gog.com/forum/general/magog_a_search_engine_for_gog_games/post709
Post edited March 07, 2016 by Sude
EDIT: Nevermind, should've read the thread.

Is it normal if I didn't get the Napoleonic Wars DLC after running "lgogdownloader --download --platform l --exclude i,c --game mount_blade_warband" even though I own it?
Post edited March 07, 2016 by GeneralFailer
avatar
TheJoe: So I can't get lgogdownloader to download any DLC.
avatar
eiii: I do not own any Witcher game with DLCs, but have you tried to use the option --ignore-dlc-count?

avatar
TheJoe: This is with both 2.26 and from git... did something break?
avatar
eiii: If something is broken then probably the DLC count on GOGs site.
I've tried --ignore-dlc-count. I'm not seeing any DLC on any title at all.
avatar
eiii: I do not own any Witcher game with DLCs, but have you tried to use the option --ignore-dlc-count?

If something is broken then probably the DLC count on GOGs site.
avatar
TheJoe: I've tried --ignore-dlc-count. I'm not seeing any DLC on any title at all.
Make sure you don't have dlcs excluded in the config file
grep exclude ~/.config/lgogdownloader/config.cfg
avatar
Sude: Make sure you don't have dlcs excluded in the config file
grep exclude ~/.config/lgogdownloader/config.cfg
Yeah, include is set to 'all' and exclude is just 'covers'.
avatar
Sude: ...
Just a note: looks like the new Two-Step login feature blocks lgogdowlader from working properly. If it is enabled you won't be able to login so downloads won't work.

https://www.gog.com/news/twostep_login_https_everywhere
Post edited March 09, 2016 by sbolokanov
avatar
TheJoe: Yeah, include is set to 'all' and exclude is just 'covers'.
Are you using cache?
grep use-cache ~/.config/lgogdownloader/config.cfg

If yes then update cache with the latest git version or use --ignore-dlc-count with --update-cache

If not then I'd be interested in json responses of Downloader::getGameDetailsJSON from debug build
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Debug
make
./lgogdownloader --ignore-dlc-count --list-details --game 'witcher_3' 3>&1 1>&2 2>&3 3>&- | sed -n '/DEBUG INFO (Downloader::getGameDetailsJSON)/,/DEBUG INFO/p' > getgamedetailsjson.txt

avatar
sbolokanov: Just a note: looks like the new Two-Step login feature blocks lgogdowlader from working properly. If it is enabled you won't be able to login so downloads won't work.

https://www.gog.com/news/twostep_login_https_everywhere
I just wrote some code to support two step login.
Unfortunately I haven't been able to properly test the code yet because I tested the incomplete code a few times which failed to login. This has caused recaptcha to appear on the login form so I can't test the code until recaptcha goes away.
Hopefully the recaptcha prompt goes away soon so I can test and clean up the code.
Post edited March 11, 2016 by Sude
0be499d Add support for two-step login
avatar
Sude: 0be499d Add support for two-step login
Well done ;)
avatar
Sude: 0be499d Add support for two-step login
Works for me. Thanks.
LGOGDownloader 2.27
- Changed build system to CMake (patch by: Sandy Carter)
- Fixed crash after login
- Added option to set automatic XML creation in config file
* --automatic-xml-creation
- Improved game specific config options
* Directory options can be overriden in game specific config file
* "platform" and "language" options allow using string to set them. Use "+" as separator to combine values and "," as separator to set priority.
* For example: this allows setting "language" to English, German and French with "en+de+fr" which is much easier to understand than setting it to "7"
- Improvements to orphan detection (patch by: Thomas J. Moore)
* blacklist applies to installed files only; use ignorelist for orphans
* blacklisted but present items are orphans, as they should be
* use exact matching for file paths: files in wrong location are orphans
* See man page for more details on how to use ignorelist
- Apply blacklist to status checker to avoid some spurious ND messages (patch by: Thomas J. Moore)
- Use cerr for password prompts, error messages, rolling status messages, and other stuff that shouldn't clutter saved stdout. (patch by: Thomas J. Moore)
- Reduce the amount of HTTP requests
* This also slightly speeds up getting game details for games with DLC
- Added option to save changelogs when downloading
* --save-changelogs
- Added support for two-step login

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

sha256: 065132d1079322fa60de8d319ef0fc0a15efbd340f4a02b5b2df21be27d3aff1
md5: 395884f93f99274c0834f66f7d016b60

tar -xvzf lgogdownloader-2.27.tar.gz
cd lgogdownloader-2.27
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
make
sudo make install
jsoncpp updated recently and obviously Arch snapped it up almost immediately. Both building and running lgogdownloader is now broken, even from git:

/home/joe/Packages/aur4/lgogdownloader-git/src/lgogdownloader/src/util.cpp: In function ‘void Util::getDownloaderUrlsFromJSON(const Json::Value&, std::vector<std::__cxx11::basic_string<char> >&)’:
/home/joe/Packages/aur4/lgogdownloader-git/src/lgogdownloader/src/util.cpp:391:48: error: conversion from ‘Json::Value::const_iterator {aka Json::ValueConstIterator}’ to non-scalar type ‘Json::ValueIterator’ requested
for(Json::ValueIterator it = root.begin() ; it != root.end() ; ++it)
^
CMakeFiles/lgogdownloader.dir/build.make:158: recipe for target 'CMakeFiles/lgogdownloader.dir/src/util.cpp.o' failed
make[2]: *** [CMakeFiles/lgogdownloader.dir/src/util.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/lgogdownloader.dir/all' failed
make[1]: *** [CMakeFiles/lgogdownloader.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...

joe@corbyn ~/Packages/aur4/lgogdownloader-git (git)-[master] % lgogdownloader --directory /mnt/storage/Games/GOG/ --download --ignore-dlc-count --game tentacle
terminate called after throwing an instance of 'Json::RuntimeError'
what(): ConstIterator to Iterator should never be allowed.
[1] 8008 abort (core dumped) lgogdownloader --directory /mnt/storage/Games/GOG/ --download --game tentacle

Will pop an issue on github for the better formatting.

Edit: Should also have mentioned that my issue with DLC downloading seemingly fixed itself. Flushed the cache and ran with --ignore-dlc-count and it downloads DLC fine now. Sorry I couldn't get any better data from this issue, but at least we have a solution for when DLCs randomly downloading for people.
Post edited March 25, 2016 by TheJoe