1
0
Fork 0
mirror of synced 2024-06-02 10:44:40 +12:00
Rare/rare/shared
loathingKernel 1677ea762c
FetchWorker: Fix issue with missing MacOS assets on MacOS
Using `LegendaryCore.get_game_and_dlc_list` with platform `Windows`
updated the assets only for the `Windows` builds of the games missing
`Win32` and `MacOS` assets on clean installs. This caused Rare to not
include MacOS install options on MacOS (duh!). This might also have been
the cause that users were unable to launch games, since they where only
offered the `Windows` build of the games (big duh!).

To fix this, fetch the assets for `Win32` and `MacOS` games before getting
the final list of games and dlcs based on the `Windows` platform.

In this regard, also re-use the existing options for getting metadata to
give the option to the user to include them when updating assets. Also add
an option to include Unreal engine assets which until now were fetched
unconditionally.

* Include Unreal: When the user option is `true` or debugging.
  Defaults to `false`
* Update Win32: When the user option is `true` or debugging.
  Defaults to `false`
* Update MacOS: Force on MacOS, when the option is `true` or debugging on
  other platforms. Defaults to `true` on MacOS and is disabled,
  `false` on others

Furthermore, respect legendary's `default_platform` config option and
set it in the config on new configurations. The new method in our
LegendaryCore monkey allows us to use that option in RareGame when doing
version checks on not installed games, and not defaulting to `Windows`.

Finally, set `install_platform_fallback` to false in a new config to
avoid unwanted side-effects.
2023-12-15 16:57:32 +02:00
..
workers FetchWorker: Fix issue with missing MacOS assets on MacOS 2023-12-15 16:57:32 +02:00
__init__.py RareCore: Manage initialization in RareCore instead of LaunchDialog 2023-03-07 17:11:21 +02:00
game_process.py GameProcess: Don't spam with not found processes on startup 2023-12-07 19:39:07 +02:00
image_manager.py Library: Move image loading from RareCore to the GameWidget 2023-11-29 12:50:02 +02:00
rare_core.py FetchWorker: Fix issue with missing MacOS assets on MacOS 2023-12-15 16:57:32 +02:00