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
Gede: I am quite curious to know how this was achieved and what makes this possible.
avatar
Sude: GOG has some small files combined in a container.
Well technically it's just all the small files concatenated.
Galaxy API list the container among the depot files and provides offsets to all the files inside it.
Oh, I see! It is a Galaxy API thing! Good thing you are on top of that!
It makes sense from the technical point of view.
Thank you for your detailed explanation.
avatar
Alexseyew:
avatar
Gede: That is a very good-looking font. Would you care to share its name?
it's the same font bethesda used on the terminals on fallout 4, it's called "share tech" it's on google fonts i think.
avatar
Gede: That is a very good-looking font. Would you care to share its name?
avatar
Alexseyew: it's the same font bethesda used on the terminals on fallout 4, it's called "share tech" it's on google fonts i think.
Thank you. It looks lovely. You have fine taste.
Hello all

It's posible to get the games downloaded by title (or title_stripped) rather than gamename?

Example:
gamename: worlds_of_ultima_the_savage_empire
title: Worlds of Ultima™ : The Savage Empire

This is what i get
worlds_of_ultima_the_savage_empire/
├── extras
│ ├── savage_empire_cluebook.zip
│ ├── [...]
│ └── savage_empire_reference_card.zip
├── mac
│ └── worlds_of_ultima____the_savage_empire_enUS_1_6_38768.pkg
└── windows
└── setup_worlds_of_ultima_-_the_savage_empire_1.6_cs_(28045).exe

This is what i want
Worlds of Ultima The Savage Empire
├── extras
│ ├── savage_empire_cluebook.zip
│ ├── [...]
│ └── savage_empire_reference_card.zip
├── mac
│ └── worlds_of_ultima____the_savage_empire_enUS_1_6_38768.pkg
└── windows
└── setup_worlds_of_ultima_-_the_savage_empire_1.6_cs_(28045).exe
Post edited February 03, 2025 by riptide981
avatar
Gede: That is a very good-looking font. Would you care to share its name?
avatar
Alexseyew: it's the same font bethesda used on the terminals on fallout 4, it's called "share tech" it's on google fonts i think.
That's a very nice taste indeed. Thanks for sharing the name. :)

avatar
riptide981: Hello all

It's posible to get the games downloaded by title (or title_stripped) rather than gamename?

(...)

This is what i want
Worlds of Ultima The Savage Empire
├── extras
│ ├── savage_empire_cluebook.zip
│ ├── [...]
(...)
For now I don't think so, no.
I tested here with:
lgogdownloader --download --game Tomb Raider
and
lgogdownloader --download --game Tomb
And it couldn't download any Tomb Raider games I have on my library.

All download commands on lgogdownloader are case sensitive it seems.
I think Sude's idea to maintain it like this makes sense to avoid confusion with spaces on Linux sh's syntaxes
Depending where you come from it might be hard to get used to, but the more you use it, the more sense it will make in my opinion.
avatar
.Keys: [...]
avatar
riptide981: Hello all

It's posible to get the games downloaded by title (or title_stripped) rather than gamename?

(...)

This is what i want
Worlds of Ultima The Savage Empire
├── extras
│ ├── savage_empire_cluebook.zip
│ ├── [...]
(...)
avatar
.Keys: For now I don't think so, no.
I tested here with:

lgogdownloader --download --game Tomb Raider
avatar
.Keys: and

lgogdownloader --download --game Tomb
avatar
.Keys: And it couldn't download any Tomb Raider games I have on my library.

All download commands on lgogdownloader are case sensitive it seems.
I think Sude's idea to maintain it like this makes sense to avoid confusion with spaces on Linux sh's syntaxes
Depending where you come from it might be hard to get used to, but the more you use it, the more sense it will make in my opinion.
Hi!

Sorry if I didn't explain myself well.

I was referring to the name of the folders where the games are downloaded.

By default the parameter %gamename% is used, my question is if the use of the parameter %title% (or %title_stripped%) exists (or can be implemented).

BR
avatar
riptide981: Hi!
Sorry if I didn't explain myself well.

I was referring to the name of the folders where the games are downloaded.
By default the parameter %gamename% is used, my question is if the use of the parameter %title% (or %title_stripped%) exists (or can be implemented).

BR
I see, sorry for my misunderstanding too!
It seems as something only Sude can answer then. :)
avatar
riptide981: It's posible to get the games downloaded by title (or title_stripped) rather than gamename?
It wasn't possible before but it is now.
367b57c Improve subdir filepath template handling
Adds new templates for subdir options
%title%
%title_stripped%
%dlc_title%
%dlc_title_stripped%

