LGOGDownloader is unofficial downloader to GOG.com for Linux users. It uses the same API as the official GOG Galaxy.
Go to file
Sude 70d2fdbefc Add option --use-dlc-list
Adds new option --use-dlc-list to enable using DLC list.
Previously the downloader used DLC list by default which made getting game details very slow for not much benefit.
This makes the downloader not use DLC list by default and thus getting game details is much faster.

Before and after result of listing games with 212 game collection using "time lgogdownloader --list"

Before
real    0m36,135s
user    0m0,159s
sys     0m0,039s

After
real    0m2,226s
user    0m0,048s
sys     0m0,019s
2021-08-26 13:26:13 +03:00
cmake Fix find_path for newer jsoncpp release 2019-11-20 22:24:10 +00:00
include Use duplicate handler for extras 2021-08-06 11:23:02 +03:00
man Update README.md and man page 2020-03-14 18:28:42 +02:00
src Skip files that are listed by API for information purposes only 2021-08-13 15:22:48 +03:00
.gitignore Update .gitignore 2016-01-17 18:15:12 +02:00
CMakeLists.txt Version 3.8 2021-08-25 15:21:57 +03:00
COPYING Initial commit 2013-03-15 22:46:16 +02:00
main.cpp Add option --use-dlc-list 2021-08-26 13:26:13 +03:00
README.md Update README.md and man page 2020-03-14 18:28:42 +02:00

LGOGDownloader

This repository contains the code of LGOGDownloader which is unoffcial open source downloader for GOG.com. It uses the same API as GOG Galaxy which doesn't have Linux support at the moment.

Dependencies

Make dependencies

Debian/Ubuntu

# apt install build-essential libcurl4-openssl-dev libboost-regex-dev \
libjsoncpp-dev librhash-dev libtinyxml2-dev libhtmlcxx-dev \
libboost-system-dev libboost-filesystem-dev libboost-program-options-dev \
libboost-date-time-dev libboost-iostreams-dev help2man cmake libssl-dev \
pkg-config zlib1g-dev qtwebengine5-dev

Build and install

$ mkdir build
$ cd build
$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DUSE_QT_GUI=ON
$ make
# sudo make install

Usage examples

  • Login

      lgogdownloader --login
    
  • Listing games and details for specific games

      lgogdownloader --list
      lgogdownloader --list-details --game witcher
    
  • Downloading files

      lgogdownloader --download
      lgogdownloader --download --game stardew_valley --exclude extras
      lgogdownloader --download --threads 6 --platform linux --language en+de,fr
      lgogdownloader --download-file tyrian_2000/9543
    
  • Repairing files

      lgogdownloader --repair --game beneath_a_steel_sky
      lgogdownloader --repair --download --game "^a"
    
  • Using Galaxy API for listing and installing game builds

      lgogdownloader --galaxy-platform windows --galaxy-show-builds stardew_valley
      lgogdownloader --galaxy-platform windows --galaxy-install stardew_valley/0
      lgogdownloader --galaxy-platform windows --galaxy-install beneath_a_steel_sky/0 --galaxy-no-dependencies
    
  • See man page or help text for more

      lgogdownloader --help
      man lgogdownloader
    

paypal