1
0
Fork 0
mirror of synced 2024-05-20 04:22:58 +12:00
Commit graph

1620 commits

Author SHA1 Message Date
lennard da4163ced7
Bump version to 1.10.3 2023-06-11 15:53:07 +02:00
Dummerle c586305927
Merge pull request #294 from loathingKernel/develop
Fixes for DLCs and downloads
2023-06-11 15:50:50 +02:00
loathingKernel b2722b6ceb
RareCore: Init default sections if they are not in the config file.
Fixes: #296
2023-06-11 13:40:00 +03:00
loathingKernel 1f06c87743
ImageManager: Few improvements
Check if there is a `keyImages` attribute before accessing it, and return
an empty list in case it isn't available. Fixes a recent crash with
`Prison Architect - eureka Update 1` DLC.

Exit early from `download_image` if the requested image is currently being
downloaded. This avoids multiple preparations and loading callbacks for
queued images.

Remove checking for supported OS when creating the icon. Now we create
icons in `icns` format for `Darwin` irregardless the fact we don't use them
for anything.
2023-06-05 01:33:11 +03:00
loathingKernel 605a5050af
RareGame: Make owned_dlcs a set
By making the attribute into a set, we avoid adding already existing dlcs
back into it when refreshing the library. Fixes duplicated entries in
the DLC page.
2023-05-29 16:40:45 +03:00
loathingKernel 5307932656
RareCore: Replace individual fetch workers with a single one.
The workers where co-dependent anyways as the non-asset worker
was started after the games worker had sent back its results.
By combining them we can move any data manipulations to the worker
and simplify the handling in RareCore.
2023-05-29 16:40:36 +03:00
loathingKernel 497bdc08cc
Downloads: Remove UNINSTALLING state on cancel 2023-05-29 15:49:52 +03:00
loathingKernel eaed611c5f
GameDlcWidget: Respond to update signal
Using the update signal we can enable and disable the install/uninstall
button by querying the state of the RareGame
2023-05-29 14:32:30 +03:00
loathingKernel d4c763296e
Downloads: Apply DOWNLOADING and UNINSTALLING states earlier
By applying the state earlier, we can implicitly avoid re-queuing
downloads.
2023-05-29 14:30:54 +03:00
loathingKernel 6b0bf9621d
GameDlcWidget: Fix crash when installing or uninstalling a DLC
When the user navigates to a different game info page, the dlc widgets
get deleted. Because the signal was connected to a lambda, the connection
wasn't severed upon deletion and once the DLC would finish downloading,
Rare would crash because the object with the piggyback signal was already
deleted. By using a dedicated slot to emit the signal we ensure that the
connction is severed at Qt object deletion
2023-05-29 03:04:43 +03:00
lennard 3acf289280
Update translations
and update config, so tx push works
2023-05-28 23:30:01 +02:00
lennard 875ba52768
Bump version to 1.10.2 2023-05-26 23:32:50 +02:00
loathingKernel 5ce9a2edfa RareCore: Handle exception when fetching non-asset games
https://discord.com/channels/826881530310819914/884510635642216499/1111321692703305729
There is a tab character in the appId of Fallout New Vegas: Honest Hearts DLC, this breaks metadata storage
on Windows as they can't handle tabs at the end of the filename (?)
Legendary and Heroic are also affected, but it completed breaks Rare, so dodge it for now pending a fix.
2023-05-26 19:11:58 +02:00
loathingKernel 737730583f ImageManager: Check if desktop icons are supported on current plaform
Before creating icons, check if desktop links are supported by Rare
on the current platform.

Fixes Dummerle/Rare#262
2023-05-14 22:13:12 +02:00
lennard ae8cee76ae
Fix crash on launch helper exit 2023-05-08 18:58:49 +02:00
lennard 21a339b394
Finish french translation 2023-05-08 08:46:47 +02:00
Dummerle ea41e85f95
Merge pull request #284 from loathingKernel/develop
Fixes for the next release
2023-05-08 08:44:05 +02:00
loathingKernel 7218f0b696
ImportGroup: Add force import option.
When checked, the check for missing files will be skipped, allowing
for games missing too many files or their executable to be imported.
2023-05-07 16:33:08 +03:00
Stelios Tsampas 23c2f6dc0a RareGame: Return app_title as folder name if FolderName is not in customAttributes
Fortnite specifically doesn't provide `FolderName` in `customAttributes`, meaning we can't create the shortcut. If the attribute is not provided, assume that it is safe to use the application title.

