derrod / legendary

Legendary - A free and open-source replacement for the Epic Games Launcher
https://legendary.gl/discord
GNU General Public License v3.0
4.59k stars 161 forks source link

Download Unreal Engine partially with "Core Components" #664

Closed BorMor closed 3 weeks ago

BorMor commented 3 weeks ago

Hello, I want to download Unreal Engine 5 partially, only Engine and Source Code for example.

I use legendary.exe list-files UE_5.4 and it produces

*** billion files here ***
[cli] INFO: Install tags: editor_symbols, engine_source, platform_Android, platform_IOS, platform_Linux, platform_TVOS, starter_content, templates

But Engine itself isn't present there. So when I try legendary install --install-tag engine_source UE_5.4

[DLM] INFO: Found 0 missing files.
[DLM] INFO: Found 232666 files to skip based on install tag.
[DLM] INFO: Remaining files after filtering: 25941
[cli] INFO: Install size: 336.88 MiB
[cli] INFO: Download size: 63.90 MiB (Compression savings: 81.2%)

Looks like that's only a engine_source without Engine

How it looks inside EGS image

Describe the solution you'd like I don't know how exactly EGS works, but maybe "Core Components" are all files which not included in any install tags?

May be legendary needs option "--exclude-install-tag" where I may list all not interesting tags?

Describe alternatives you've considered

Or maybe there are files that not present in any tags, make "meta" install tag excluded for example, which will download files not listed in any tags?

Additional context

Or maybe I just wrong how it works, and maybe there are already working solution but I didn't read the legendary's docs carefully enough.

derrod commented 3 weeks ago

What you want is to install the "empty" install tag via --install-tag ""

BorMor commented 3 weeks ago

Ohhh, I tried --install-tag "", but powershell needs to escape quotes --install-tag `"`", now it works. Thank you