mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2024-11-20 03:39:17 +01:00
LGOGDownloader is unofficial downloader to GOG.com for Linux users. It uses the same API as the official GOG Galaxy.
463a9c386e
Try to use Linux installers as replacement for Galaxy repository. Linux installers use MojoSetup which means that the installers are Zip files that have bash script and installer binary prepended. We can get zip file entries from zip central directory and then split the game installer to chunks based on those file entries. Therefore we can download individual files from the installer. |
||
---|---|---|
cmake | ||
include | ||
man | ||
src | ||
.gitignore | ||
CMakeLists.txt | ||
COPYING | ||
main.cpp | ||
README.md |
GOG Downloader
This repository contains the code of unofficial GOG downloader.
Dependencies
- libcurl >= 7.32.0
- liboauth
- librhash
- jsoncpp
- htmlcxx
- tinyxml2
- boost (regex, date-time, system, filesystem, program-options, iostreams)
- libcrypto if libcurl is built with OpenSSL
- zlib
Make dependencies
Debian/Ubuntu
# apt install build-essential libcurl4-openssl-dev libboost-regex-dev \
libjsoncpp-dev liboauth-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
Build and install
$ mkdir build
$ cd build
$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
$ make
# sudo make install
Use
man lgogdownloader