Commit Graph

216 Commits

Author SHA1 Message Date
Sude
d83ba7ff30 Add option to select network interface for operations 2024-11-15 19:31:40 +02:00
Sude
97bb4d8923 Galaxy: Select build by build id
Make it possible to select by build id
Tries to find build with build id first
If no build is found with specified build id then try to use it as build index
If build id or index is not valid then default to build index 0
2024-11-15 19:28:32 +02:00
Sude
b4c6638e19 Add option to force browser login 2024-08-22 13:09:51 +03:00
Sude
e5d2c87676 Galaxy: Refactor CDN priority handling
Make CDN url template handling more generic
Add option to list available CDNs
Change default Galaxy CDN priority to "edgecast,akamai_edgecast_proxy,fastly"
2024-08-22 13:05:50 +03:00
Sude
61490035bb Fix selecting Chinese language
GOG has started to use "zh-Hans" as language code for Chinese in some cases
2024-05-22 20:40:45 +03:00
Sude
1c0ab298e4 Remove htmlcxx dependency and use libtidy with tinyxml2 to parse html 2024-05-09 14:37:53 +03:00
Sude
1866f4c65c Add option to list user data 2024-03-31 11:30:12 +03:00
Sude
93fb18f1d9 Add option to force GUI login 2024-03-30 19:18:32 +02:00
Sude
d463c02af5 Galaxy: Display progress bar per file instead of per chunk 2024-03-18 11:55:36 +02:00
nerdspice
71a299e80b add --save-product-json option 2023-12-28 14:25:11 -05:00
nerdspice
5ce801fa0d changed name 2023-12-28 09:54:05 -05:00
nerdspice
d7c10ae6fe add --save-api-json option 2023-12-28 09:27:59 -05:00
Sude
b5e1aa8b26 Skip complete extras
Check to see if extras are already complete by getting file size from content-length header or API response
Don't trust file size from API responses for extras by default
Add option --trust-api-for-extras to make lgogdownloader trust API responses for extras to be correct
2023-12-13 15:10:09 +02:00
nerdspice
d68a30bfb9 add --save-icon option 2023-11-22 16:41:10 -05:00
Sude
89724cd3d3 Add option to delete orphaned files
Renamed --galaxy-delete-orphans to --delete-orphans and made it also work with --check-orphans
2023-10-13 20:29:09 +03:00
Sude
0a27394e6c Add missing definition to gameItem struct
196c45ef1e missed "isnew" from gameItem struct
2023-10-12 18:18:59 +03:00
nerdspice
196c45ef1e add --new option and color 2023-10-12 08:58:00 -04:00
Sude
cdc3569f3c Add option to disable fast status checking
Adds --no-fast-status-check which makes --status much slower but able to catch corrupted files by calculating local file hash for all files.
2023-07-25 20:00:47 +03:00
Thoreas
dfea23c631 download game logo 2023-06-05 15:06:44 +02:00
Sude
ed1a61e2b3 Improve include/exclude options
DLC files can now be included/excluded separately
Bumped game details cache version number

Game specific config file changes:
- "dlc" option is deprecated and will be ignored
- "include" option is added
2023-05-17 18:03:31 +03:00
Sude
06c033eda1 Add support for exceptions in transformation rules 2023-04-26 13:59:57 +03:00
Sude
b4fdc2929c Add helper function Util::readJsonFile 2023-04-26 12:36:43 +03:00
Sude
dabfcfc180 Add option to transform gamenames
Configuration file $XDG_CONFIG_HOME/lgogdownloader/transformations.json can be used to set rules for transforming gamenames.
New subdir templates: %gamename_transformed% and %gamename_transformed_firstletter%
"--list transformations" can be used to show transformed gamenames
2023-04-15 22:19:07 +03:00
Sude
546982c717 Show total size before download and add option to check for free space
The downloader now shows total size to be downloaded
Added --check-free-space option to check if there is enough free space and abort if not enough is available
2023-04-03 14:52:09 +03:00
Sude
9cd85f69cb Don't try to get details for unowned DLCs 2023-03-28 00:57:00 +03:00
Sude
3f6b2315eb Fix getting DLC names 2023-03-27 22:09:13 +03:00
Sude
20cce5abbb Make --list able to list tags
Removed --list-tags option
Also changed the default option name "no_details" to "games"
2023-03-14 22:24:52 +02:00
Sude
9d188e73bd Combine --list and --list-format options
Removes --list-format added in c9198d672d
--list is used to select the format instead
2023-03-14 21:36:35 +02:00
Sude
c9198d672d Added option to list game details as JSON
Removed --list-details option
Added --list-format to select a format that --list uses

