1
0
Fork 0
mirror of synced 2024-08-17 03:01:57 +12:00
Commit graph

483 commits

Author SHA1 Message Date
Dummerle
cb3f316bf0
Fix proton visibility on Windows 2022-08-27 12:47:17 +02:00
Dummerle
70a51902d2
Move move game stuff to external file
I know it's weird
2022-08-27 12:32:20 +02:00
Dummerle
2797485e69
Fix reason for cloud save edit, if nothing wrong 2022-08-27 12:32:20 +02:00
loathingKernel
38dfdc8bc2 Lgndr: Remove LegendaryCLISingleton
Since `LegendaryCLI` isn't stateful, we can instantiate
it when needed
2022-08-02 10:42:38 +03:00
loathingKernel
e5c7b029ff GameInfo: Offer to also update the game after a verification if there is one 2022-08-02 10:42:38 +03:00
loathingKernel
785aaf648e GameInfo: Detect repair_and_update requirement
If a game was partially installed and it was imported
through the import functionality, if `repair_and_update`
is specified it will report `0` download size if there
is no real update to be done. Fix it by detecting the
need for an update explicitly.

This will also force games that have failed verification
to also update while repairing them, fixing the
long-standing issue of repairing an older version of a
game and then doing the update in a separate step.
2022-08-02 10:42:38 +03:00
loathingKernel
f375357a2c Utils: fix unresolved references 2022-08-02 10:42:38 +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
f51563ea93 Models: Move installation related models into their own file 2022-08-02 10:42:38 +03:00
loathingKernel
ee5adce18b Implement LgndrIndirectLogger to return the last logged message from LegendaryAPI
The indirect return is stored in a `LgndrIndirectStatus` object that provides checking and unpacking features

Lgndr: `LgndrInstallGameArgs.install_tag` default to None
Lgndr: add default `move` method.
Lgndr: monkeypatch `dlm.status_queue` after preparing a download to reduce `InstallQueueItemModel`
InstallOptionsModel: implement `as_install_kwargs` to pass only relevant arguments to `LgndrInstallGameArgs` in InstallDialog
InstallOptionsModel: rename `sdl_list` to `install_tag` as they were the same thing
LegendaryUtils: Update to use `LgndrIndirectStatus`
UninstallDialog: Add option to keep configuration decoupled from keeping game data
GameUtils: Add messagebox to show error messages from legendary after uninstalling a game
InstallDialog: Update to use `LgndrIndirectStatus`
InstallDialog: Update selectable download handling to match legendary's
DownloadThread: Remove multiple instance variables, instead reference them directly from `InstallQueueItemModel` instance
ImportGroup: Replace `info_label` with an `ElideLabel` for displaying long messages
ImportGroup: Don't translate message strings in the `ImportWorker`
GameInfo: Call `repair()` if needed after verification instead of handling it locally
GamesTab: Fix string matching for capitalized strings and scroll to top on when searching
2022-08-02 10:42:38 +03:00
loathingKernel
28531eec38 Lgndr: Add logger monkey class
The class acts as an intermediate between the logger and the function call
It keeps the last message that was sent to the logger. The instance of the
class can be returned as a return value from the LegendaryCLI methods to
provide return status and the message related to it.

