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

×
avatar
vv221: You are downloading your game archives onto a NTFS filesystem? Or another Windows-centric filesystem?

If so, unless this error is preventing the downloads queue to continue, you can ignore it as some warning about files metadata not being set. I think it only means the installer last modification date is set to the download time instead of its date of last modification on GOG server.
avatar
zahroc: It is an NTFS external USB drive connected to a Windows 10 machine.
It is kind of hard to ignore since the error causes lgogodownloader to exit/crash.
eef1d4d Make failure to set timestamp not critical
Print warning message about the error but continue instead of dying
Is there a possibility to add a new variable for the directory templates (or is a workaround possible)?

I have a really big library ( > 2000 games ) and would like to be able to have subfolders with beginning letters not to dump all files into one sub directory.

eg all games beginning with a number go to 0, all games beginning with a into a subfolder called 'a', beginning with 'b' into b.

Perhaps adding a new variable to the directory templates like '%firstletter%', so a

lgogdownloader --download --game all --subdir-game /datastore/GOG/%firstletter%/%gamename%

would put the games into

/datastore/GOG/0/99_levels_to_hell
/datastore/GOG/s/slay_the_spire
/datastore/GOG/u/ultima_i

Any ideas how to accomplish this?
Hi,
I want to exclude all patches via config.cfg. After some reading, I came up with either "exclude = patches" or "no-patches = true".

Are any of these valid? If not, what is the correct way to do that?

Thanks
V4V
avatar
V4V: Hi,
I want to exclude all patches via config.cfg. After some reading, I came up with either "exclude = patches" or "no-patches = true".

Are any of these valid? If not, what is the correct way to do that?

Thanks
V4V
You can use "exclude = patches" or "exclude = p".
avatar
Kygonn: You can use "exclude = patches" or "exclude = p".
Thanks, that worked!
avatar
coffeecup: Is there a possibility to add a new variable for the directory templates (or is a workaround possible)?

I have a really big library ( > 2000 games ) and would like to be able to have subfolders with beginning letters not to dump all files into one sub directory.

eg all games beginning with a number go to 0, all games beginning with a into a subfolder called 'a', beginning with 'b' into b.

Perhaps adding a new variable to the directory templates like '%firstletter%', so a

lgogdownloader --download --game all --subdir-game /datastore/GOG/%firstletter%/%gamename%

would put the games into

/datastore/GOG/0/99_levels_to_hell
/datastore/GOG/s/slay_the_spire
/datastore/GOG/u/ultima_i

Any ideas how to accomplish this?
With bash (from within datastore/GOG/):
for i in {{0..9},{a..z}}; do
mkdir -p $i
mv $i?* $i/
done
Post edited April 21, 2021 by InspMustache
avatar
coffeecup: Any ideas how to accomplish this?
avatar
InspMustache: With bash (from within datastore/GOG/):
for i in {{0..9},{a..z}}; do
mkdir -p $i
mv $i?* $i/
done
Well, the whole point is that lgogdownloader does not know that, it assumes that the game folders are just in a flat structure (and doing symlinks is not a really a solution).
Maybe this has already been answered, but I couldn't find it here.

When I want to download a game whose name is part of another game's name, e.g. the games "Silence" and "The Moment of Silence", how do I avoid downloading both? I usually use

lgogdownloader --download --include i,e,l,d --save-serials --platform w+l --language en --no-subdirectories --limit-rate 8000 --directory /home/thatsme/Downloads/ --game <name>

What would I need to change to only download games with the exact name provided?
avatar
notsofastmyboy: Maybe this has already been answered, but I couldn't find it here.

When I want to download a game whose name is part of another game's name, e.g. the games "Silence" and "The Moment of Silence", how do I avoid downloading both? I usually use

lgogdownloader --download --include i,e,l,d --save-serials --platform w+l --language en --no-subdirectories --limit-rate 8000 --directory /home/thatsme/Downloads/ --game <name>

What would I need to change to only download games with the exact name provided?
--game is perl regex that searches for a match anywhere within the text input being matched
If you want it to fully match a gamename you need to specify the regex to match from beginning of the string to end of the string (^ = match the beginning of the string, $ = match the end of the string)
^game_name_here$

--game '^silence$'
--game '^the_moment_of_silence$'
avatar
coffeecup: Is there a possibility to add a new variable for the directory templates (or is a workaround possible)?

I have a really big library ( > 2000 games ) and would like to be able to have subfolders with beginning letters not to dump all files into one sub directory.

eg all games beginning with a number go to 0, all games beginning with a into a subfolder called 'a', beginning with 'b' into b.

Perhaps adding a new variable to the directory templates like '%firstletter%', so a

lgogdownloader --download --game all --subdir-game /datastore/GOG/%firstletter%/%gamename%

would put the games into

/datastore/GOG/0/99_levels_to_hell
/datastore/GOG/s/slay_the_spire
/datastore/GOG/u/ultima_i

Any ideas how to accomplish this?
4e09d63 Add directory template %gamename_firstletter%

