It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
Is there a way to download a specific DLC installer file?

--download-file gamename/fileid
works when the fileid is numerical, but for installers that is not the case.
For example, fileid "en1installer0" can be the base game installer and one or more DLC installers at the same time.

Maybe this syntax should be supported?
base_gamename/dlc_gamename/fileid

Like:
the_witcher_3_wild_hunt_game/dlc_16_a/en1installer0

(Also, why does gamename in --download-file is parsed as regex? Kind of annoying and seems a little bit useless. Having different switches for normal and regex modes would be better I think. --download, --download-regex, --download-file, --download-file-regex)
Post edited May 13, 2024 by Xypista1
avatar
Xypista1: Is there a way to download a specific DLC installer file?

--download-file gamename/fileid
works when the fileid is numerical, but for installers that is not the case.
For example, fileid "en1installer0" can be the base game installer and one or more DLC installers at the same time.

Maybe this syntax should be supported?
base_gamename/dlc_gamename/fileid

Like:
the_witcher_3_wild_hunt_game/dlc_16_a/en1installer0

(Also, why does gamename in --download-file is parsed as regex? Kind of annoying and seems a little bit useless. Having different switches for normal and regex modes would be better I think. --download, --download-regex, --download-file, --download-file-regex)
761c3f1 Improvements to --download-file option

Allows downloading DLC files by extending file selection.
Files can be selected by using the name of dlc
--download-file "gamename/dlc_gamename/fileid"

It used regex because it uses the same code as --download and --galaxy-install to get game names and product ids.
This commit makes the downloader use exact match.
Well not really an exact match but kind of by automatically adding "^" prefix and "$" suffix to the regex in Downloader::downloadFileWithId
Post edited May 13, 2024 by Sude
avatar
Sude: 761c3f1 Improvements to --download-file option
Wow, thanks for the quick addition. It works.
avatar
Sude: I'll probably do a new release sometime next week.
I removed htmlcxx dependency and replaced html parsing with libtidy and tinyxml2 a few days ago so I'll wait a while to see if any new issues come up due to that before making a release.
Thanks!
LGOGDownloader 3.13
- Added --save-icon option (Patch by: nerdspice)
- Skip complete extras
* Checks to see if extras are already complete by getting file size from content-length header or API response
* Most of the time the API responses are not correct so they are not trusted by default and content-lenght header is used
* --trust-api-for-extras makes lgogdownloader trust API responses for extras to be correct
- Added options to save game details and product info json (Patch by: nerdspice)
* --save-product-json
* --save-game-details-json
- Added options to select blacklist and ignorelist file
* --blacklist to set filepath for blacklist
* --ignorelist to set filepath for ignorelist
- Added blacklist support for --galaxy-install
- Added ".mp4" to default orphan check regex
- Added support for Qt6 (Patch by: James Le Cuirot)
* If necessary, Qt 5 can be forced over 6 by passing "-DCMAKE_DISABLE_FIND_PACKAGE_Qt6=ON"
- Changed progress bar to be displayed per file instead of per chunk with --galaxy-install
- Added option to force GUI login
* --gui-login forces login GUI and disables browser based login method
* lgogdownloader must be compiled with -DUSE_QT_GUI=ON
- Added option to check login status
* --check-login-status prints whether the user is logged in or not
* Exit code 0 means logged in
* Exit code 1 means not logged in
- Added option to list user data
* --list "userdata" shows user data in JSON format
- Removed htmlcxx dependency
* Use libtidy with tinyxml2 to parse html instead
- Extended --download-file option to be able to select DLC files
* Files can now be selected by using the name of dlc
* --download-file "gamename/dlc_gamename/fileid"

https://github.com/Sude-/lgogdownloader/releases/download/v3.13/lgogdownloader-3.13.tar.gz

sha256: e1bd9abd5955ad6a6d083674021cd9421d03473ce90d6e6a1a497f71c05d1fd0
md5: 08e701c57eba1e388a089569d3ff27fb