1
0
Fork 0
mirror of synced 2024-06-02 18:54:41 +12:00
Rare/rare/lgndr
loathingKernel 9b856e5f8e InstallDialog: Allow downloading 0 size DLCs
There are DLCs (for example KingletAztec) which are essentially
entitlements, a single file the allows access to already downloaded
content. Updates for such DLCs only change the metadata version number
without any actual new data. These DLCs are handled correctly by the
DLM, but our dialog would refuse to allow installing them due to 0 download
size. This change allows them to pass through the InstallDialog.

The other issue, which I don't know if it was only a result of our faulty
validation at startup or could occur in legendary too, is that a DLC might
be marked with needing verification. Currently we don't have a way of
verifying DLCs, so when verifying the game, we will also set the same
state for any installed DLCs. In effect verifying the game successfully
will also mark any DLCs as correct.
2023-02-17 10:37:44 +02:00
..
downloader Lgndr: Restructure module to follow legendary's file hierarchy 2022-10-29 14:50:18 +03:00
glue fix ValueError: 'mutable default X for field indirect_status is not allowed: use default_factory' 2022-12-05 20:09:17 +01:00
models Lgndr: Restructure module to follow legendary's file hierarchy 2022-10-29 14:50:18 +03:00
__init__.py Lgndr: Create argument models for consistent function arguments and cleaner implementation. 2022-08-02 10:42:38 +03:00
cli.py InstallDialog: Allow downloading 0 size DLCs 2023-02-17 10:37:44 +02:00
core.py Code cleanup 2023-02-07 13:06:08 +02:00