Commit Graph

658 Commits

Author SHA1 Message Date
Sude
b55489435f Show build id in --galaxy-show-builds output 2023-05-30 17:09:39 +03:00
Sude
417570cd1e Merge branch 'empty-files' of https://github.com/kreudom/lgogdownloader 2023-05-29 06:23:07 +03:00
Dominik Kreutzer
05df996b12 Correctly create empty files during Galaxy install
Empty files have no chunks and were therefore skipped when
installing. Some games require these empty files to function
correctly.
2023-05-28 23:35:32 +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
a1a7fb4a28 Fix transforming gamename using multiple rules
The transformation was always applied to original name.
This fixes it by applying additional rules to already transfromed name.
2023-04-16 13:08:31 +03:00
Sude
19815109c3 Don't print file size or hash for missing files in --status output 2023-04-16 02:39:56 +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
8a2a6d2071 Update README.md 2023-04-12 12:50:34 +03:00
Sude
0f3ce5df1a Bump minimum libcurl version to 7.55.0
Forgot to change the requirement in 78c8f43
CURLINFO_CONTENT_LENGTH_DOWNLOAD_T requires libcurl >= 7.55.0
2023-04-12 12:43:37 +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
b520eb8f2f Speedup cache update
Don't override Globals::globalConfig.sIgnoreDLCCountRegex in Downloader::updateCache()
Changed how getting game details JSON is handled in Downloader::getGameDetailsThread
2023-03-27 22:20:09 +03:00
Sude
3f6b2315eb Fix getting DLC names 2023-03-27 22:09:13 +03:00
Sude
b1d54e70f7 Version 3.11 2023-03-24 16:11:38 +02:00
Sude
a81d63b375 Fix cookies getting overwritten
Sometimes curl handles in downloader and galaxy api class could overwrite cookies with blank cookies
Fixed this by not setting CURLOPT_COOKIEJAR by default and only using it for curl handles in website class
2023-03-24 16:08:01 +02:00
Sude
12281317aa Version 3.10 2023-03-16 11:44:36 +02:00
Sude
e88ae2e58a Remove make dependency on grep and readelf
These were not actually needed since f69747bb88
I just forgot to remove them at the time
2023-03-16 11:35:54 +02: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
9e49b6fa20 Always use array value when listing game details in JSON format 2023-03-14 09:57:10 +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
dcfd368fa0 Be more clear which url to copy & paste during login 2023-03-12 15:57:53 +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
9e5e833691 Merge https://github.com/ddonatek/lgogdownloader 2023-03-12 15:14:50 +02:00
David Donátek
4fcb3bceb7 Slightly nicer libcurl cleanup 2023-01-01 04:55:46 +01:00
David Donátek
ed41fbef6f Revert "Fix core dump with libcurl >= 7.87.0"
This reverts commit 6ce6aeb1dc.
2023-01-01 04:50:09 +01:00
Sude
78c8f43576 Don't use depracated libcurl options
Use CURLINFO_SPEED_DOWNLOAD_T instead of CURLINFO_SPEED_DOWNLOAD
Use CURLOPT_UPLOAD instead of CURLOPT_PUT
2022-12-28 00:46:29 +02:00
Sude
6ce6aeb1dc Fix core dump with libcurl >= 7.87.0
Relying on automatic object allocation caused curl_global_cleanup() to be called before destructor cleaned up curl handles causing segfault.
Use dynamic object allocation and delete objects before calling curl_global_cleanup() so destructor is executed before global cleanup.
2022-12-28 00:17:19 +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
Sude
a4423b0548 Merge branch 'extendSizeOnly' of https://github.com/Bob837217/lgogdownloader 2022-11-22 16:41:45 +02:00
Gordon
ba4d04e4c8 Extended global flag bSizeOnly into status text generation 2022-11-18 18:17:16 +00:00
Sude
211a0a80b3 Galaxy: Add initial support for ignoring DLCs
Adds support to ignore all DLCs when installing game with --galaxy-install
2022-10-01 20:31:04 +03:00
Sude
626aa681c9 Galaxy: Fix MojoSetup hack for files that have missing XML data
Try to get file size using Content-Length header if XML data is missing
2022-10-01 20:28:03 +03:00
Sude
6ae6ab2469 Merge branch 'cloud-save' of https://github.com/loki-47-6F-64/lgogdownloader 2022-10-01 20:18:12 +03:00
loki-47-6F-64
b778370a52 Fix rare error for logging in 2022-08-09 11:07:08 +02:00
loki-47-6F-64
aba2c3c9c5 Handle default locations 2022-08-08 14:20:52 +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
5db36f6b7f show shorter path for cloud saves 2022-08-04 20:44:05 +02:00
loki-47-6F-64
0b8a762953 Don't skip incomplete download coud saves 2022-08-04 20:18:14 +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
6560688d8a Version 3.9 2022-02-19 12:12:11 +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