Commit Graph

425 Commits

Author SHA1 Message Date
Sude
d463c02af5 Galaxy: Display progress bar per file instead of per chunk 2024-03-18 11:55:36 +02:00
Sude
9779a0e878 Fix for a7de153d76 2024-01-15 01:23:52 +02:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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