%gamename_firstletter% takes the first letter from %gamename%
If %gamename% begins with a number then 0 (zero) is used instead
avatar
Sude: 4e09d63 Add directory template %gamename_firstletter%

%gamename_firstletter% takes the first letter from %gamename%
If %gamename% begins with a number then 0 (zero) is used instead
This is a godsend, thank you. I'll test this out!
high rated
LGOGDownloader 3.8
- Fixed headless operation (Patch by: grepwood)
- Overwrite changelog only when modified (Patch by: Matthew Howle)
- Added retry support to --galaxy-install
- Changed some retry conditions
* Don't retry on 404 errors because they are mostly produced by user not owning DLC for a game
* This helps a lot when using high max retry count
- Show reason for retry attempts
- Show installer and patch version when lisintg game details
- Fixed getting redirect URL from curl (Patch by: Timotej Lazar)
- Improved reCAPTCHA detection (Patch by: Timotej Lazar)
- Added support for new language: Thai
- Retry download also on CURLE_SSL_CONNECT_ERROR (Patch by: Ismo Toijala))
- Use duplicate handler for extras
- Check for invalid path in GalaxyAPI::fileJsonNodeToGameFileVector
- Added directory template %gamename_firstletter%
* Useful for sorting big libraries with --subdir-game option
* Takes the first letter from %gamename%
* If %gamename% begins with a number then 0 (zero) is used instead
- Skip files that are listed by API for information purposes only
* For some games the API shows files with "count" and "total_size" of zero meaning that they are not available to download
* These are listed on account page for information purpose only (for example to show DLCs included in the installer)

https://github.com/Sude-/lgogdownloader/releases/download/v3.8/lgogdownloader-3.8.tar.gz

sha256: 2f4941f07b94f4e96557ca86f33f7d839042bbcac7535f6f9736092256d31eb5
md5: f684d8641f68550b14ab7f0f43cbf0f9
Thank you for all the support you offer for a 10-year old app!


avatar
Sude: LGOGDownloader 3.8
- Fixed headless operation (Patch by: grepwood)
- Overwrite changelog only when modified (Patch by: Matthew Howle)
- Added retry support to --galaxy-install
- Changed some retry conditions
* Don't retry on 404 errors because they are mostly produced by user not owning DLC for a game
* This helps a lot when using high max retry count
- Show reason for retry attempts
- Show installer and patch version when lisintg game details
- Fixed getting redirect URL from curl (Patch by: Timotej Lazar)
- Improved reCAPTCHA detection (Patch by: Timotej Lazar)
- Added support for new language: Thai
- Retry download also on CURLE_SSL_CONNECT_ERROR (Patch by: Ismo Toijala))
- Use duplicate handler for extras
- Check for invalid path in GalaxyAPI::fileJsonNodeToGameFileVector
- Added directory template %gamename_firstletter%
* Useful for sorting big libraries with --subdir-game option
* Takes the first letter from %gamename%
* If %gamename% begins with a number then 0 (zero) is used instead
- Skip files that are listed by API for information purposes only
* For some games the API shows files with "count" and "total_size" of zero meaning that they are not available to download
* These are listed on account page for information purpose only (for example to show DLCs included in the installer)

https://github.com/Sude-/lgogdownloader/releases/download/v3.8/lgogdownloader-3.8.tar.gz

sha256: 2f4941f07b94f4e96557ca86f33f7d839042bbcac7535f6f9736092256d31eb5
md5: f684d8641f68550b14ab7f0f43cbf0f9
new feature working nice :)
avatar
Sude: LGOGDownloader 3.8
- Fixed headless operation (Patch by: grepwood)
- Overwrite changelog only when modified (Patch by: Matthew Howle)
- Added retry support to --galaxy-install
- Changed some retry conditions
* Don't retry on 404 errors because they are mostly produced by user not owning DLC for a game
* This helps a lot when using high max retry count
- Show reason for retry attempts
- Show installer and patch version when lisintg game details
- Fixed getting redirect URL from curl (Patch by: Timotej Lazar)
- Improved reCAPTCHA detection (Patch by: Timotej Lazar)
- Added support for new language: Thai
- Retry download also on CURLE_SSL_CONNECT_ERROR (Patch by: Ismo Toijala))
- Use duplicate handler for extras
- Check for invalid path in GalaxyAPI::fileJsonNodeToGameFileVector
- Added directory template %gamename_firstletter%
* Useful for sorting big libraries with --subdir-game option
* Takes the first letter from %gamename%
* If %gamename% begins with a number then 0 (zero) is used instead
- Skip files that are listed by API for information purposes only
* For some games the API shows files with "count" and "total_size" of zero meaning that they are not available to download
* These are listed on account page for information purpose only (for example to show DLCs included in the installer)

https://github.com/Sude-/lgogdownloader/releases/download/v3.8/lgogdownloader-3.8.tar.gz

sha256: 2f4941f07b94f4e96557ca86f33f7d839042bbcac7535f6f9736092256d31eb5
md5: f684d8641f68550b14ab7f0f43cbf0f9
Thank you so much for maintaining/updating this! its so very much appreciated.
Post edited September 16, 2021 by obfusticator