Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A small number of fixes that could be made into a minor release #312

Merged
merged 37 commits into from
Dec 3, 2023

Conversation

loathingKernel
Copy link
Contributor

@loathingKernel loathingKernel commented Nov 20, 2023

Changelog

Features

  • Add Modify button in Game Information to allow installing/uninstalling selectable downloads after the initial installation.
  • Redesigned/Remade the Ubisoft Redemption page in Integrations.
  • Add the ability to modify wrapper commands in Game Settings.
  • Add toggle for compiler hud option in DXVK.
  • Make bringing up the interface on startup smoother and more responsive.
  • Updated loading animation.

Bug fixes

  • Fix wrapper order in Game Settings not saving.
  • Fix a problem with spawning multiple dialogs, and other weirdness, after refreshing the library.
  • Update minimum required legendary version to 0.20.33

…n game

Move validation after the DLCs have been added so the can be uninstalled
too if the game can't be found.
The order was determined by the order of the container dictionary entries.
Re-order them before returning the list by their index in the container
widget.

Fixes RareDevs#304
Truncate the widget's text down to the command only without the arguments.
Show the full command with the arguments in the tooltip instead.

Update some text.
Internally this works by removing the old wrapper and adding a new wrapper
int the same index.
Removed some superfluous variables that were already exposed through
RareGame and moved around some block to correct initialization errors
after moving to instance attributes
Add icons to the DLC install/uninstall buttons
RareCore was connecting RareGames to the same signals
multiple times when the library was refreshed.
* Load and populate Ubisoft information when the page is shown instead of startup.
* List all Ubisoft games, and differentiate based on whether they been redeemed.
This widget is currently unused and could be deleted
Previously a lot of things would start running concurrently at
startup as we were setting up the UI. This removes a considerable
amount of perceived delay.

Note: there are better ways to make sure forms are populated when they
are viewed, such as each widget's `showEvent()`
After the PathEdit change that stopped it from emitting the
textChanged signal when instatiated, the available space
calculation wouldn't take place, so do it when the dialog
becomes visible.
Instead of loading images in the showEvent of the MainWindow,
load them in the showEvent of each widget. It seems to reduce
the startup stuttering this way. With some more work
we can only load the images for the widgets that are currently
visible and reduce the stutter even more.

At the same time, reduce the number of concurrent downloads
in the image manager and add a timeout so we won't halt.
The exception from the timeout is just logged at this point,
and the download is not requeued.
Spontaneous are events external to the application such as the window
manager showing or hiding the application. We don't want to update on those.
* Don't hide irrelevant elements in Windows, disable them and use them as information
* Create the `Manifests` folder in ProgramData if its parent exists.
Revert this commit once the new version of Legendary (`>0.20.33`) is released
@loathingKernel
Copy link
Contributor Author

loathingKernel commented Dec 2, 2023

If there are no objections I will be merging this later today. Legendary's developer said they will be releasing a new version soon, which will probably break our lgndr glue code. I have made the necessary changes and reverted them for now, so I will wait to see if they release today. If they don't do so until tonight, let's make the new release then.

Revert this commit once the new version of Legendary (`>0.20.33`) is released
These properties or methods were moved to RareGameBase
* `version`: For RareEosOverlay and maybe RareGameSlim
* `is_origin`: For RareGameSlim
* `install_path`: A partial Origin-unaware version
* `is_mac/is_win32`: For completeness

New methods
* `is_overlay`: For the download manager

Signed-off-by: loathingKernel <142770+loathingKernel@users.noreply.github.com>
@loathingKernel
Copy link
Contributor Author

I tested it through Wine today, and it works there too. Merging.

@loathingKernel loathingKernel merged commit c7efe36 into RareDevs:main Dec 3, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant