Commit Graph

636 Commits

Author SHA1 Message Date
Sude
a7de153d76 Fix blacklist for --galaxy-install 2024-01-15 00:25:47 +02:00
Sude
956e1f36ff Add blacklist support for --galaxy-install 2024-01-14 11:54:17 +02:00
Sude
3a5ebd1bd5 Add options to select blacklist and ignorelist file 2024-01-14 11:49:24 +02:00
Sude
03e5da097b Merge branch 'save-product-json' of https://github.com/nerdspice/lgogdownloader 2024-01-14 11:43:59 +02:00
Sude
70151a4d81 Merge branch 'save-api-json' of https://github.com/nerdspice/lgogdownloader 2024-01-14 11:43:13 +02:00
nerdspice
71a299e80b add --save-product-json option 2023-12-28 14:25:11 -05:00
nerdspice
14ad9b9dbc lint 2023-12-28 09:58:07 -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
Sude
326785c934 Merge branch 'logo-path-fix' of https://github.com/nerdspice/lgogdownloader 2023-12-11 12:58:58 +02:00
Sude
f14e1a34f9 Merge branch 'save-icon' of https://github.com/nerdspice/lgogdownloader 2023-12-11 12:58:43 +02:00
nerdspice
86b90b4d59 fix dlc logo/icon path from going into "no_platform" folders 2023-12-11 03:15:00 -05:00
nerdspice
d68a30bfb9 add --save-icon option 2023-11-22 16:41:10 -05:00
Sude
8e07ba18e8 Version 3.12 2023-10-23 14:32:00 +03: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
73d18dcc60 Merge branch 'full-logo' of https://github.com/nerdspice/lgogdownloader 2023-10-12 18:34:03 +03:00
nerdspice
7499a8841e
typo 2023-10-12 11:26:01 -04:00
nerdspice
b559d1ca30
switch to Util::replaceString() 2023-10-12 11:22:40 -04:00
Sude
0a27394e6c Add missing definition to gameItem struct
196c45ef1e missed "isnew" from gameItem struct
2023-10-12 18:18:59 +03:00
Sude
7689a719b3 Merge branch 'new-flag' of https://github.com/nerdspice/lgogdownloader 2023-10-12 18:01:39 +03:00
nerdspice
724146f69d switch logo to full-sized version 2023-10-12 10:47:31 -04: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
Sude
5e29862d40 Bump CMake minimum requirement to 3.5.0 2023-07-22 16:09:46 +03:00
Sude
586b0b5177 Assume .jpg extension for logo
Should fix core dump caused by failing to get file extension for logo
2023-07-22 14:44:23 +03:00
Sude
e3f404bf5b Merge https://github.com/Thoreas/lgogdownloader 2023-07-02 12:15:21 +03:00
Thoreas
dfea23c631 download game logo 2023-06-05 15:06:44 +02:00
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