759bb1d Remove dlc-list support and a small change to getting game names
Removes --use-dlc-list and --dlc-list options
Post edited February 16, 2025 by Sude
avatar
Sude: It wasn't possible before but it is now.
Is there an easier way to get remote version of the (non Galaxy) game than using something like this?

local remote_version=$(lgogdownloader --list details --platform l --game $gog_name 2>/dev/null | rg '.*version: (.*)$' --only-matching --replace '$1' | head -1)

The reason is I'm trying to write a script that shows if games are up to date or not and for galaxy I can compare build ids, but for Linux ones I have to rely on versions and reading them by game name is slow since it sifts through all games in the process. Reading it by game id would really speed that up.
avatar
shmerl: Is there an easier way to get remote version of the (non Galaxy) game than using something like this?

local remote_version=$(lgogdownloader --list details --platform l --game $gog_name 2>/dev/null | rg '.*version: (.*)$' --only-matching --replace '$1' | head -1)

The reason is I'm trying to write a script that shows if games are up to date or not and for galaxy I can compare build ids, but for Linux ones I have to rely on versions and reading them by game name is slow since it sifts through all games in the process. Reading it by game id would really speed that up.
Maybe parsing the info from cache file would be easier
lgogdownloader --update-cache
and then parse the info from $XDG_CACHE_HOME/lgogdownloader/gamedetails.json
avatar
Sude: Maybe parsing the info from cache file would be easier
lgogdownloader --update-cache
and then parse the info from $XDG_CACHE_HOME/lgogdownloader/gamedetails.json
I can try that, but it looks like a slow process too, since out of N games I have let's say just 10-15% actually installed, and my script just iterates over installed ones and runs checks comparing local info with remote. Not too fast but not too slow either. Updating full cache is sort of slowish. especially if you have a lot of games since it updates it for all of them.

If there was a way to limit updating that cache by the list of game ids - that could speed things up quite a bit.
Post edited 5 days ago by shmerl
avatar
shmerl: If there was a way to limit updating that cache by the list of game ids - that could speed things up quite a bit.
I would not bother with that. You can simply run the --update-cache operation in a daily cron job, then forget about it.
I'm using lgd mainly to download my library to an external hdd for backup. Today, while browsing the folders, I noticed one of them was empty(no installer). I tried running it with the --repair flag, but all it did was give a "File doesn't exist" message, not just for that game, but a few others.

What would be the correct way to make sure the missing files get downloaded to their respective folders?

Edit: decided to take my chances and just run the normal download and it got all the missing files back without additional blaot, so all seems well. No idea why they were missing in the first place, though.
Post edited 3 days ago by leveste
After the most recent GIT commit, lgogdownloader now does create for every DLC of a game its own subfolder: https://imgur.com/a/AT5uZfk

configuration is

``
automatic-xml-creation = true
cache-valid = 720000
check-free-space = false
chunk-size = 10
curl-verbose = false
directory = /storage/spiele/GOG
dlc-list = https://raw.githubusercontent.com/Sude-/lgogdownloader-lists/master/game_has_dlc.txt
exclude =.
include = all
include-hidden-products = true
info-threads = 16
insecure = false
language = de+en
limit-rate = 0
lowspeed-rate = 200
lowspeed-timeout = 30
no-color = false
no-duplicate-handling = true
no-fast-status-check = false
no-remote-xml = false
no-subdirectories = false
no-unicode = false
platform = windows
progress-interval = 100
retries = 3
save-changelogs = true
#save-game-details-json = true
save-icon = true
save-logo = true
save-product-json = true
save-serials = true
size-only = false
subdir-dlc = .
subdir-extras = .
subdir-game = %gamename_transformed%
subdir-installers =.
subdir-language-packs = .
subdir-patches = .
threads = 10
timeout = 10
trust-api-for-extras = false
use-cache = true
use-dlc-list = false
verbosity = 0
wait = 0

``
is there a way to remedy that ?
avatar
coffeecup: After the most recent GIT commit, lgogdownloader now does create for every DLC of a game its own subfolder: https://imgur.com/a/AT5uZfk

is there a way to remedy that ?
I tested this with couple of games that have dlcs but wasn't able to replicate this.
I'm guessing "gamename_basegame" variable is not getting set properly for some reason

Run

lgogdownloader --list json --game xcom_2
and check what "gamename_basegame" is set for dlcs that get placed in their own subfolder
I'm guessing that it's set to empty for some reason
Post edited 3 days ago by Sude