"no_details" is the same as --list previously and the default value
"details" is the same as --list-details was previously
"json" is JSON formatted output
2023-03-13 22:25:33 +02:00
Sude
c26e28a564 Refactor login code
Users can now get around reCATPCHA without the downloader being built with GUI enabled by using their browser to login
2023-03-12 15:16:49 +02:00
Sude
e5d347d5b2 Add option to set message verbosity level
Replaced --verbose option with --verbosity to better control message verbosity
2022-12-16 13:35:37 +02:00
Gordon
ba4d04e4c8 Extended global flag bSizeOnly into status text generation 2022-11-18 18:17:16 +00:00
loki-47-6F-64
b778370a52 Fix rare error for logging in 2022-08-09 11:07:08 +02:00
loki-47-6F-64
f8852e9ad5 Add the abillity to delete cloud saves 2022-08-04 23:55:18 +02:00
loki-47-6F-64
6870330eab Add the abillity to force upload/download of cloud saves even if up-to-date 2022-08-04 23:27:04 +02:00
loki-47-6F-64
4ff846e5cd Add a whitelist and blacklist for cloud saves 2022-08-04 23:04:37 +02:00
loki-47-6F-64
33ec0434aa Upload local saves to the cloud 2022-08-04 16:57:15 +02:00
loki-47-6F-64
829d263bc7 Show local cloud save files 2022-08-03 14:53:45 +02:00
loki-47-6F-64
c97a828aa7 Download cloud save files 2022-08-02 18:36:31 +02:00
loki-47-6F-64
c4f604aec0 Show cloud save paths 2022-07-31 14:11:32 +02:00
loki-47-6F-64
8e046e977d Rudimentary support for showing location of local saves for cloud saves 2022-07-28 21:11:44 +02:00
Sude
983592d09e Reduce the amount of request to cdn with --galaxy-install
Should fix the issue of getting temporarily blocked by GOG cdn when installing game with lots of small files
2022-02-17 10:30:38 +02:00
Sude
30f698867c Fix getting XML data
GOG changed something and now the server sometimes responds with gzip compressed XML data
Set CURLOPT_ACCEPT_ENCODING to enable decoding of a response when Content-Encoding header is received
Moved zlib decompression from GalaxyAPI::getResponse to GalaxyAPI::getResponseJson and made it automatic when detecting zlib header
2022-02-16 14:50:19 +02:00
Sude
695916af4c Add support for tags
Adds basic support for filtering games using tags that the user can set on account page
Add option --list-tags to list all the tags user has assigned
Add option --tag to filter games using the tags
2021-11-09 14:59:42 +02:00
Dmitry Khalanskiy
554de90f46 Add a flag to avoid hash checks 2021-09-12 10:25:37 +03:00
Sude
f69747bb88 Remove support for OpenSSL <= 1.0.2
Removes openssl thread locking callbacks required by OpenSSL <= 1.0.2
Other SSL libraries and newer OpenSSL should be handled by libcurl in a way that is thread-safe
2021-09-09 14:18:17 +03:00
Sude
584fef3988 Use duplicate handler for extras
Makes downloader use duplicate handler for extras
This should help to avoid a race condition mentioned in issue #200 (Crashes when downloading "secure") because the downloader no longer tries to download the same file from multiple threads
2021-08-06 11:23:02 +03:00
Sude
5c64fc3074 Add language: Thai 2020-12-02 06:36:40 +02:00
Timotej Lazar
8fe1fc4118 Fix getting redirect URL from curl
The char* set by curl_easy_getinfo may not be valid after the next
curl_easy_perform, so copy it to a std::string instead.
2020-11-28 22:31:54 +01:00
Sude
fe7fad300b Show installer and patch version when listing game details 2020-11-27 21:46:12 +02:00