Posted August 01, 2012
high rated
L(inux)GOGDownloader is open source downloader to GOG.com for Linux users using the same API as the official GOGDownloader
It is licenced under WTFPL licence
Current features:
- Listing available games (simple and detailed list)
- Batch downloading
- Repair downloaded installers/extras
- Resume unfinished downloads
- Cover downloading
- Perl regular expressions for filtering games
- Download speed limiting
- Checking for update notifications
- Listing/downloading updated files
Currently missing features:
- Downloading individual files by id number
Cookies and config files are saved to ~/.gogdownloader/
Created GOG XML files are saved to ~/.gogdownloader/xml/
By default all downloads are saved to current working directory
Subdirectories for games are automatically created
--update-check shows how many games have been updated
It also shows how many new private messages and forum replies you have
The API doesn't provide list of updated files so I can't show which files have been updated without parsing the account page like in the previous downloader
Compiling and installing the downloader:
sudo apt-get install build-essential libcurl4-openssl-dev liboauth-dev libjsoncpp-dev libhtmlcxx-dev libboost-system-dev libboost-filesystem-dev libboost-regex-dev libboost-program-options-dev libboost-date-time-dev libtinyxml-dev librhash-dev
wget http://sites.google.com/site/gogdownloader/lgogdownloader-2.5.tar.gz
tar -xvzf lgogdownloader-2.5.tar.gz
cd lgogdownloader-2.5
Debian (testing/unstable) and Ubuntu users need to change the include path for rhash until rhash 1.2.10 is in the repositories
sed -e "s;rhash.h;rhash/rhash.h;" -i include/util.h
make release
sudo make install
PKGBUILD for Arch Linux users
https://aur.archlinux.org/packages.php?ID=61392
PPA for Ubuntu users
https://launchpad.net/~gabriel-thornblad/+archive/lgogdownloader
Usage examples:
Login to create cookies and config files
lgogdownloader --login
List all available games
lgogdownloader --list
List all games beginning with "t"
lgogdownloader --list --game '^t.*'
Download all extras to /media/sdb1/GOG/ and limit download speed to 500 kB/s
lgogdownloader --download --no-installers --directory /media/sdb1/GOG/ --limit-rate 500
Download "Beneath a steel sky", don't download cover images
lgogdownloader --download --game beneath_a_steel_sky --no-cover
Repair all installer files of witcher 1 & 2
lgogdownloader --repair --no-extras --game witcher
Create GOG XML for a file with 2MB chunks
lgogdownloader --create-xml /path/to/file.ext --chunk-size 2
Download all free games and automatically create GOG XML for extras
lgogdownloader --download --game free --create-xml automatic
Some documentation that I wrote for the GOG API
GOG API Documentation
https://github.com/Sude-/lgogdownloader
It is licenced under WTFPL licence
Current features:
- Listing available games (simple and detailed list)
- Batch downloading
- Repair downloaded installers/extras
- Resume unfinished downloads
- Cover downloading
- Perl regular expressions for filtering games
- Download speed limiting
- Checking for update notifications
- Listing/downloading updated files
Currently missing features:
- Downloading individual files by id number
Cookies and config files are saved to ~/.gogdownloader/
Created GOG XML files are saved to ~/.gogdownloader/xml/
By default all downloads are saved to current working directory
Subdirectories for games are automatically created
--update-check shows how many games have been updated
It also shows how many new private messages and forum replies you have
The API doesn't provide list of updated files so I can't show which files have been updated without parsing the account page like in the previous downloader
Compiling and installing the downloader:
sudo apt-get install build-essential libcurl4-openssl-dev liboauth-dev libjsoncpp-dev libhtmlcxx-dev libboost-system-dev libboost-filesystem-dev libboost-regex-dev libboost-program-options-dev libboost-date-time-dev libtinyxml-dev librhash-dev
wget http://sites.google.com/site/gogdownloader/lgogdownloader-2.5.tar.gz
tar -xvzf lgogdownloader-2.5.tar.gz
cd lgogdownloader-2.5
Debian (testing/unstable) and Ubuntu users need to change the include path for rhash until rhash 1.2.10 is in the repositories
sed -e "s;rhash.h;rhash/rhash.h;" -i include/util.h
make release
sudo make install
PKGBUILD for Arch Linux users
https://aur.archlinux.org/packages.php?ID=61392
PPA for Ubuntu users
https://launchpad.net/~gabriel-thornblad/+archive/lgogdownloader
Usage examples:
Login to create cookies and config files
lgogdownloader --login
List all available games
lgogdownloader --list
List all games beginning with "t"
lgogdownloader --list --game '^t.*'
Download all extras to /media/sdb1/GOG/ and limit download speed to 500 kB/s
lgogdownloader --download --no-installers --directory /media/sdb1/GOG/ --limit-rate 500
Download "Beneath a steel sky", don't download cover images
lgogdownloader --download --game beneath_a_steel_sky --no-cover
Repair all installer files of witcher 1 & 2
lgogdownloader --repair --no-extras --game witcher
Create GOG XML for a file with 2MB chunks
lgogdownloader --create-xml /path/to/file.ext --chunk-size 2
Download all free games and automatically create GOG XML for extras
lgogdownloader --download --game free --create-xml automatic
Some documentation that I wrote for the GOG API
GOG API Documentation
https://github.com/Sude-/lgogdownloader
Post edited May 04, 2013 by Sude