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

×
I have bought my first DLC and lgogdownloader did not display or download it with my usual options. I need to add the --ignore-dlc-count parameter.

Do I understand it correctly that when I have to use this parameter the DLC count on GOGs side is incorrect? If so is there a way to see that DLC counter outside of lgogdownloader so that I maybe could report the error and point Judas to it?
I can't seem to see my DLC with lgogdownloader. I've tried using --ignore-dlc-count, but I still don't get DLC.

I've tested it with Tales of Maj'Eyal, where I own the Ashes of Uhrok DLC, and with Mount and Blade: Warband where I own the Napoleonic Wars and Viking Conquest DLC's.

I'm using lgogdownloader 2.26 on Arch 64-bit.
avatar
hummer010: I can't seem to see my DLC with lgogdownloader. I've tried using --ignore-dlc-count, but I still don't get DLC.

I've tested it with Tales of Maj'Eyal, where I own the Ashes of Uhrok DLC, and with Mount and Blade: Warband where I own the Napoleonic Wars and Viking Conquest DLC's.

I'm using lgogdownloader 2.26 on Arch 64-bit.
Perhaps those games have their dlcs handled differently in the json output.
Could you post the json output for ToME to pastebin or something similar.

https://www.gog.com/account/gameDetails/1207666523.json

That should be the correct url for ToME unless GOG uses different id numbers for the store page and account page.
Something really unrelated, but - as I was sifting through the JSON output of ToME:

Would it be possible to dump the changelog - if available - to a HTML file, in a similar fashion of dumping available serial keys?
avatar
Sude: Perhaps those games have their dlcs handled differently in the json output.
Could you post the json output for ToME to pastebin or something similar.

https://www.gog.com/account/gameDetails/1207666523.json

That should be the correct url for ToME unless GOG uses different id numbers for the store page and account page.
Sorry for the late reply - I had forgotten that you requested this!

Here it is:

http://pastebin.com/U34SsNtt
avatar
hummer010: Sorry for the late reply - I had forgotten that you requested this!

Here it is:

http://pastebin.com/U34SsNtt
I didn't see anything out of the ordinary in the json and it was correctly parsed by the downloader.
I'm guessing there's something in the API responses that causes the issue.

API responses for API::getGameDetails from debug build would be helpful

mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Debug
make
./lgogdownloader --ignore-dlc-count --list-details --game '^tales_of_majeyal$' 3>&1 1>&2 2>&3 3>&- | sed -n '/DEBUG INFO (API::getGameDetails)/,/DEBUG INFO/p' > getgamedetails.txt
Post edited March 04, 2016 by Sude
I don't know if there's a bug at all maybe just some fluke in the setup of hummer?
Because when I do ./lgogdownloader --ignore-dlc-count --list-details --game "tales_of_majeyal" it does list both of the dlc and my backup folder on the nas (where I use lgogdownloader to backup my games) also has several versions of the dlcs in it's folder so I guess it's been working for some time...
(also on version 2.26 and also arch linux 64-bit)

Here's the output:
./lgogdownloader --ignore-dlc-count --list-details --game "tales_of_majeyal"
Getting game info 1 / 1
gamename: tales_of_majeyal
title: Tales of Maj'Eyal
icon: http://static.gog.com/upload/images/2014/11/911af0d6372e478985f6472499902b7e62eba4fa.jpg
installers:
id: en1installer10
name: Windows Installer, English
path: /tales_of_majeyal/pc/setup_tales_of_majeyal_2.9.0.11.exe
size: 350.1
updated: True
language: English

id: en3installer8
name: Linux Installer, English
path: /tales_of_majeyal/linux/gog_tales_of_maj_eyal_2.10.0.13.sh
size: 748.5
updated: True
language: English

DLCs:
gamename: tales_of_majeyal_ashes_of_urhrok
id: en1installer7
name: Windows Installer, English
path: /tales_of_majeyal_ashes_of_urhrok_dlc/win/setup_ashes_of_urhrok_2.5.0.9.exe
size: 31.2
updated: True

gamename: tales_of_majeyal_ashes_of_urhrok
id: en3installer3
name: Linux Installer, English
path: /tales_of_majeyal_ashes_of_urhrok_dlc/linux/gog_tales_of_maj_eyal_ashes_of_urh_rok_2.5.0.10.sh
size: 55.9
updated: True

gamename: tales_of_majeyal_embers_of_rage
id: en1installer2
name: Windows Installer, English
path: /tales_of_majeyal_embers_of_rage_dlc/win/setup_tales_of_majeyal_embers_of_rage_2.2.0.3.exe
size: 140.3
updated: True

