Commit graph

8943 commits

Author SHA1 Message Date
Henrique Faria Ribeiro 75593840a9 Partial fix PGA, If all files are present in cache, it is possible to use PGA now 2023-08-09 13:13:35 -03:00
Henrique Faria Ribeiro 3c303e5898 File Collection allow user to select main installer exe fot Gog files 2023-08-09 12:06:45 -03:00
lunaria-bee 0c663bc73f Style correction 2023-08-08 22:41:34 -07:00
lunaria-bee 8a7729ddb4 Added sortname field 2023-08-08 22:41:34 -07:00
Daniel Johnson 588514aafc Fix rebase whoopsie! 2023-08-08 22:39:58 -07:00
Daniel Johnson d7df34b3fc Name the specific game or runner in the search options
It's less good that the title bar, but better than nothing.
2023-08-08 22:39:58 -07:00
Daniel Johnson a9a1078270 Supply missing super() call 2023-08-08 22:39:58 -07:00
Daniel Johnson 3ee29a1560 Hide the search on the game configuration tab if there are less than 8 options, and the advanced switch if there are no advanced settings. 2023-08-08 22:39:58 -07:00
Daniel Johnson 2debe43c70 Also search option's help text, if present. 2023-08-08 22:39:58 -07:00
Daniel Johnson 0455a51d05 Fix pylint lintage 2023-08-08 22:39:58 -07:00
Daniel Johnson 2717a50fda Hook up the runner search to also use the header bar search entry
This way the search entry does not scroll off-screen anymore.
2023-08-08 22:39:58 -07:00
Daniel Johnson de7c45b4f1 Hook up the search entry to work in the Preferences dialog also 2023-08-08 22:39:58 -07:00
Daniel Johnson 7b115a00be First cut at sticking a search entry in the configuration dialog header bar.
It does not work in the preferences dialog yet.
2023-08-08 22:39:58 -07:00
James North 6d6c8b0de4 Implement Locale Selector in Install Wizard (closes #4935) 2023-08-08 22:38:29 -07:00
James North 259c4f4336 Make Locale dropdown searchable (fixes #4933) 2023-08-08 22:37:38 -07:00
Mathieu Comandon 6797f9774b Update the yuzu runner to AppImage 2023-08-08 21:26:28 -07:00
Mathieu Comandon 2cc23898a4 Switch xemu to AppImage, disable runtime 2023-08-08 21:00:06 -07:00
Henrique Faria Ribeiro 3630b02aab New InstallerFileCollection to handle big numbers of files being downloaded, amazon and gog using file collections 2023-08-08 17:17:20 -07:00
tridoxx dd6df02c66 Update es.po
The word shaders is not necessary to translate since shaders are a standard English word to refer to them in Spanish, the translated word is not used.
2023-08-06 18:50:27 -07:00
Daniel Johnson 14e3f7db55
Merge pull request #4962 from WebSnke/German
Update German translation
2023-08-05 15:06:00 -04:00
Sönke Joppien 58737b7c30 Update German translation 2023-08-05 16:08:50 +02:00
Daniel Johnson 660647a4c9 Query the gamescope --help output to find out what options to pass for FSR.
To do this, I've replaced the unused log_errors option with capture_errors, which appends stderr onto stdout.

Resolves #4908 for real this time.
2023-08-04 19:09:02 -04:00
Mathieu Comandon 55fbf6d35d Do not pin wine version during install 2023-08-04 04:37:21 -07:00
Mathieu Comandon 15c5ab91c6 Should be a not 2023-08-04 04:30:09 -07:00
Mathieu Comandon cf556196e5 Query all runtimes in a single request, send PCI IDs to receive appropriate runtime versions 2023-08-04 03:31:30 -07:00
Mathieu Comandon fb8178db68 Add missing Cairo version requirement 2023-08-01 19:08:05 -07:00
Mathieu Comandon 57bff0a2ae Autosort imports 2023-07-31 12:16:09 -07:00
Mathieu Comandon 3cb3a258ea Add function to query runtime + runner versions 2023-07-31 12:15:18 -07:00
Mathieu Comandon 9c1f5d7b0a Extract shader cache function to own module 2023-07-31 12:15:18 -07:00
Daniel Johnson 320dd74ac5 Correct checks for advanced visibility
We don't actually care if there is a game or runner here; just whether the box is there.
2023-07-30 09:57:43 -04:00
Daniel Johnson a5d3a04aee Use the runner's config for the Wine version if the script has no Wine version, and it's not an extension.
However, if there is no runner level setting explicitly set, we continue on to the 'download the latest Wine from Lutris' logic.
2023-07-28 19:03:46 -04:00
Daniel Johnson 97b68f5abc Provide a better error message for missing FlatPak configuration elements 2023-07-27 19:15:16 -04:00
Daniel Johnson 775290c207 Rework the special Wine version lookup
The raw config sections aren't the right thing; we need to look at the 'levels', which contain the settings loaded from .yaml files, so we will see them if they are in the files, and not if they weren't.

This still avoids picking up the normal default version, but should see explicitly set versions better.

Resolves #4950
2023-07-27 18:55:12 -04:00
Daniel Johnson daabfe4393 Better error handling when the prefix is missing 2023-07-27 18:35:32 -04:00
Daniel Johnson b409392aab Add error dialogs in the game bar.
It beats crashing!
2023-07-27 18:27:36 -04:00
Daniel Johnson f62feaef06 Update the 'Show Lutris' item in the indicator menu to 'Hide Lutris' when appropriate.
Also, it's okay to hide the window when a hidden transient is present.
2023-07-19 19:09:04 -04:00
Daniel Johnson 9b43e767d3 Center the InstallerWindow spinner
This looks less goofy on Ubuntu.
2023-07-18 19:02:43 -04:00
Daniel Johnson cd66ba2d2d Tweak 'is_game_displayed' to work on Lutris categories again.
This means 'Remove from favorites' will cause the game to disappear from the favorites view immediately.
2023-07-15 16:01:29 -04:00
Mathieu Comandon 3e346b7ec6
Merge pull request #4926 from lutris/dj/missing_badge
Badge for missing games
2023-07-14 17:06:53 -07:00
Daniel Johnson 9fb8a27990 Replace the 3/4 fudge factor with an exact scale factor.
This will make the 'Missing' badge exactly the height of the platform badges.
2023-07-11 18:50:19 -04:00
Daniel Johnson 2e67624e51 Restore some commas that I deleted by accident 2023-07-09 14:02:36 -04:00
Daniel Johnson 1ac20c55b5 Remove COL_MISSING in favor of COL_ID
By using the game ID, we can only check for the directories of the games you can see. That should make this perform well even on big libraries.
2023-07-09 13:55:23 -04:00
Daniel Johnson be366abb72 Tidy and comment the 'Missing' text rendering. 2023-07-09 13:43:27 -04:00
Daniel Johnson b9b96a4f0c Add in memory caching for the patch cache
Just use @lru_cache() to keep it, and just discard it entirely on any change. Nothing clever, but this should allow for quick lookups from StoreItem.

I am not caching the actual missing status because the user could fix this by renaming things, and that would leave us with a stale cache. Let us hope we don't need that cached.
2023-07-09 09:56:45 -04:00
Daniel Johnson 668cd25220 Add a 'missing' column for the game store; use this to display a badge in teh grid view.
The initialization of this thing is not very efficient though.
2023-07-09 09:48:03 -04:00
Daniel Johnson 89b191af70 Add a method to render textual badge 2023-07-09 09:48:03 -04:00
Daniel Johnson 8d26b0a3a1 Factor the badge color and size data into fields - so it can be shared more easily
Yeah, this is skanky, but we're passing so many parameters its getting silly.
2023-07-09 09:48:03 -04:00
Daniel Johnson cc32b06bde Avoid prelaunch if the prefix is missing, and also assume a WINE arch that matches the system.
This allows Lutris to proceed until it gets to the 'exe not found' error.
2023-07-09 09:47:45 -04:00
Daniel Johnson fc0f08bdf1 Oops, we actually do want the display name.
This code will piece it together if it appeared to have spaces in it.
2023-07-02 10:00:47 -04:00
Mathieu Comandon 54480f1c69
Merge pull request #4920 from Zynetic/master
Add dxvk_version to installer documentation
2023-07-01 17:31:15 -07:00