loathingKernel
5748d0e6ee
RareCore: Manage initialization in RareCore instead of LaunchDialog
...
This is the last change of the `backend_refactor` branch. This makes
`RareCore` the centerpiece of Rare by moving initialization before the UI
is brought up. RareCore is now in control of creating and querying `RareGame`
objects, re-introducing the ability (incomplete) to refresh the games library.
As a result, ApiResults has been removed.
Signed-off-by: loathingKernel <142770+loathingKernel@users.noreply.github.com>
2023-03-07 17:11:21 +02:00
loathingKernel
34a13ea3b2
ApiResults: Mirror the way RareCore
from refactor_backend
handles non asset items
...
`LegendaryCore.get_non_asset_library_items()` returns the same tuple
for `game_list, dlc_dict` as for regular games with assets, so
keep the result for API completeness, since `RareGame` can handle those
games properly.
2023-02-07 13:04:33 +02:00
Stelios Tsampas
d5d795ce79
Paths: Query paths after the OrganizationName
and ApplicationName
have been set
...
At the point they were evaluated, `OrganizationName` and `ApplicationName` are unset
resulting in wrong paths. As a quick fix, explicitly set them to their later values
Per OS examples:
Windows:
before:
data: C:\Users\<user>\AppData\Local
cache: C:\Users\<user>\AppData\Local\cache
after:
data: C:\Users\<user>\AppData\Local\Rare\Rare
cache: C:\Users\<user>\AppData\Local\Rare\Rare\cache
2022-09-08 01:27:37 +03:00
loathingKernel
3ecbae0564
Utils: Rename utils.py
to misc.py
to not confuse PyCharm checker
2022-08-02 10:42:38 +03:00
loathingKernel
5eb3ae7f80
Add SlidingStackedWidget from #196
2022-06-22 16:53:26 +03:00
Dummerle
4db4dfa0da
Fix infinite loading bug in shop
2022-06-12 00:20:15 +02:00
Stelios Tsampas
d6ef44b2f9
Rare: Implement global objects as functions that return a single instance
2022-02-25 20:22:45 +02:00
Dummerle
2e6890bfd9
Move appdata paths to utils/paths.py to avoid crashes, if PyQt5 does not exist (deb workflow)
2022-02-17 00:04:53 +01:00
Dummerle
baa5df380b
Images from store are saved for runtime
2022-02-05 16:03:21 +01:00
aznd
9b59707a10
Unify strings formatting ( #158 )
...
* Part 1: Unifying strings
* Part 2: Unifying strings
* Part 3: Unifying strings
* Fix missing close bracket
* Remove unneeded str()
2022-02-01 22:29:34 +01:00
Dummerle
018705626a
Remove Debug prints
2022-01-09 00:32:37 +01:00
Dummerle
3fb34590f1
Fix store: No games were shown
2022-01-08 23:01:17 +01:00
Dummerle
0bc15be1f6
Fix Icon error for Ubuntu LTS, which uses QtAwesome 0.4.4
2022-01-05 15:44:29 +01:00
Dummerle
0698231ca0
Fix bug, if no mac games exist + small memory leak
2022-01-04 21:35:45 +01:00
Dummerle
78c0a74692
Fix some small issues
...
- shop: fix overlaying widgets
- launch_dialog.py dlg: error when catching exception
- fix exit in offline mode
2021-12-31 01:03:37 +01:00
Stelios Tsampas
8f89eb6e88
Rare: pass through Black formatter
2021-12-27 00:37:13 +01:00
Davide Galilei
4c9090c24d
Fixed crash issue in Store tab
2021-12-22 19:16:33 +01:00
Dummerle
802d4b3df0
Fix some errors in shop
2021-12-22 18:30:14 +01:00
Dummerle
e370841532
Fix many bugs:
...
- launch command
- offline mode
- shop search results shows more than 1 game
2021-12-09 20:03:34 +01:00
Dummerle
2bc09b957e
Add tab widget to system requirements in shop_game_info
2021-12-05 19:47:05 +01:00
Dummerle
026d5374a3
Add Multiplatform support for MacOS and Win32
2021-12-05 19:47:03 +01:00
Dummerle
dc0e320f82
Show text in shop, if no games matching filter
2021-11-30 22:53:44 +01:00
Dummerle
b60fb43568
Some fixes and optimization
2021-11-29 01:23:33 +01:00
Dummerle
8d4f25b8c2
More Fixes and cleanup:
...
- downloads: fix delete_later() and set installed widget and dl progress on same value
- about: use qt requests, to avoid long startups
- fix offline mode bugs
- set TextLabels in Store invisible
- fix origin launch
- remove unused files
2021-11-28 00:50:02 +01:00
Dummerle
4c9ef8acd8
Many fixes:
...
- store: updated epic api + many other fixes
- installing widget has now no border
- disable startmenu and desktop link on unsupported os
2021-11-22 20:02:58 +01:00
Dummerle
f5f1a889c6
Fix many bugs: store, game launch with confirmation; changed some info to debug logs; regenerate placeholder.ts
2021-11-19 23:58:07 +01:00
Dummerle
b0125ba020
Many optimizations, bug fixes and other small fixes
2021-11-13 00:34:35 +01:00
Dummerle
8e94f1d6f5
Fix wishlist, if empty
2021-11-07 01:19:37 +01:00
Dummerle
532bdf1904
Fix some errors in shop, if api request fails
2021-11-01 20:17:45 +01:00
Dummerle
a5f26c8a23
Rename shared.legendary_core to core
2021-10-14 23:18:13 +02:00
Dummerle
4f25fd8a20
Update new Signal System
2021-10-14 23:05:00 +02:00
Dummerle
4955902c9a
Fix open webbrowser in store with wrong language
2021-10-08 23:55:30 +02:00
Dummerle
b07f70060b
Fix Bug, that requirements are not visible
2021-09-19 20:41:03 +02:00
Dummerle
e79bee57c0
Some fixes for pylint and workflow
2021-09-18 17:21:43 +02:00
BuildTools
740153bd0d
Fix create startmenu/desktop link
2021-09-18 16:34:43 +02:00
Dummerle
ffa5976805
Many fixes, optimizations and improvements: Gameinfo page for origin games
2021-09-15 22:16:50 +02:00
Dummerle
bb4f08691a
Fix set locale to legendary locale + reformatting
2021-09-13 20:24:09 +02:00
Dummerle
c07992b982
Fix some memory leaks and some other errors
2021-09-12 23:28:54 +02:00
Dummerle
152c1a326d
Some fixes in shop: Images, try/except
2021-09-12 21:38:48 +02:00
Dummerle
d11cc7abf3
add legendary submodule and rename custom_legendary to legendary in imports
2021-09-06 21:10:18 +02:00
Dummerle
648fd6fd7f
Add price to game widget
2021-09-05 21:52:47 +02:00
Dummerle
f8560b206f
Add socail links to game info
2021-09-05 21:25:57 +02:00
Dummerle
2c2c1cc9ad
Remove debug prints
2021-08-28 19:43:54 +02:00
Dummerle
be8ce667eb
Some fixes
2021-08-25 22:08:24 +02:00
Dummerle
9048e4790e
Fix some issues
2021-08-25 20:41:10 +02:00
Dummerle
cc54474e75
Add Wishlist tab in store
2021-08-25 20:25:10 +02:00
Dummerle
8fbf0bcacf
Merge Browse and free games in one tab
2021-08-25 00:01:53 +02:00
Dummerle
df5da90292
New api core for store requests
2021-08-22 22:22:17 +02:00
Dummerle
ff0ba4c544
Add wishlist offers in Store
2021-08-18 22:17:14 +02:00
Dummerle
59a7359e19
Set cache_dir and data_dir in one place (xdg)
2021-08-08 00:49:27 +02:00