gamename: tales_of_majeyal_embers_of_rage
id: en3installer2
name: Linux Installer, English
path: /tales_of_majeyal_embers_of_rage_dlc/linux/gog_tales_of_maj_eyal_embers_of_rage_2.1.0.3.sh
size: 303.2
updated: True
Post edited March 04, 2016 by mchack
It's got to be something F'ed on my end. I can't see any DLC at all. I didn't realize I owned as many as I do!

Edit:

Uninstalled lgogdownloader
rm -rf ~/.config/lgogdownloader
rebuilt / installed lgogdownloader

Everything is working now. Thanks Sude & mchack. Happily downloading new versions of DLC.
Post edited March 04, 2016 by hummer010
avatar
coffeecup: Would it be possible to dump the changelog - if available - to a HTML file, in a similar fashion of dumping available serial keys?
That indeed would be nice. But I would prefer a simple text file instead of an HTML file.
not sure if I'm doing something wrong, but can't get this to work :(

lgogdownloader --download-file realms_of_arkania_blade_of_destiny/installer_win_en
but this do: lgogdownloader --download --game realms_of_arkania_blade_of_destiny
Post edited March 07, 2016 by te_lanus
avatar
coffeecup: Would it be possible to dump the changelog - if available - to a HTML file, in a similar fashion of dumping available serial keys?
avatar
eiii: That indeed would be nice. But I would prefer a simple text file instead of an HTML file.
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).

It would be not much work to implement this, just sticking some HTML tags (<html><head><title>Changelog for game name</title><head><body> .. json data ... </body></html>) around it and call it a day.

Generating a text version of the Changelog would be simple as using lynx for it: lynx -dump changelog.html > changelog.txt
avatar
hummer010: It's got to be something F'ed on my end. I can't see any DLC at all.
no. i see the same issue ;)
turns out the culprit is --use-cache (or having the option enabled in the config file)
checking the cache file confirms that the DLC is not listed there.

Might it be that the DLC isn't recorded during --update-cache because the game needs --ignore-dlc-count ?
Would --update-cache & --ignore-dlc-count work together?
Or are there any side effects of using --ignore-dlc-count globally?

//edit:
ok, so it works when building the cache with:
--update-cache --ignore-dlc-count

after that I don't even need --ignore-dlc-count when doing
--list-details --game majeyal --use-cache
Post edited March 06, 2016 by immi101
avatar
te_lanus: not sure if I'm doing something wrong, but can't get this to work :(

lgogdownloader --download-file realms_of_arkania_blade_of_destiny/installer_win_en
avatar
te_lanus: but this do: lgogdownloader --download --game realms_of_arkania_blade_of_destiny
That's because the downloader doesn't support downloading with group ids at the moment
You'll need to get the file ids from --list-details output and use them instead.

avatar
immi101: no. i see the same issue ;)
turns out the culprit is --use-cache (or having the option enabled in the config file)
checking the cache file confirms that the DLC is not listed there.

Might it be that the DLC isn't recorded during --update-cache because the game needs --ignore-dlc-count ?
Would --update-cache & --ignore-dlc-count work together?
Or are there any side effects of using --ignore-dlc-count globally?

//edit:
ok, so it works when building the cache with:
--update-cache --ignore-dlc-count

after that I don't even need --ignore-dlc-count when doing
--list-details --game majeyal --use-cache
I've thought about setting --ignore-dlc-count automatically when --update-cache is used.
The problem is that --ignore-dlc-count causes lots of requests to GOG in a short time especially if user has lots of games on their account. This can cause GOG to start returning "403 Forbidden" for a while afterwards.

I've now made --update-cache override --ignore-dlc-count with ".*" in 173481a. Let me know if this causes issues and I'll revert it.

It would be best if GOG fixed the DLC count information.
Post edited March 06, 2016 by Sude
987e053 Add option to save changelogs

You can now save changelogs with --save-changelogs when downloading

The changelogs are saved in HTML format with filename "changelog_gamename.html"
DLC specific changelogs are saved to appropriate subdirectory with "changelog_dlcname.html" filename
Although DLC specific changelogs are supported I don't think GOG uses those. At least all DLCs that I own don't have DLC specific changelog.
Post edited March 06, 2016 by Sude
avatar
te_lanus: lgogdownloader --download-file realms_of_arkania_blade_of_destiny/installer_win_en
HTTP ERROR: 404 (https://api.gog.com/downloader2/installer/realms_of_arkania_blade_of_destiny/installer_win_en/?oauth_consumer_key=[..]
It is not a good idea to post URLs with auth tokens into the public, even when the URL leads to an error. I don't know how long these tokens are valid (they are probably expired now), but better edit your post and remove the tokens.

avatar
Sude: 987e053 Add option to save changelogs

You can now save changelogs with --save-changelogs when downloading
Fast as usual. :) Thanks!
Post edited March 07, 2016 by eiii