The level at which it considers the logged message as an error is configurable.
By default it considers logging.ERROR and above as faulty return values
2022-08-02 10:42:38 +03:00
loathingKernel
bbaff5f42c Lgndr: Add re-implemented uinstall_game
Lgndr: Change the exception level to CRITICAL for core
LegendaryUtils: Use uninstall_game from our Lgndr
UninstallDialog: Update to return a tuple of values
App: Keep files if the install directory was lost
App: Run legendary's exit procedures on exit
2022-08-02 10:42:38 +03:00
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
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
2c2f44c97c Use a loggin handler in stead of monkeypatching for raising LgndrException 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
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
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
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
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
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
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
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
aznd
ca25e9ad7c MoveGameAcrossDrive: Implementation 2022-05-30 22:26:45 +02:00
aznd
ab55325591 Fix typo 2022-05-13 22:29:09 +02: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
1ae1f81915
Fix Error, that origin games are not shown 2022-04-26 21:03:43 +02:00
Dummerle
d2436c0cda
Show waning text, if game has no metadata. Only launching offline 2022-04-25 23:32:32 +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
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
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
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
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
6de9a4c15e
Merge pull request #180 from aznd/envvars
Implement environment variables
2022-03-21 22:53:20 +01:00
aznd
c84cc388fb Implement env_vars 2022-03-19 16:57:56 +01:00
Stelios Tsampas
c70e9e9b02 Avoid making window smaller than horizontal contents 2022-03-18 19:36:47 +02:00
Stelios Tsampas
717945d729 SideTabWidget: Add container widget with a title and a scrollarea as the master widget for each tab 2022-03-18 18:03:14 +02:00
aznd
c2a117e226 Delete comments and stub functions 2022-03-17 20:01:57 +01:00
aznd
9540c2c40f Ask user what to do when env var already exists 2022-03-17 20:01:57 +01:00
aznd
8de1ca7c4e Use filewatcher to update table when required and use different layout so user can use escape key in the env var table to go one index back 2022-03-17 20:01:57 +01:00
aznd
6929c04c72 Satisfy linter 2022-03-17 20:01:57 +01:00
aznd
0f03c06dab Implement env_vars 2022-03-17 20:01:57 +01:00
Dummerle
16fa26e1df
Fix crash for Fortnite extension pack 2022-03-16 17:47:18 +01:00
Dummerle
66ae7c614f
Show wrapper widget for proton and mangohud with disabled button 2022-03-14 17:23:55 +01:00
Dummerle
01e7e6c463
Some fixes in game_utils.py and fixed height for scroll area 2022-03-14 17:23:55 +01:00
Dummerle
53f1f1802d
Add drag and drop to reorder wrappers 2022-03-14 17:23:54 +01:00
Dummerle
3beef49705
Add support for wrappers with spaces 2022-03-14 17:23:54 +01:00
Dummerle
59a59ddfcc
Rename settings_widgets + fix pylint error 2022-03-14 17:23:54 +01:00
Dummerle
58c9e69231
Add MangoHud Settings + move some settings widgets to extra folder 2022-03-14 17:23:54 +01:00
Dummerle
cc92322d43
Update dxvk settings,to use new overlay settings 2022-03-14 17:23:54 +01:00
Dummerle
d1df48e837
Update Wrapper settings 2022-03-14 17:23:53 +01:00
Dummerle
66c29f5a2f
Some changes to prepare flatpak support 2022-03-14 17:23:53 +01:00
Dummerle
ebe1714f74
Add STEAM_COMPAT_CLIENT_INSTALL_PATH for proton to fix #186 2022-03-14 17:23:53 +01:00
Dummerle
36e84bce9f
Fix Discord RPC 2022-03-14 17:23:52 +01:00
Stelios Tsampas
063e7ddbaf
GameSettings: Convert to scrollarea (#183) 2022-03-14 17:23:52 +01:00
MultisampledNight
9796175826
Fix crash upon opening game info while verifying 2022-02-26 14:46:04 +01:00
Stelios Tsampas
d6ef44b2f9
Rare: Implement global objects as functions that return a single instance 2022-02-25 20:22:45 +02:00
Dummerle
733e784f97
Add check if executable exists on Windows 2022-02-05 16:45:20 +01:00
Dummerle
e916301999
Add config_helper.py to automatically check sections and options 2022-02-05 14:48:50 +01:00
MultisampledNight
43125e846a
Remove leftover + from f-string refactor 2022-02-04 20:58:05 +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
b13daed37a
Add some checks, if no wine prefixes exist and update prefixes, when changing in linux settings 2022-01-24 16:56:15 +01:00
Dummerle
45163eafb5
Fix startup_check and verification 2022-01-24 16:56:14 +01:00
Dummerle
25c04d2812
Add Reasons to IndicatorLineEdit as tooltip 2022-01-24 16:56:14 +01:00
Dummerle
0cea43f0d1
Add Epic Overlay Settings in Legendary Settings + Update Legendary submodule 2022-01-24 16:56:12 +01:00
Dummerle
de6c06906e
Some fixes for installing_game_widget.py 2022-01-23 01:45:16 +01:00
Dummerle
d554043ffe
Fix Game info for Origin games 2022-01-18 21:46:12 +01:00
Dummerle
16f28656f9
Fix issue when closing cloud sync dialog on manually sync 2022-01-18 21:28:25 +01:00
Dummerle
241d0a3b3c
Make ProtonDB labels invisible, if it is an unreal engine 2022-01-08 17:38:17 +01:00
Dummerle
89e589da11
Fix conflict error with unreal engine assets, which have no image 2022-01-07 01:49:29 +01:00
Dummerle
f32eb5cbc4
Add Unreal Engine Version to app_title and fix AttributeError, when installing UnrealEngine 2022-01-07 00:29:29 +01:00
Dummerle
92c6f77c37
Add support for unreal engine 2022-01-07 00:16:06 +01:00
Dummerle
a197faef02
Disable/Enable Wine settings, if proton enabled/disabled 2022-01-06 23:46:26 +01:00
Dummerle
6f99c22a72
Merge pull request #154 from Dummerle/game_meta
Save last played time and add quick launch for tray icon
2022-01-06 18:27:37 +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
eb8ce30169
Save last played and add quick launch for tray icon 2022-01-02 22:52:43 +01:00
Dummerle
868ef90a77
Dynamically add filters in head bar 2021-12-31 01:03:59 +01:00
Dummerle
bf1b8d6d27
Fix some bugs, if no widget available in gamelist 2021-12-27 16:19:57 +01:00
Dummerle
4820719bef
Fix #151 2021-12-27 00:37:13 +01:00
Stelios Tsampas
8f89eb6e88
Rare: pass through Black formatter 2021-12-27 00:37:13 +01:00
Dummerle
b05c008ca5
Fix critical hover bug for origin games 2021-12-22 19:27:25 +01:00
Dummerle
0d5659a82f
Fix error in installed widget, if no igame exists 2021-12-22 18:00:31 +01:00
Dummerle
1d4fd38d89
Add override launch executable in game settings 2021-12-19 23:43:43 +01:00
Dummerle
fed1e53ab5
Fix error with update check if no igame exists 2021-12-19 20:32:26 +01:00
Dummerle
36568c6cc5
Add Codename to about page and fix error with assets in base_installed_widget.py 2021-12-12 01:41:38 +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
3116147d8f
Fix empty field in list widgets 2021-12-05 22:24:51 +01:00
Dummerle
4f9bbd0b1b
Set date in CloudSavesDialog depending on locale 2021-12-05 21:45:55 +01:00
Dummerle
387793dbeb
Fix windows error, that linux settings are shown 2021-12-05 21:26:04 +01:00
Dummerle
ea0c153a23
Show error message after error occurred in verification 2021-12-05 20:57:51 +01:00
Dummerle
32e3d1fd55
Remove games in dl_tab, when game uninstalled. 2021-12-05 20:36:29 +01:00
Dummerle
206733b468
Some fixes:
- Fixes for macOS
- Use app_name to update games in GameInfo
- Check wine executable at game launch
2021-12-05 20:11:11 +01:00
Dummerle
a9ce9df758
Fix Show an error message after import failed. Fix DLC error 2021-12-05 19:47:06 +01:00
Dummerle
026d5374a3
Add Multiplatform support for MacOS and Win32 2021-12-05 19:47:03 +01:00
Stelios Tsampas
29cc9088eb
GameDlcWidget: Make the image label adjust to the widget size 2021-12-05 02:34:17 +02:00
Dummerle
31932aa8a0
Fix installing game widget, which displays progress wrong; update get_uninstalled_pixmap() 2021-12-01 20:14:41 +01:00
Dummerle
1abcf16583
Add update in dl tab, when imported game, with available update 2021-11-30 23:15:00 +01:00
Dummerle
b60fb43568
Some fixes and optimization 2021-11-29 01:23:33 +01:00
Dummerle
01674f2e5e
Fix other wrappers than proton; + minor other bug fixes 2021-11-28 02:04:30 +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
db177e162f Some fixes for windows 2021-11-25 21:54:34 +01:00
Dummerle
d52abfdb99
More fixes 2021-11-22 21:14:50 +01:00
Dummerle
0c5bd642e3
More fixes:
- remove widgets in dl tab after uninstalling
- fix verification error: worker was not started
2021-11-22 20:09:05 +01:00
Dummerle
72d05f6e53
Some optimization for macOS + workflow; cancel launch if confirm is activated; enable button, if queue widget deleted 2021-11-22 20:04:24 +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
Stelios Tsampas
31e767f0c0
GameSettings: Put linux specific settings in a scrollarea 2021-11-22 19:35:26 +02:00
Stelios Tsampas
8535a30d8e
GameSettings: Remove explicit save_settings calls from linux settings 2021-11-22 19:35:26 +02:00
Stelios Tsampas
bcae6cb7fd
EGLSync: Don't test input in egl_path_edit on Windows 2021-11-21 18:59:37 +02:00
Stelios Tsampas
e6b67f50f7
EGLSync: Skip egl_path_edit on Windows 2021-11-21 18:57:56 +02:00
Stelios Tsampas
000b6cf374
GameSettings: Remove spacer from the bottom of linux settings 2021-11-21 18:29:44 +02:00
Stelios Tsampas
c3defd3a9d
GameSettings: Make cloud save box less messy. 2021-11-21 18:08:43 +02:00
Stelios Tsampas
a25149346c
EGLSync: Use direct reference to shared.core 2021-11-21 17:18:37 +02:00
Stelios Tsampas
3a464acba7
EGLSync: Refine error reporting from wine resolver. 2021-11-21 17:18:37 +02:00
Stelios Tsampas
81bc1007d2
EGLSync: Naming 2021-11-21 17:18:37 +02:00
Stelios Tsampas
8ec321b41f
EGLSync: Descriptive names 2021-11-21 17:18:36 +02:00
Dummerle
f037f99f7e fix launch bug for origin games 2021-11-21 01:10:29 +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
c31c663c8a
Pylint fix 2021-11-17 23:02:36 +01:00
Dummerle
3acc13e9b6
Many fixes 2021-11-17 23:02:36 +01:00
Dummerle
825f055387
Some fixes:
- Fix info texts in installed widgets
- check settings before sync
- Update README.md
2021-11-17 23:02:36 +01:00
Dummerle
c4e820b6a9
Fix some rebase errors 2021-11-17 23:02:36 +01:00
Dummerle
3225d1b1eb
Update savepath on button click 2021-11-17 23:02:36 +01:00
Dummerle
6c99b369be
Create directory for Wine prefixes at launch 2021-11-17 23:02:36 +01:00
Dummerle
c99fd4761d
Add auto compute save path button 2021-11-17 23:02:35 +01:00
Dummerle
9aacce97ac
Remove syncing cloud text automatically 2021-11-17 23:02:35 +01:00
Dummerle
9bfb9ede76
Update SaveGameFiles after uploading saves 2021-11-17 23:02:35 +01:00
Dummerle
0e88d3965f
Much optimization
- updating text in installed widgets
- move tab_widget.py to __init__.py
- errors at launching are now in a popup
- remove old sync widget
2021-11-17 23:02:33 +01:00
Dummerle
65f85f9b3d
Add game_utils.py to launch and uninstall games
-  All game launch and sync save mechanic is now in game_utils.
- some cleanup
2021-11-17 23:01:22 +01:00
Dummerle
8b8c3a1f64
Rebasing cloud_save_update with main 2021-11-17 22:59:28 +01:00
Dummerle
f67b45fac3
Add german qt translations file + some fixes 2021-11-13 00:56:03 +01:00
Dummerle
b0125ba020
Many optimizations, bug fixes and other small fixes 2021-11-13 00:34:35 +01:00
Dummerle
4eae77ffff
Add update manifest function and remove os.makedirs from proton_prefix_edit 2021-11-13 00:34:35 +01:00
Stelios Tsampas
af2cacca90
EGLSync: Handle return codes from import/export.
EGLSync: Re-enable list if it still have items after automatic sync.
2021-11-13 00:34:34 +01:00
Stelios Tsampas
1b1f5bcf84
Import: Formatting. 2021-11-13 00:34:34 +01:00
Stelios Tsampas
21eb49aee8
EGLSync: Disable the file watcher because it can fail if EGL is running at the same time 2021-11-13 00:34:34 +01:00
Stelios Tsampas
96144d9da5
Use the tree view for the AppNameCompleter
* IndicatorLineEdit: Add hint label
* EGLSync: Send a list of app_names to update the game list.
* EGLSync: Show message with WINEPREFIX is unset in settings.
* WineResolver: Return empty string when WINEPREFIX is unset.
2021-11-13 00:34:33 +01:00
Stelios Tsampas
5a0646cb87
Add Completer for app_name in ImportGroup. 2021-11-13 00:34:33 +01:00
Stelios Tsampas
8805dd5325
Add path completer for PathEdit.
Doesn't enumerate hidden folders right now unless the RootPath is re-set (Through the browse button)
2021-11-13 00:34:33 +01:00
Stelios Tsampas
4c3d9925e7
Do implicit sync with EGL when automatic sync is checked.
Update game list only on import.
Make WineResolver a QRunnable.
Add some prefix discovery to PathSpec.

Signed-off-by: Stelios Tsampas <loathingkernel@gmail.com>
2021-11-13 00:34:33 +01:00
Stelios Tsampas
7cbcfe09a3
Enable/Disable export/import buttons based on selection
Signed-off-by: Stelios Tsampas <loathingkernel@gmail.com>
2021-11-13 00:34:33 +01:00
Stelios Tsampas
f2401af6de
Remove mistargeted connection to update_gamelist 2021-11-13 00:34:33 +01:00
Stelios Tsampas
1312be94f5
Fix missed function signature
Signed-off-by: Stelios Tsampas <loathingkernel@gmail.com>
2021-11-13 00:34:32 +01:00
Stelios Tsampas
458e233327
Rename ImportSync files to indicate what the underlying widget is.
Split Import/Export lists to separate widgets to reduce code duplication.

Signed-off-by: Stelios Tsampas <loathingkernel@gmail.com>
2021-11-13 00:34:32 +01:00
Stelios Tsampas
d8f39857db
Add directory watcher to monitor egl_programdata folder for changes.
Clear known manifests when changing directory
Run egl_sync() after importing or exporting
Arrange Importable and Exportable lists vertically

Signed-off-by: Stelios Tsampas <loathingkernel@gmail.com>
2021-11-13 00:34:32 +01:00
Stelios Tsampas
3065105365
Fix missed path validity check 2021-11-13 00:34:32 +01:00
Stelios Tsampas
d0c676d44a
Disable irrelevant widgets depending on case in EGLSync 2021-11-13 00:34:32 +01:00
Stelios Tsampas
9e86c3a59b
Check egl_path_edt for proper folder path
Make estimated text selectable
2021-11-13 00:34:32 +01:00
Stelios Tsampas
5afe4d875f
Change workflow in EGLSync.
EGLSync is enabled when a correct manifest or wine prefix
folder is specified.
If the path is removed, sync is disabled. (--unlink)
Automatic sync is controlled by a chechbox. It doesn't sync
on first activation for now.
`Sync once` is removed because it can be serviced
by `Select all` -> `Import`/`Export`

Still work in progress.
2021-11-13 00:34:32 +01:00
Stelios Tsampas
7156490952
Add initial implementation of WineResolver
Remove borders from EGLSync lists.
Color install/uninstall buttons correctly in DLC tab
Adjust InstallDialog because the check function runs early now.
2021-11-13 00:34:31 +01:00
Stelios Tsampas
5bed54350d
Add ImportSyncTabs
Move ImportWidget to the ImportSyncTabs.
Move EGLSyncWidget to the ImportSyncTabs.
2021-11-13 00:34:31 +01:00
Dummerle
8627484097
update_list() in games/__init__.py takes now a list of app_names, to update multiple games at same time
- verification signal is now connected
- signals are more consistent. Taking app_names instead of Game Models
2021-11-03 18:33:01 +01:00
Dummerle
fb74a83044
Fix gamelist filter, Fix steam_grade update, if offline 2021-11-01 21:11:37 +01:00
Dummerle
c3c812bd7a
Fix filter bug in game_list 2021-11-01 20:39:47 +01:00
Dummerle
0dfb0cad9e
Fix launch command bug and uninstalled_names bug 2021-10-17 23:29:42 +02:00
Dummerle
5f45821996
Fix uninstall Bug 2021-10-17 23:29:42 +02:00
Dummerle
a5f26c8a23 Rename shared.legendary_core to core 2021-10-14 23:18:13 +02:00