LGOGDownloader is unofficial downloader to GOG.com for Linux users. It uses the same API as the official GOG Galaxy.
Go to file
Sude 2beaf26bed Galaxy: Add option to convert file path to lowercase for Windows game files
Some games for Windows have inconsistent casing for their file path.
This option allows converting them to lowercase so we don't end up with
multiple directories because capitalization makes them unique on
case-sensitive filesystems.
2024-12-18 11:56:14 +02:00
.github/workflows Update man page 2024-06-04 17:20:25 +03:00
cmake CMake: Throw fatal error when libtidy is not found 2024-05-15 13:59:32 +03:00
include Galaxy: Add option to convert file path to lowercase for Windows game files 2024-12-18 11:56:14 +02:00
man Galaxy: Add option to convert file path to lowercase for Windows game files 2024-12-18 11:56:14 +02:00
src Galaxy: Add option to convert file path to lowercase for Windows game files 2024-12-18 11:56:14 +02:00
.gitignore Update man page 2024-06-04 17:20:25 +03:00
CMakeLists.txt CMake: Use config mode for finding Boost packages 2024-11-15 19:32:22 +02:00
COPYING Initial commit 2013-03-15 22:46:16 +02:00
main.cpp Galaxy: Add option to convert file path to lowercase for Windows game files 2024-12-18 11:56:14 +02:00
README.md Update README.md 2024-08-23 19:02:20 +03:00

LGOGDownloader

This repository contains the code of LGOGDownloader which is unofficial 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 libtidy-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 ninja-build

Build and install

$ cmake -B build -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DUSE_QT_GUI=ON -GNinja
$ ninja -Cbuild install

Fedora

sudo dnf install cmake make gcc gcc-c++ glibc tinyxml2-devel rhash-devel \
libtidy-devel tinyxml-devel jsoncpp-devel libcurl-devel \
boost-devel

Build and Install

cmake ..
make

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