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

×
Just wanted to poke my head in to say this app rules. I recently switched over full time to Debian, and this made life with my GOG collection a whole lot easier.

I've compiled the latest build and so far everything works great.

Thanks.
I just downloaded Don't Starve like this:

lgogdownloader --platform 4 --download --game dont_starve

But for some reason it didn't download the Reign of Giants expansion. Not sure how to specify it even.
avatar
shmerl: I just downloaded Don't Starve like this:

lgogdownloader --platform 4 --download --game dont_starve

But for some reason it didn't download the Reign of Giants expansion. Not sure how to specify it even.
Probably caused by bad dlc count information try with "--ignore-dlc-count dont_starve"
avatar
Sude: Probably caused by bad dlc count information try with "--ignore-dlc-count dont_starve"
OK, I checked out the master and run it like this:

lgogdownloader --platform 4 --download --ignore-dlc-count --game dont_starve

It tried to download all my games however.
Post edited June 21, 2015 by shmerl
avatar
shmerl: OK, I checked out the master and run it like this:

lgogdownloader --platform 4 --download --ignore-dlc-count --game dont_starve

It tried to download all my games however.
You forgot to give argument to --ignore-dlc-count which caused it to ignore --game option
This is now fixed in 9c80ed1 by implicitly setting the default value. It will now just ignore the option when no argument is given to it, though perhaps I should set it to ".*" when it is used.

Try: lgogdownloader --platform 4 --download --ignore-dlc-count dont_starve --game dont_starve
Post edited June 21, 2015 by Sude
avatar
Sude: Try: lgogdownloader --platform 4 --download --ignore-dlc-count dont_starve --game dont_starve
Thanks, it worked that way. I think in case where no parameter is provided it should just use what --game provides.
Post edited June 21, 2015 by shmerl
avatar
Sude: It will now just ignore the option when no argument is given to it, though perhaps I should set it to ".*" when it is used.
avatar
shmerl: I think in case where no parameter is provided it should just use --game provides.
Using by default the parameter provided to --game is what sounds the most intuitive to me.

By the way Sude, I think I didn’t thank you for lgogdownloader for a couple of weeks now (or might it be months?), so thank you again ;)

-----

Now that I think of it, wouldn’t the behaviour be exactly the same whether --ignore-dlc-count is set to .* or to the parameter given to --game?
Post edited June 21, 2015 by vv221
avatar
vv221: Now that I think of it, wouldn’t the behaviour be exactly the same whether --ignore-dlc-count is set to .* or to the parameter given to --game?
Not at the moment because the filtering is done in Downloader::getGameList after Downloader::getGames gets the DLC info. I'm going to move the filtering to Downloader::getGames so that --ignore-dlc-count .* applies only to parameter given to --game

edit: in 0f2268c filtering is now done in Downloader::getGames and ".*" is default for --ignore-dlc-count
Post edited June 21, 2015 by Sude
Since a few days I have to re-login every time I use lgogdownloader (error messge: "Line 1, Column 1 Syntax error: value, object or array expected."). It looks like GOG has reduced the lifetime of the token drastically. The re-login works as long as I only download a single game. Global download (i.e. without the --game option) does not work anymore, after a while I get a lot of HTTP ERROR: 500 messages, probably because the token has expired before lgogdownloader has finished its session.

Is there any way to keep the session active so that the token does not expire? If not, would it be possible to add an automatic re-login to lgogdownloader?
avatar
eiii: Since a few days I have to re-login every time I use lgogdownloader (error messge: "Line 1, Column 1 Syntax error: value, object or array expected."). It looks like GOG has reduced the lifetime of the token drastically. The re-login works as long as I only download a single game. Global download (i.e. without the --game option) does not work anymore, after a while I get a lot of HTTP ERROR: 500 messages, probably because the token has expired before lgogdownloader has finished its session.

Is there any way to keep the session active so that the token does not expire? If not, would it be possible to add an automatic re-login to lgogdownloader?
Interesting. I got that, but it only affected --download, not --download-file, so I made plans to finish switching my lgogd_uri GUI entirely to using the literal values of the gogdownloader:// URLs.

