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

×
getting problem while trying to compile git version on archlinux
http://ix.io/1ZPB

any help?
avatar
franky-boy: getting problem while trying to compile git version on archlinux
http://ix.io/1ZPB

any help?
This should fix the issue
04b63d4 CMake: Disable search for boost-cmake
avatar
Sude: This should fix the issue
04b63d4 CMake: Disable search for boost-cmake
commit did the trick
sorry for bothering, but after compiling with latest commit (gogdownloader-git-3.5.r12.g04b63d4-1-x86_64.pkg.tar) encountered two problems

1. trying to download game (underrail) with --galaxy-install with additional parameter "--subdir-galaxy-install %install_dir%", but game installs without install dir folder, in root directory, for example --directory /tmp

2. trying to update game (underrail) from version .12 to 12b getting such errors

[spoiler]
2019-Oct-27 21:24:33 [Thread #3] /tmp/UnderRail//data/rules/items/weapons/xpbl/hoddurform.item: Chunk failure, skipping file
2019-Oct-27 21:24:34 [Thread #0] /tmp/UnderRail//data/rules/items/weapons/xpbl/lemurianblaster.item: Empty JSON response (product: 1495035333, chunk #0: 51cb2d5a7fe959f5e604e54eefd094a6)
2019-Oct-27 21:24:34 [Thread #0] /tmp/UnderRail//data/rules/items/weapons/xpbl/lemurianblaster.item: Chunk failure, skipping file
2019-Oct-27 21:24:34 [Thread #7] /tmp/UnderRail//data/rules/items/weapons/xpbl/lemurianspear.item: Empty JSON response (product: 1495035333, chunk #0: fcb88d39b6df30aedcc77589ec6fe61e)
2019-Oct-27 21:24:34 [Thread #7] /tmp/UnderRail//data/rules/items/weapons/xpbl/lemurianspear.item: Chunk failure, skipping file
[/spoiler]

steps to reproduce
1. lgogdownloader --list-details --game underrail | grep 'product id'
2. XDG_CACHE_HOME="/home/franky/.config/lgogdownloader/cache" lgogdownloader --galaxy-show-builds 1447688349
3. lgogdownloader --galaxy-platform l,w --galaxy-language 1 --subdir-galaxy-install %title_stripped% --threads 8 --directory /tmp/UnderRail/ --galaxy-install 1447688349/0

p.s. problem with JSON response and Chunk failure may be cause with galaxy server problems
Post edited October 27, 2019 by franky-boy
avatar
franky-boy: 2019-Oct-27 21:24:34 [Thread #0] /tmp/UnderRail//data/rules/items/weapons/xpbl/lemurianblaster.item: Empty JSON response (product: 1495035333, chunk #0: 51cb2d5a7fe959f5e604e54eefd094a6)
The likely reason for the JSON errors is you don't own the DLC those files belong to see the product: 1495035333 relates to the Expedition DLC. When you don't own DLC their files show up like that.
Post edited October 29, 2019 by Cusith
a884e8c Make --download-file option use Galaxy API
42c7188 Remove old GOG downloader API
8829f44 Remove dependency on liboauth

As of now git version no longer uses the old downloader API.
lgogdownloader now uses GOG website and Galaxy API for everything.

All code related to old API has been removed.
--download-file option now uses Galaxy API and should work as previously although it would be preferable to use numerical product id instead of gamename for it.
It uses the same helper function as --galaxy-show-builds and --galaxy-install options to get numerical product id and thus the old method of using gamename should still work fine with the exception of gamenames that are numbers (prefixing them with "^" should make the helper function handle them as regex string instead of integer)
--login-api and --login-website options have been removed.
"token" and "secret" options are no longer needed in config.cfg
lgogdownloader no longer depends on liboauth.
Post edited November 14, 2019 by Sude
Apologies for what might be some dumb questions.

Is ~/.cache/lgogdownloader/gamedetails.json the data received from GOG via the API?

I was trying to modify the --status printing to see how much data is missing but filesize_xml is 0 yet the size of a missing file is given in that json.

I also noltice that my xml directory is empty. Why does that look like there are 2 sources for the same information, xml and json? Is the xml data for something else.

I also see that the json lists many extras as having a file size of exactly 1048576 bytes (1024*1024). Is this some limitation in the data from GOG?
Hi,
on Kubuntu 18.04, cmake complains about a missing libcrypto module:

Boost version: 1.62.0
-- Found the following Boost libraries:
-- system
-- filesystem
-- regex
-- program_options
-- date_time
-- iostreams
-- Checking for module 'libcrypto'
-- No package 'libcrypto' foundCMake Error at /usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:415 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:593 (_pkg_check_modules_internal)
cmake/FindLibcrypto.cmake:9 (pkg_check_modules)
CMakeLists.txt:38 (find_package)
-- Configuring incomplete, errors occurred!

Both deb packages "libcrypto++6" and "libcrypto++-dev" are installed. Any ideas on how to fix this?

Thanks
avatar
V4V: on Kubuntu 18.04, cmake complains about a missing libcrypto module
I think you might be missing the "libssl-dev" package.
avatar
V4V: Both deb packages "libcrypto++6" and "libcrypto++-dev" are installed. Any ideas on how to fix this?

Thanks
Its openssl thats needed
README.md: * [libcrypto](https://www.openssl.org/) if libcurl is built with OpenSSL

no idea if that helps
Post edited December 13, 2019 by Cusith
avatar
vv221: I think you might be missing the "libssl-dev" package.
That was it, thanks!

I thought that I had installed all dependencies listed on https://github.com/Sude-/lgogdownloader installed. Obviously, I missed this one (along with libjsoncpp-dev, as cmake happily told me after I installed libss-dev.)
Sorry, I accidentally logged into my second account which I don't use, but which GOG can't fuse with my main account because I already downloaded the four games it contains. :/
Post edited December 13, 2019 by V4V
Ah … LGOGDownloader works like a charm now. I didn't use it for over a year, because I didn't use GOG so much in that time.

@Sude, thank you very much for this great tool and for your ongoing effort. Is there any way to support you? (Patreon, buymeacoffee.com etc.)
I've updated the first post to be little clearer.
The old usage examples have been replaced because some of them were just plain wrong after all the changes to the downloader.
I also removed the link to GOG downloader API documentation because lgogdownloader no longer uses that API.

avatar
V4V: Ah … LGOGDownloader works like a charm now. I didn't use it for over a year, because I didn't use GOG so much in that time.

@Sude, thank you very much for this great tool and for your ongoing effort. Is there any way to support you? (Patreon, buymeacoffee.com etc.)
Not sure if I already sent you the links via email (was that you asking via email?) but I've set up Paypal and Ko-fi for donations
Paypal
Ko-fi
Any plans for a GUI?