1
0
Fork 0
mirror of synced 2024-06-03 03:04:42 +12:00
Commit graph

1543 commits

Author SHA1 Message Date
lennard 574e491cbf
Bump version 1.9.91 2023-03-31 00:16:04 +02:00
lennard 8a0d2b839e
Fix version regex 2023-03-19 22:19:59 +01:00
lennard 639d785bf1
Update version 2023-03-19 22:14:56 +01:00
lennard c48a5ff2f8
Update version 2023-03-19 22:05:30 +01:00
lennard bc69851639
Bump version 2023-03-19 21:45:49 +01:00
lennard 0f34d4ef05
Fix release-tests.yml 2023-03-19 21:42:40 +01:00
lennard f7eb37351e
Disable nuitka workflow and add cx_freeze zip workflow 2023-03-19 21:33:25 +01:00
lennard 554d3557d3
fix auto sync saves 2023-03-19 20:23:44 +01:00
lennard 3874fac402
Sync saves when game finished 2023-03-18 16:14:01 +01:00
loathingKernel 748ff6d9ed RareCore: Detect if a game in saves is from another account.
And some cleanup
2023-03-18 14:42:46 +01:00
lennard 22b8992e55
Update translation_source.ts 2023-03-16 23:31:16 +01:00
Dummerle dfc963870f
Merge pull request #259 from loathingKernel/library_widgets
Redesign library tiles and use RareGame as a model for game information and much other stuff
2023-03-16 23:27:38 +01:00
loathingKernel a768bce996
RareGame: export .egstore only after installing and successful verification 2023-03-16 18:07:33 +02:00
loathingKernel c3231d9e17
Use object instead of ctypes.c_uint64 for signals that carry large ints 2023-03-16 14:04:12 +02:00
loathingKernel ae74d3438b
GameSettings: Use a PathEdit for override_exe
In the process convert to Ui membership instead of dual
sub-classing for those forms
2023-03-16 12:41:50 +02:00
loathingKernel 44590bb92b
Code cleanup
CloudSaves: don't save `save_path` in case it hasn't changed
IconGameWidget/ListGameWidget: Remove dead code
RareCore: add string translations
utils/paths: Use `AppDataLocation` instead of deprecated `DataLocation`
2023-03-16 12:38:33 +02:00
loathingKernel 837b391350
PathEdit: Allow for the completer's root path to be set at runtime.
This allows to complete from relative paths, such use exe override

Fix constructor argument names to follow Qt's types.
Set the same filters as the dialog for the completer.
Use the completer's icon provider for the dialog.

Force Rare to use Qt's file dialog instead of the native one.
2023-03-15 22:49:18 +02:00
loathingKernel 3236a4090c
RareGame: don't delete .egstore if the game is a DLC
VerifyWorker: use RareGame property to apply the verification check
to any DLCs
2023-03-15 21:20:52 +02:00
Stelios Tsampas dc20293abb IndicatorLineEdit: Wrap edit_func inside the QRunnable 2023-03-15 18:25:32 +02:00
Stelios Tsampas 07c64b8b9b GameInfo: Fix enablement check 2023-03-15 18:07:20 +02:00
Stelios Tsampas 2ebc12b1f5 LgdnrCore: Add egstore_write and egstore_delete methods
`egl_unintall` and `egl_export` try to access EGL's programdata folder which raises an exception if the folder doesn't exist (Windows) or it isn't specified (Linux). Copy the relevant bits from LegendaryCore to LgndrCore and create two new methods that only manipulate the `.egstore` folder.
2023-03-15 17:59:33 +02:00
loathingKernel ee6a129be8
RareGameSlim: Resolve save game again if dt_local is None
If the save path wasn't known at startup, dt_local will be None. This led
to the UI displaying wrong information about the local save. Detect that
case and resolve the save's status again.
2023-03-14 15:21:10 +02:00
loathingKernel 5cf802dee7
ProtonSettings: Don't default to a directory when there is no configuration
Defaulting to a directory caused the configuration file to flood with
`STEAM_COMPAT_DATA_PATH` options after IndicatorLineEdit became
 asynchronous
2023-03-14 13:19:51 +02:00
loathingKernel d641d0fcf2
DefaultGameSettings: Less verbose file name 2023-03-14 13:17:43 +02:00
loathingKernel cf4835542d
IndicatorReasonsCommon: Add EMPTY reason 2023-03-14 13:12:42 +02:00
loathingKernel 18ebb6888f
InstallDialog: Allow for some special cases to install 0 size downloads
This specifically helps with games that have selectable downloads.
If we import a game with SDLs without any `install_tags` in the config
we will verify against the full game, meaning that files missing will
cause the verification to fail despite the game being correct. Since the
game is correct, resolving the download will result in a 0 size update.
This change will allow the InstallDialog to finish through the Install
button successfully despite having nothing to install.