(Currently, it uses --download for games and patches as a holdover from the older site design without Linux gogdownloader:// URLs)
I'm not sure if this is already possible and I'm just too dumb to figure out how to do it via the platform priority system, but I want lgogdownloader to download

1) Windows & Linux, and
2) deb only if no tar.gz exists

1 isn't a problem at all, and 2 is roughly approximated by --no-deb, but for games that have no tar archive (e.g. Indiana Jones and the Fate of Atlantis) this results in no Linux version being downloaded at all. (Of course it'd be preferable if GOG were consistent and offered both deb and tar.gz for all games with a Linux version, there's no reason not to.)
avatar
eiii: Since a few days I have to re-login every time I use lgogdownloader (error messge: "Line 1, Column 1 Syntax error: value, object or array expected."). It looks like GOG has reduced the lifetime of the token drastically. The re-login works as long as I only download a single game. Global download (i.e. without the --game option) does not work anymore, after a while I get a lot of HTTP ERROR: 500 messages, probably because the token has expired before lgogdownloader has finished its session.

Is there any way to keep the session active so that the token does not expire? If not, would it be possible to add an automatic re-login to lgogdownloader?
Have you updated to the current release? I was having that problem with 2.2, but the current release seems to have made that go away. You might also want to run it with the --login again and see if that helps.
LGOGDownloader 2.24
- Downloader::repairFile now creates new XML data on filesize mismatches
- Added check for extras missing filenames
* Extras without filename are skipped
- Added order-only prerequisite to OBJ_RELEASE and OBJ_DEBUG in Makefile
- Added option to ignore DLC count information
* --ignore-dlc-count option sets regular expression for games to ignore DLC count
* Game specific option "ignore-dlc-count" can be set in $XDG_CONFIG_HOME/lgogdownloader/gamename.conf
- Better startup time when using --game regex especially when using generic --ignore-dlc-count='.*' (patch by: Petr Běhan)
- Added support for Brazilian Portuguese
- Platform and language constants are now set using left shift to make code easier to understand
- Better handling of connection issues
* Assume that we have connection error and abort/retry transfer if download speed is less than 200 B/s for 30 seconds
- Fixed issue with incomplete files when using --status option
- JSON parsing failure in Downloader::getGames is assumed to be caused by expired cookies and user is told to try --login
- Fixed handling large files on 32 bit platforms (patch by: Erik Fleischer)
- The downloader now deletes old cookies before login attempt when using --login
* Helps with some login issues
- Json::Reader::getFormattedErrorMessages is now used instead of deprecated getFormatedErrorMessages
* jsoncpp >= 0.6.0 required

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

sha256: 3266db0fbe078a642600e63fb53437c1fc43389a33f1a223e27478ed6bf32c5b
md5: a3cd66a5317c7ef14b3abb40c075d0c6
Hello Sude,
thank you so much for providing this!
I'm new to Linux and Linux gaming, so it was a bit of a bummer for me to see, that there is no official GoG Downloader. I also had a bit of a hard time to find any other download managers / browser plugins that work with GoG links, so after some failed larger downloads I finally stumbled upon this.

And your LGOGDownloader is awesome! Even if I'm completely new to Linux and have no experience with terminal based installations, let alone other actions in there like downloading, this was a piece of cake - thanks to your simple to follow instructions.

Kudos sir, keep up the fantastic work. This should be put on the Linux Sticky, even if it's just as a honorable mention or something like that!
avatar
TheRaptor: Hello Sude,
thank you so much for providing this!
I'm new to Linux and Linux gaming, so it was a bit of a bummer for me to see, that there is no official GoG Downloader. I also had a bit of a hard time to find any other download managers / browser plugins that work with GoG links, so after some failed larger downloads I finally stumbled upon this.

And your LGOGDownloader is awesome! Even if I'm completely new to Linux and have no experience with terminal based installations, let alone other actions in there like downloading, this was a piece of cake - thanks to your simple to follow instructions.

Kudos sir, keep up the fantastic work. This should be put on the Linux Sticky, even if it's just as a honorable mention or something like that!
If you'd like to streamline the process of downloading individual games even more, I wrote a simple GUI to tie gogdownloader:// URLs to lgogdownloader.

https://github.com/ssokolow/lgogd_uri