Fixes: #283
2023-05-04 17:45:51 +03:00
Stelios Tsampas 3258c252ba Issues: Update templates to be more informative 2023-05-04 17:06:57 +03:00
lennard 3d0ebf702a
Bump version 1.10.1 2023-05-04 01:03:59 +02:00
Dummerle da92f2cc98
Merge pull request #277 from loathingKernel/develop
Refactor `ImageSize` location and enable "Import Game" button in game information
2023-05-04 01:01:25 +02:00
loathingKernel 3a396d5982
Workflows: Fix tag sorting 2023-05-03 18:47:40 +03:00
loathingKernel e5a56cb0fb
Workflows: Rename "Rare-Windows-<version>.msi" to "Rare-<version>.msi"
Workaround some wildcard abuse
2023-05-03 18:33:06 +03:00
loathingKernel c9df58e3c1
Workflows: Remove set-output and fix cx_freeze_zip checkout 2023-05-03 18:08:06 +03:00
loathingKernel 82128e35ca
RareCore: Use correct typing identifier 2023-05-03 17:27:36 +03:00
loathingKernel 184be66662
ImportGame: Pass app_name through the signal to resolve some information
Not working particularly well, since setting the path tries to auto-detect
the `app_name`, but it doesn't break anything either.
2023-05-03 17:27:36 +03:00
loathingKernel 4a96224dd3
GameInfo: Enable Import Game button, redirects to Import Game tab 2023-05-03 17:27:36 +03:00
loathingKernel 1c6a05c3f1
Refactor: Import ImageSize from widgets or directly from models 2023-05-03 17:27:36 +03:00
loathingKernel 0e4e7420cf
Refactor: Move ImageSize to models
`ImageSize` is a property of `ImageWidget` it is relevant to
`ImageManager` and the store widgets. So move it out of `ImageManager`.
2023-05-03 17:27:35 +03:00
loathingKernel 6986b1eab3
Rare: Apply UTC timezone info on dates 2023-05-03 17:27:35 +03:00
lennard 672bc814ba Fix import game 2023-05-03 12:32:12 +02:00
lennard 62aa78dcae Fix release-tests workflow 2023-05-03 12:32:12 +02:00
lennard 9bb3171a8a Fix release workflow 2023-05-03 12:32:12 +02:00
lennard f8b38e0cb8 Fix desktop shortcuts on windows 2023-05-03 12:32:12 +02:00
lennard ec6f24e3f8 Add tag to hide games from library 2023-05-03 12:32:12 +02:00
lennard 263af75853 Do not set available space text twice in install dialog 2023-05-03 12:32:12 +02:00
lennard 075443261d Show free space in install dialog 2023-05-03 12:32:12 +02:00
lennard b6fc468681 Fix win-zip workflow 2023-05-03 12:32:12 +02:00
lennard fb67c15622
Bump version to 1.10.0 2023-05-01 16:27:26 +02:00
lennard 5cfd3fffe3
Fix offline mode 2023-04-16 19:38:26 +02:00
lennard 30c3dadd4d
Update translations 2023-04-13 01:10:12 +02:00
Dummerle 45595d2143
Fix git url for deb worflow 2023-04-08 01:19:45 +02:00
lennard 42c1a1aaa6 Add a small fix 2023-04-08 01:03:14 +02:00
lennard c876e1fc3a Fix linux and proton settings environment_changed on windows 2023-04-08 01:03:14 +02:00
lennard a06dc7cd0f Use signal.disconnect without parameters 2023-04-08 01:03:14 +02:00
lennard 60da656877 Disconnect all game process signals before stop to prevent exceptions 2023-04-08 01:03:14 +02:00
lennard b48e1603cb Add a signal handler to launch helper 2023-04-08 01:03:14 +02:00
lennard f1fa0ada1a Open cloud save dialog after playing a game, if no action set on start 2023-04-08 01:03:14 +02:00
Dummerle 3f17a69e65
Merge pull request #272 from loathingKernel/fixups
Show environment variables from the "default" section in per-game settings.
2023-04-07 19:37:56 +02:00