On the `lgndr` side things are more complicated. Due to minor oversights
in legendary, the `install_tags` in the above example wouldn't be written
to the configuration file, causing a verification loop because the file
list wouldn't be filtered. To fix that, we also save legendary's config
file at the end of cleaning after a 0 size download.
2023-03-14 12:18:19 +02:00
loathingKernel 0cc521ba0b
RareCore: keep configuration when uninstalling a game at startup
We don't need to lose the `install_tags` or any other settings because
a disk might be not mounted.
2023-03-14 01:20:13 +02:00
loathingKernel b7d499f3e1
RareGame: Add is_ubisoft property 2023-03-13 14:39:14 +02:00
loathingKernel ec5bf7227b
RareCore: Move validation step after RareGame creation 2023-03-13 14:38:47 +02:00
loathingKernel c6a9460044
GameInfo: Fix missin format() argument 2023-03-13 13:18:12 +02:00
loathingKernel 439475dcd1
Downloads: Update queues count at more occasions
Also count active download in the queues
2023-03-13 12:30:27 +02:00
loathingKernel fee1f34451
ImportGroup: Rename button slot 2023-03-13 12:29:33 +02:00
loathingKernel a7b85500f2
RareGame: Clean and export .egstore after updating igame
When importing a game, the first thing being checked for import information
is `<install_dir>/.egstore`. Due to erroneous handling, that directory can
contain multiples of `.mancpn` and `.manifest` files. This could lead to
importing an older version as legendary expects only one pair of these
files to exist in that directory.

The `.egstore` folder is normally updated/created as part of synchronizing
with EGL. To aid with importing games in the future, we always export this
data for Rare to be able to import games between different OSes
2023-03-13 12:29:04 +02:00
loathingKernel a17ffe0426
CloudSaves: Set the labels to "None" even if save_path is not set 2023-03-13 01:11:15 +02:00
loathingKernel e263523a76
ImportGroup: Constrain QStackedWidget from resizing when changing contents
Fix its size to the import button's size.
2023-03-13 00:58:16 +02:00
loathingKernel 97e34d6052
ElideLabel: Improve tooltip handling 2023-03-13 00:54:25 +02:00
loathingKernel 4fd723df2e
RareCore: Show progress while preparing RareGames 2023-03-13 00:04:11 +02:00
loathingKernel c10bd59384
RareCore: Move installation validation into the post init phase
Specifically move it just before loading each game's pixmap. We need
the information set by `__validate_installed` to know which pixmap to
load
2023-03-12 18:59:58 +02:00
loathingKernel a6b10a6ec4
RareGame: Don't emit widget.update in set_installed
`set_pixmap()` handles emitting `widget.update`
2023-03-12 18:57:30 +02:00
loathingKernel fb1175ee04
Main: Trust shebangs. Fixes launching games on NixOS
Co-authored-by: multisn8 <contact@multisamplednight.com>
2023-03-12 15:38:18 +02:00
loathingKernel 801294b1ea
RareCore: Resolve grant date from entitlements at post init 2023-03-12 14:43:54 +02:00
loathingKernel 8a15691672
CloudSaves: Set age labels to "None" if game doesn't support cloud saves 2023-03-12 14:15:43 +02:00
loathingKernel 404ce26ec9
ElideLabel: Don't override tooltip if one is set externally 2023-03-12 13:38:10 +02:00
loathingKernel 16400da020
Clean-up 2023-03-12 13:19:24 +02:00
loathingKernel f46dc2209d
RareCore: Move save game fetching into __post_init
Saves is another thing we can fetch later and interact to them becoming
available.
2023-03-12 13:09:09 +02:00
loathingKernel 85998023f0
RareCore: Add asynchronous loading in RareCore for origin and entitlements
Speeds up startup by moving non-essential information loading into a
worker that executes some time after the launch dialog has finished.
2023-03-12 12:44:43 +02:00
loathingKernel f0ba7a7e45
RareCore: Rename RareCore.__games to RareCore.__library
Since RareGame can be both games and dlcs, use a generic name to avoid
confusion
2023-03-12 12:22:44 +02:00
loathingKernel 95c2b07d1e
ImageWidget: Don't try to paint the widget if painter is not active yet.
When the UI is being instantiated we might trigger some painting. This
squashes warnings in the output.
2023-03-12 12:19:46 +02:00
loathingKernel 4e1248a18a
RareCore: Move OriginWineWorker execution in load_pixamps()
We don't need to know if Origin is installed before launching the window,
so we can save on startup time by executing the worker after the window
has become visible.
2023-03-12 01:11:27 +02:00
Stelios Tsampas b2f19852d0 CloudSaves: Allow path on Windows to not exist
Unlike Linux, we can be sure that the path is correct and it will be
created when the user downloads the saves.
2023-03-11 12:51:55 +02:00