Posted August 01, 2012
high rated
LGOGDownloader is open source downloader to GOG.com for Linux users.
It uses the same GOG Galaxy API as the official GOG Galaxy which doesn't have Linux support at the moment.
It is licenced under WTFPL licence
Current features:
- Listing available games (simple and detailed list)
- Batch downloading
- Repair downloaded installers/extras
- Resume unfinished downloads
- Perl regular expressions for filtering games
- Download speed limiting
- Checking for update notifications
- Listing/downloading updated files
- Checking for orphaned files
- Checking status of files
- Blacklisting files
- Downloading individual files by id number
- Installing games using Galaxy API
Cookies and config files are saved to $XDG_CONFIG_HOME/lgogdownloader
Created GOG XML files are saved to $XDG_CACHE_HOME/lgogdownloader/xml
By default all downloads are saved to current working directory
Subdirectories for games are automatically created
Compiling and installing the downloader:
sudo apt-get install build-essential libcurl4-openssl-dev libboost-regex-dev libjsoncpp-dev librhash-dev libtinyxml2-dev libhtidy-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-date-time-dev libboost-iostreams-dev cmake pkg-config zlib1g-dev qtwebengine5-dev
wget https://github.com/Sude-/lgogdownloader/releases/download/v3.16/lgogdownloader-3.16.tar.gz
tar -xvzf lgogdownloader-3.16.tar.gz
cd lgogdownloader-3.16
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DUSE_QT_GUI=ON
make
sudo make install
Donations:
Since people have been asking about donations I've set up Paypal and Ko-fi which you can use.
Paypal
Ko-fi
Links:
Git repository @ Github
Website
PKGBUILD for Arch Linux users
PKGBUILD for Arch Linux users (git version)
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.*'
List details for all Witcher games
lgogdownloader --list details --game witcher
Download all games
lgogdownloader --download
Download all games beginning with "t"
lgogdownloader --download --game '^t.*'
Using exclude option to not download extras and language packs
lgogdownloader --download --include all --exclude extras,languagepacks
Download extras for all games beginning with "t" to /media/sdb1/GOG/ and limit download speed to 500 kB/s and download threads to 1
lgogdownloader --download --directory /media/sdb1/GOG/ --limit-rate 500 --include extras --threads 1
Repair installer files for all Witcher games (base game and dlc)
lgogdownloader --repair --include installers,dlcs --game witcher
Create GOG XML for a file with 2MB chunks
lgogdownloader --create-xml /path/to/file.ext --chunk-size 2
Download all games and automatically create GOG XML for extras
lgogdownloader --download --automatic-xml-creation
Check for orphaned files (files found on local filesystem that are not found on GOG servers)
lgogdownloader --check-orphans
Downloading individual files
lgogdownloader --download-file gamename/fileid or --download-file gamename/dlcname/fileid
for example: lgogdownloader --download-file the_witcher/en1installer0
Show Galaxy builds for a game
lgogdownloader --galaxy-show-builds product_id
or
lgogdownloader --galaxy-show-builds gamename
where gamename is regular expression and product_id is numerical product id (can be determined with "--list details" option)
Example: show builds for Witcher 1
lgogdownloader --galaxy-show-builds 1207658924
lgogdownloader --galaxy-show-builds '^the_witcher$'
Install game using Galaxy depots
lgogdownloader --galaxy-install product_id/build_index
or
lgogdownloader --galaxy-install gamename/build_index
--galaxy-show-builds will display available build_index numbers, the default is "0" which should be the newest build
It uses the same GOG Galaxy API as the official GOG Galaxy which doesn't have Linux support at the moment.
It is licenced under WTFPL licence
Current features:
- Listing available games (simple and detailed list)
- Batch downloading
- Repair downloaded installers/extras
- Resume unfinished downloads
- Perl regular expressions for filtering games
- Download speed limiting
- Checking for update notifications
- Listing/downloading updated files
- Checking for orphaned files
- Checking status of files
- Blacklisting files
- Downloading individual files by id number
- Installing games using Galaxy API
Cookies and config files are saved to $XDG_CONFIG_HOME/lgogdownloader
Created GOG XML files are saved to $XDG_CACHE_HOME/lgogdownloader/xml
By default all downloads are saved to current working directory
Subdirectories for games are automatically created
Compiling and installing the downloader:
sudo apt-get install build-essential libcurl4-openssl-dev libboost-regex-dev libjsoncpp-dev librhash-dev libtinyxml2-dev libhtidy-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-date-time-dev libboost-iostreams-dev cmake pkg-config zlib1g-dev qtwebengine5-dev
wget https://github.com/Sude-/lgogdownloader/releases/download/v3.16/lgogdownloader-3.16.tar.gz
tar -xvzf lgogdownloader-3.16.tar.gz
cd lgogdownloader-3.16
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DUSE_QT_GUI=ON
make
sudo make install
Donations:
Since people have been asking about donations I've set up Paypal and Ko-fi which you can use.
Paypal
Ko-fi
Links:
Git repository @ Github
Website
PKGBUILD for Arch Linux users
PKGBUILD for Arch Linux users (git version)
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.*'
List details for all Witcher games
lgogdownloader --list details --game witcher
Download all games
lgogdownloader --download
Download all games beginning with "t"
lgogdownloader --download --game '^t.*'
Using exclude option to not download extras and language packs
lgogdownloader --download --include all --exclude extras,languagepacks
Download extras for all games beginning with "t" to /media/sdb1/GOG/ and limit download speed to 500 kB/s and download threads to 1
lgogdownloader --download --directory /media/sdb1/GOG/ --limit-rate 500 --include extras --threads 1
Repair installer files for all Witcher games (base game and dlc)
lgogdownloader --repair --include installers,dlcs --game witcher
Create GOG XML for a file with 2MB chunks
lgogdownloader --create-xml /path/to/file.ext --chunk-size 2
Download all games and automatically create GOG XML for extras
lgogdownloader --download --automatic-xml-creation
Check for orphaned files (files found on local filesystem that are not found on GOG servers)
lgogdownloader --check-orphans
Downloading individual files
lgogdownloader --download-file gamename/fileid or --download-file gamename/dlcname/fileid
for example: lgogdownloader --download-file the_witcher/en1installer0
Show Galaxy builds for a game
lgogdownloader --galaxy-show-builds product_id
or
lgogdownloader --galaxy-show-builds gamename
where gamename is regular expression and product_id is numerical product id (can be determined with "--list details" option)
Example: show builds for Witcher 1
lgogdownloader --galaxy-show-builds 1207658924
lgogdownloader --galaxy-show-builds '^the_witcher$'
Install game using Galaxy depots
lgogdownloader --galaxy-install product_id/build_index
or
lgogdownloader --galaxy-install gamename/build_index
--galaxy-show-builds will display available build_index numbers, the default is "0" which should be the newest build
Post edited 4 days ago by Sude