loathingKernel
2bf41f20d1
Lgndr: Match the arguments of legendary's get_boolean_choice
2022-08-02 10:42:38 +03:00
loathingKernel
d05f74b286
ImportGroup: Add option to import DLCs
2022-08-02 10:42:38 +03:00
loathingKernel
14087a3c6c
Lgndr: Add default implementation for get_boolean_choice
that returns False
2022-08-02 10:42:38 +03:00
loathingKernel
b4a1efa357
Lgndr: Add 'repair_and_update' argument in InstallOptionsModel
2022-08-02 10:42:38 +03:00
loathingKernel
aeb149a3e9
Lgndr: Use custom wrapped
decorator to wrap LegendaryCLI functions
...
Lgndr: Add `get_boolean_choice` to relevant args dataclasses
Lgndr: Move mock functions to `api_monkeys`
InstallDialog: Add status queue to prepare_overlay_install arguments, fixes missing download stats
2022-08-02 10:42:38 +03:00
loathingKernel
545d77ef07
Lgndr: Expose 'resolve_aliases' for outside usage
2022-08-02 10:42:38 +03:00
loathingKernel
3aae3887f6
Lgndr: Create argument models for consistent function arguments and cleaner implementation.
...
Lgndr: Prefix files that aren't part of legendary with 'api_'
Lgndr: Return statistics from 'verify_game' instead of parsing the exception
VerifyWorker: Add 'error' signal for exceptions.
2022-08-02 10:42:38 +03:00
loathingKernel
197f915fb3
InstallOptionsModel: Rename fields to use the same names as Legendary's arguments
2022-08-02 10:42:38 +03:00
loathingKernel
883bd268ff
Mirror Legendary classes structure in the shim.
...
Lgndr: Move code segments copied from `prepare_download` back to their original location in `install_game`
Lgndr: Add the LgndrLogHandler at initialization instead of every function.
Lgndr: Move `verify_game` to its original place in `LegendaryCLI`
Lgndr: Change the way DLManager is patched into LegendaryCore proper
Shared: Add singleton for LegendaryCLI, LegendaryCoreSignleton returns core from LegendaryCLI
VerifyWorker: Update to use `verify_game` from `LegendaryCLI` directly
PreLaunchThread: Initialize LegendaryCLI to get LegendaryCore from it
InstallDialog: Update `prepare_install` argument names
2022-08-02 10:42:38 +03:00
loathingKernel
3892f4a594
ImportGroup: Update the shim stuff for the import worker
2022-08-02 10:42:38 +03:00
loathingKernel
51c45015a4
InstallDialog: Remove unused arguments
2022-08-02 10:42:38 +03:00
loathingKernel
2c2f44c97c
Use a loggin handler in stead of monkeypatching for raising LgndrException
2022-08-02 10:42:38 +03:00
loathingKernel
99ab488820
Pass the correct status queue and monkeypatch run_real in prepare_download
2022-08-02 10:42:38 +03:00
loathingKernel
ad81546b35
Adjust EGLSyncGroup to use LgndrException
2022-08-02 10:42:38 +03:00
loathingKernel
c302775acd
Remove dead code from EGLSyncGroup
2022-08-02 10:42:38 +03:00
Stelios Tsampas
04a76ed2ff
Include PoC implementation of LegendaryCLI
for the import_game
method
2022-08-02 10:42:38 +03:00
Stelios Tsampas
e58d33ee5d
Create shim legendary classes for overloaded functions
2022-08-02 10:42:37 +03:00
Dummerle
e6fc2323f1
Do not exit console, when game exited
2022-08-01 01:22:37 +02:00
loathingKernel
e005423d0a
GameUtils: Remove functions moved to LaunchHelper
2022-07-11 23:07:00 +03:00
loathingKernel
43c8cf8b52
LaunchHelper: Move console into the game_launch_helper folder
...
LaunchHelper: Log stderr to the console
2022-07-11 22:18:26 +03:00
loathingKernel
406cfc136f
ImportGroup: Close file after reading app_name
2022-07-11 22:18:26 +03:00
Dummerle
165b289c4f
Remove extra information for eos overlay
2022-07-10 22:00:35 +02:00
Dummerle
87ea29d005
Fix appname error in game_info.py and error in postinstall
2022-07-10 01:18:19 +02:00
loathingKernel
0d6c9a8505
ImportGroup: Show messagebox when importing multiple games (scanning install folder)
...
I moved around a few things because the separate lists felt like they
would make the handling a bit complicated.
2022-07-02 22:19:40 +03:00
loathingKernel
76cd33054a
EGLSyncListGroup: Move message box outside of thread to prevent "parent in other thread" crash
2022-07-02 11:48:33 +03:00
Dummerle
667ca0ecb6
Move import games to separate thread
2022-07-01 17:43:25 +02:00
Dummerle
93c732401c
Fix error after uninstalling, if action in tray icon does not exist
2022-07-01 17:03:18 +02:00
Dummerle
35f4807a26
Fix Attribute error on too old Qt version
2022-06-29 21:45:15 +02:00
loathingKernel
1ad5413e02
LibraryWidget: Always update the progress label to work-around layout issue
2022-06-26 14:31:12 +03:00
loathingKernel
b8668854db
Move the installed and available games count to the head bar.
...
Moving them to the head bar makes the library containers
simpler structurally as there the library's frame can be removed.
Remove games_tab UI files as they were getting very thin,
what they contained is being setup manually instead
Signed-off-by: loathingKernel <142770+loathingKernel@users.noreply.github.com>
2022-06-25 19:21:24 +03:00
Stelios Tsampas
61a2a6781d
Add window hint to keep minimize button while still disabling close button
...
Disable reject method for launch dialog
Don.t update the assets again for the 32bit and mac games by waiting for ImageWorker to finish
2022-06-24 11:29:41 +03:00
Dummerle
7cba799d21
Merge pull request #220 from loathingKernel/fixups
...
Bug fixes for merged features
2022-06-23 22:13:57 +02:00
Dummerle
583f75d235
Fix some errors
2022-06-23 22:01:14 +02:00
Dummerle
43369ae143
Revert "Add a restart function in debug settings to easier test game helper"
...
This reverts commit cbf51b6bb7
.
2022-06-23 20:11:09 +02:00
loathingKernel
367f6cf0eb
Add window buttons to Launch and Login Dialogs
2022-06-23 20:39:43 +03:00
loathingKernel
7dbe414b87
Pass edited files through black
2022-06-23 18:05:04 +03:00
loathingKernel
145bc5f540
Use SlidingStackedWidget for the login dialog.
...
Also fixes the login window missing dialog type hints for the window manager.
Signed-off-by: loathingKernel <142770+loathingKernel@users.noreply.github.com>
2022-06-23 17:57:29 +03:00
loathingKernel
fe40dac368
Don't show the installing widget for Epic Overlay and DLCs
...
Signed-off-by: loathingKernel <142770+loathingKernel@users.noreply.github.com>
2022-06-23 17:54:26 +03:00
Dummerle
d8a766e756
Fix missing icon font prefix for LTS distros
2022-06-22 20:06:38 +02:00
loathingKernel
9e394f9981
GamesTab: Create methods for repeated widget removal and deletion code segments
...
HeadBar: Compact the headbar, re-use ButtonLineEdit from shop for the search function
SelectViewWidget: Remove content margins and make widget naming consistent
Signed-off-by: loathingKernel <142770+loathingKernel@users.noreply.github.com>
2022-06-22 20:00:00 +03:00
loathingKernel
5eb3ae7f80
Add SlidingStackedWidget from #196
2022-06-22 16:53:26 +03:00
Dummerle
b3843b095f
Merge pull request #215 from aznd/enhancements_moving_game
...
Small enhancements in moving game
2022-06-20 22:32:46 +02:00
loathingKernel
08ab130c5c
LibraryLayout from #196
...
Introduces the LibraryLayout from #196 .
This layout distributes the available space in either horizontal side and in-between the widgets.
Known issues: When searching for a game, it will re-align visible widgets, effectively centering the results.
This is because the search and grouping functions are interleaved. #196 handles it differently by adjusting
the opacity and re-ordering of the irrelevant widgets.
Signed-off-by: loathingKernel <142770+loathingKernel@users.noreply.github.com>
2022-06-20 19:04:46 +03:00
aznd
9535885318
Change "Available space" text in pop up for uniformity
2022-06-20 16:13:34 +02:00
aznd
d51bba60db
Use shutil.disk_usage because statvfs not available outside of UNIX
2022-06-20 16:11:58 +02:00
Dummerle
d772c4000e
Merge pull request #213 from loathingKernel/image_widget
...
Add ImageWidget and LibraryWidget from #196
2022-06-19 22:53:11 +02:00
Dummerle
cbf51b6bb7
Add a restart function in debug settings to easier test game helper
2022-06-19 22:50:13 +02:00
Dummerle
87a110b62b
Fix missing game environment and add last played to game meta
2022-06-19 22:07:21 +02:00
loathingKernel
6335293eef
Add ImageWidget and LibraryWidget from #196
...
Add the Image and Library widgets from #196 . In this iteration they replace the image `QLabel` in the existing widgets.
The `PaintWidget` in the `InstallingWidget` has been replaced by the future `LibraryWidget` that has progress indication.
The `ImageWidget` was also used to replace the image `QLabel` in `GameInfo` and `GameDlc` widgets.
Signed-off-by: loathingKernel <142770+loathingKernel@users.noreply.github.com>
2022-06-19 20:42:49 +03:00
loathingKernel
3a28f2f0a2
Implement image manager
...
Signed-off-by: loathingKernel <142770+loathingKernel@users.noreply.github.com>
2022-06-19 17:12:59 +03:00
Dummerle
37ae6e2b6e
Fix most errors
2022-06-18 13:25:39 +02:00
Dummerle
8a9ef67d2f
Check for running games at startup
2022-06-13 22:59:35 +02:00
Dummerle
0bb1d0ef7e
Add communication system for game helper
2022-06-13 22:59:35 +02:00
Dummerle
c4617de206
Add offline and some other options and cleanup code
2022-06-13 22:59:34 +02:00
Dummerle
4d441c4068
Integrate helper with rare to launch games
2022-06-13 22:59:34 +02:00
Dummerle
feb45afc47
Fix eos overlay bug not showing installed correct
2022-06-13 21:37:26 +02:00
Dummerle
46614e4b1d
Merge pull request #199 from aznd/feature-move-across-drives
...
Update move game to support moving across different drives
2022-06-12 23:16:42 +02:00
Dummerle
89d7b62f92
Fix click on unreal engine assets
2022-06-12 00:20:16 +02:00
Dummerle
4db4dfa0da
Fix infinite loading bug in shop
2022-06-12 00:20:15 +02:00
aznd
ca25e9ad7c
MoveGameAcrossDrive: Implementation
2022-05-30 22:26:45 +02:00
Stelios Tsampas
06c89b459e
InstallDialog: Remove QMessageBox, use existing dedicated label
...
InstallInfoWorker: Reset excepthook to default
Also pass through black formatter
2022-05-27 13:26:01 +03:00
loathingKernel
3bf7b20fbc
InstallDialog: Add max shared memory override and download reordering options
...
Fixes : #206
2022-05-26 23:17:02 +03:00
aznd
ab55325591
Fix typo
2022-05-13 22:29:09 +02:00
loathingKernel
4ec42a1708
InstallDialog: Move worker signals inside worker class
...
Signed-off-by: loathingKernel <142770+loathingKernel@users.noreply.github.com>
2022-05-05 15:25:28 +03:00
Stelios Tsampas
f91b3651ae
Console: Move Environment Variables UI to a file
...
Signed-off-by: Stelios Tsampas <loathingkernel@gmail.com>
2022-05-05 13:27:39 +03:00
Stelios Tsampas
1c296474c5
Add a bunch of accumulated fixes.
...
Shared: Require an argument to initialize the each singleton, if it is called uninitialized, raise a RuntimeError
InstallDialog: Use QCheckBox label for the information text and remove the layout
LaunchDialog: Minor code clarity improvements
Console: add a Dialog with the process's environment variables
GameUtils: Inherit the system's environment and not a clean one
ImportGroup: Add the ability to automatically import all games in a folder
RareStyle: Use rgb values, remove hex codes and rgba values
IndicatorLineEdit/PathEdit: Infer object names from class name, don't override layout method
Models: Type fields as Optional (`Union[<something>, None]`)
Paths: Use pathlib for everything
Signed-off-by: Stelios Tsampas <loathingkernel@gmail.com>
2022-05-05 13:27:39 +03:00
Dummerle
f025047021
Add a check if qt found current screen. Fallback to primary screen
2022-05-03 23:08:22 +02:00
Dummerle
1ae1f81915
Fix Error, that origin games are not shown
2022-04-26 21:03:43 +02:00
Dummerle
c698aad5a9
Remove tray icon quick launch item, when game was uninstalled
2022-04-26 20:50:40 +02:00
Dummerle
d2436c0cda
Show waning text, if game has no metadata. Only launching offline
2022-04-25 23:32:32 +02:00
Dummerle
150fff348b
Fix Desktop shortcut and login dialog task bar icon + bump version
2022-04-25 23:32:26 +02:00
aznd
87c3534da4
Fix uninstall for third party launcher games ( #200 )
...
* Dont allow third party launcher games to be uninstalled
* Fix indentation
2022-04-23 17:03:03 +02:00
Dummerle
8b723f7fcc
Update install prequisites, which raised an error
2022-04-13 01:08:27 +02:00
aznd
7a82091285
Implement moving game installations ( #193 )
...
Implement moving game installations
2022-04-10 21:14:46 +02:00
Dummerle
57f10b7ec0
Fix game finished signal, if rare exited
2022-04-04 23:12:21 +02:00
MultisampledNight
e234656951
Use QStandardPaths everywhere needed
2022-03-31 21:58:18 +02:00
MultisampledNight
a73fb2e01b
Merge create_desktop_link and Rare's version
2022-03-31 21:58:18 +02:00
Stelios Tsampas
6249bd19bb
Remove py files for the settings widgets from the old location
2022-03-30 01:51:23 +03:00
Stelios Tsampas
303bd0fd20
A bunch of minor UI fixes
2022-03-29 00:36:42 +03:00
BuildTools
ee766b72a9
Add line space between processes in debug console
2022-03-28 21:11:22 +02:00
Dummerle
a978771d82
Update console and origin launch
2022-03-27 23:03:48 +02:00
Dummerle
8ac9a1c41f
Rewrite game launch code; Fix override_exe; auto renew session
2022-03-27 21:52:32 +02:00
Dummerle
bdbb840e32
Replace IndicatorEdit with PathEdit for pre-launch
2022-03-22 21:55:49 +01:00
Dummerle
7f44ca7985
Fix proton settings and bug in pre-launch
2022-03-22 21:48:20 +01:00
Dummerle
a98ffb766e
Fix question, if no save path exists and move env vars to default game settings
2022-03-22 20:40:23 +01:00
Dummerle
44e0bbb14a
Better text for pre launch command
2022-03-21 23:01:55 +01:00
Dummerle
b996aac3f7
Fix Wine Resolver, mangohud, pre launch,
2022-03-21 23:01:55 +01:00
Dummerle
89e1336940
Fix proton prefix settings, saving always
2022-03-21 23:01:55 +01:00
Dummerle
81da5faec9
Change Linux settings to default game settings
2022-03-21 23:01:53 +01:00
Dummerle
49c68917a7
Rename filter "All" to "All games"
2022-03-21 23:00:33 +01:00
Dummerle
d077e2bc24
Add pre_launch settings
2022-03-21 23:00:33 +01:00
Dummerle
1a84abcb2b
Move Proton Settings so separate file
2022-03-21 23:00:32 +01:00
Dummerle
c26a30d9c9
Add load meta settings for 32 bit and macos
2022-03-21 23:00:32 +01:00
Dummerle
6de9a4c15e
Merge pull request #180 from aznd/envvars
...
Implement environment variables
2022-03-21 22:53:20 +01:00
aznd
d528d82462
Fix crash when no keys exists
2022-03-21 22:40:02 +01:00
aznd
d3d269b16c
Append row
2022-03-20 22:28:47 +01:00
aznd
db3b409b18
Fix indexerror when trying to delete a env var that hasnt been saved to the config yet
2022-03-20 21:42:51 +01:00
aznd
12f0f0c806
Cover a new use case
2022-03-20 00:46:07 +01:00
aznd
be643eacb1
Fix segfault
2022-03-20 00:04:14 +01:00
aznd
937c306aa5
Add helper function for appending row and fix a bug
2022-03-19 23:23:36 +01:00