1
0
Fork 0
mirror of synced 2024-06-29 19:51:02 +12:00
Commit graph

279 commits

Author SHA1 Message Date
loathingKernel 4239acea24 GameDlc: Replace double inheritance with UI member class
Signed-off-by: loathingKernel <142770+loathingKernel@users.noreply.github.com>
2023-02-04 17:38:06 +02:00
loathingKernel 652968b6bf RareGame: Introduce RareGame from refactor_backend branch
Shared: Move WineResolver to `rare/shared/workers`
PathSpec: Move to `rare/models`

Signed-off-by: loathingKernel <142770+loathingKernel@users.noreply.github.com>
2023-02-04 17:38:06 +02:00
loathingKernel 5370355e5d Lgndr: Restructure module to follow legendary's file hierarchy
Move overloaded class files into the folders following
legendary's structure. Move Rare's integration classes into
their own subfolder.
2022-10-29 14:50:18 +03:00
lennard 923aa1b90d
Migrate to legendary 0.20.30 2022-10-26 21:36:16 +02:00
Stelios Tsampas 53cab3ecb9 GameInfo: Add missing space 2022-10-19 17:53:37 +03:00
lennard 24774b07c0
Fix move game on Windows 2022-09-27 21:09:41 +02:00
loathingKernel 52108688d3 LaunchDialog: Use ElideLabel for progress information 2022-09-10 22:42:47 +03:00
Stelios Tsampas 7a1935335e GameInfo: Work-around slowdown on widget update_game() request 2022-09-10 19:04:40 +03:00
loathingKernel 1ebd0b18d8 Introduce a very basic RareCore to handle signletons and their cleanup. 2022-09-04 20:39:03 +03:00
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 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 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 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
Dummerle 87ea29d005
Fix appname error in game_info.py and error in postinstall 2022-07-10 01:18:19 +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
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
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 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
aznd 7a82091285
Implement moving game installations (#193)
Implement moving game installations
2022-04-10 21:14:46 +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 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 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 66ae7c614f
Show wrapper widget for proton and mangohud with disabled button 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 ebe1714f74
Add STEAM_COMPAT_CLIENT_INSTALL_PATH for proton to fix #186 2022-03-14 17:23:53 +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 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 d554043ffe
Fix Game info for Origin games 2022-01-18 21:46:12 +01:00
Dummerle 241d0a3b3c
Make ProtonDB labels invisible, if it is an unreal engine 2022-01-08 17:38:17 +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 0bc15be1f6
Fix Icon error for Ubuntu LTS, which uses QtAwesome 0.4.4 2022-01-05 15:44:29 +01:00
Stelios Tsampas 8f89eb6e88
Rare: pass through Black formatter 2021-12-27 00:37:13 +01:00
Dummerle 1d4fd38d89
Add override launch executable in game settings 2021-12-19 23:43:43 +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 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 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 01674f2e5e
Fix other wrappers than proton; + minor other bug fixes 2021-11-28 02:04:30 +01:00
Dummerle db177e162f Some fixes for windows 2021-11-25 21:54:34 +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
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 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
Dummerle 3acc13e9b6
Many fixes 2021-11-17 23:02:36 +01:00
Dummerle 3225d1b1eb
Update savepath on button click 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 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 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
Dummerle fb74a83044
Fix gamelist filter, Fix steam_grade update, if offline 2021-11-01 21:11:37 +01: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
Dummerle 4f25fd8a20 Update new Signal System 2021-10-14 23:05:00 +02:00
Dummerle 193641f1e7
Merge pull request #114 from loathingKernel/sidetabwidget
Add SideTabWidget to unify tab on the side functionality
2021-10-11 20:28:24 +02:00
Stelios Tsampas fd30d07d33 Add SideTabWidget to unify tab on the side functionality
Adjust GameInfoTabs, UninstalledInfoTabs, SettingsTab
2021-10-11 20:42:59 +03:00
Stelios Tsampas e9c0cab47b Woops forgot some adjustments 2021-10-11 11:41:01 +03:00
Dummerle 3f7d8b10e2 Add support for uninstalling dlcs 2021-10-10 21:52:11 +02:00
Stelios Tsampas c1e750138f Add IndicatorLineEdit and base PathEdit on it. 2021-10-10 20:47:19 +03:00
Dummerle 3bf6692760 Add shared.py 2021-10-07 20:19:24 +02:00
Dummerle 3796db83c1 Fix updates; Fix dlc tab; Fix Game list update 2021-10-07 19:42:27 +02:00
Dummerle 57ee0ddd0c Revert "Remove border from dlc tab"
This reverts commit 7db26a743c.
2021-10-04 21:51:39 +02:00
Dummerle 7db26a743c Remove border from dlc tab 2021-10-04 20:32:22 +02:00
Dummerle df7964a79f Move api requests to login dialog 2021-10-03 21:29:33 +02:00
Dummerle 4b5a0b0084 Add a new signal system 2021-09-29 23:22:47 +02:00
Dummerle a143971385 Update Games list to ui file 2021-09-26 16:43:56 +02:00
Dummerle b7af237935 Disable game action buttons on Origin Games 2021-09-18 16:50:13 +02:00
Stelios Tsampas 6f0ff87610 Delete verify thread after finish 2021-09-16 01:29:12 +03:00
Dummerle ffa5976805 Many fixes, optimizations and improvements: Gameinfo page for origin games 2021-09-15 22:16:50 +02:00
Dummerle 1bb33d911c You can now launch and link origin games 2021-09-13 22:27:37 +02:00
Dummerle bb4f08691a Fix set locale to legendary locale + reformatting 2021-09-13 20:24:09 +02:00
Stelios Tsampas 228c3ab03e Move EGL Sync page into the main LegendarySettings page and make it useful. (WIP)
Move GameInfo to its own file.
Use get_pixmap in GameDlcWidget to get the pixmap.
Remove unused function from RareSettings.
Convert About to FormLayout.
2021-09-12 14:23:40 +03:00
Stelios Tsampas 35cbd21bb7 Fix memory leaks in DLC tab. 2021-09-11 00:57:43 +03:00
Dummerle d11cc7abf3 add legendary submodule and rename custom_legendary to legendary in imports 2021-09-06 21:10:18 +02:00
Dummerle f7f7f83101
Merge branch 'main' into dev 2021-09-04 22:49:08 +02:00
Dummerle b8be750c6c Add non asset games in gamelist 2021-09-01 19:41:01 +02:00
Dummerle c2ae188745 Fix color of icons 2021-08-28 20:03:25 +02:00
Dummerle 83ad8f0982 Icon color depends on theme 2021-08-28 16:01:36 +02:00
Dummerle a63a46ded5 Fix some merge bugs 2021-08-23 16:55:21 +02:00
Dummerle c212904cc0
Merge branch 'shop' into update_shop 2021-08-22 22:43:08 +02:00
Dummerle 48768fd905 Fix login from merge 2021-08-16 23:20:21 +02:00
Dummerle 258fdabfec add get_pixmap function 2021-08-16 23:08:15 +02:00
Dummerle 4cfe2bf336 merge branches 2021-08-16 22:50:31 +02:00
Dummerle 5dcaa3f8af Update steam ratings (Only update if need) 2021-08-13 21:24:03 +02:00
Dummerle 59a7359e19 Set cache_dir and data_dir in one place (xdg) 2021-08-08 00:49:27 +02:00
Dummerle 4c950aa229 Update images and readme 2021-06-24 23:38:08 +02:00
Stelios Tsampas cac7d0c809 Refresh wrapper QTextEdit when proton wrapper is un-selected
and disable the save button
2021-06-24 20:08:22 +03:00
Dummerle a5997f62ab replace os.name with platform.system() to differentiate between mac and linux 2021-06-20 21:55:31 +02:00
Dummerle 9fb63e4360 Some fixes 2021-06-15 23:50:51 +02:00
Dummerle 0246b96c40 Fix offline mode 2021-06-12 00:29:55 +02:00
Dummerle f8b467cd6d Add ~/.steam/compatibilitytools.d in find_proton_wrappers() 2021-06-04 12:03:27 +02:00
Stelios Tsampas eb461529f7 While we are here, adjust UninstalledInfo to match GameInfo. Make it easier to unify them in the future. 2021-05-25 23:52:25 +03:00
BuildTools 0b74eb95e6 Some fixes for Windows 2021-05-21 16:22:30 +02:00
Dummerle 3a39bac09c Reformatting and update german translation 2021-05-21 13:40:10 +02:00
Dummerle 9edfd302bd
Merge branch 'main' into dev 2021-05-21 13:20:58 +02:00
Dummerle 2e148aebff Add protondb grades and option to disable it 2021-05-21 13:09:26 +02:00
Dummerle d50ccc6e55 Add option for download only 2021-05-20 23:00:38 +02:00
Dummerle e002023600 Fix game_info 2021-05-20 09:37:38 +02:00
Dummerle df726c0c57 Merge remote-tracking branch 'origin/dev' into dev
# Conflicts:
#	rare/components/tabs/games/game_info/__init__.py
2021-05-19 11:51:04 +02:00
Dummerle a129556441 Add basic structure for downloading grades 2021-05-19 11:06:00 +02:00
Stelios Tsampas f094dacc44 Adjust Proton DB grade for the redesign 2021-05-18 01:57:20 +03:00
Stelios Tsampas 6af78aa572 Make tests more pythonic 2021-05-18 01:57:20 +03:00
Stelios Tsampas 2b35f057f2 Fix game settings tab
* Fix combobox config saving
* Fix lineedit confgi saving and disable buttons after save
* Disable Wine settings when a Proton version is active
2021-05-18 01:57:20 +03:00
Stelios Tsampas fc8b8bad37 Move .ui and the corresponding .py files into the rare directory under ui for clarity 2021-05-18 01:57:20 +03:00
Stelios Tsampas 2061afefb0 Use widget alignment instead of label alignment 2021-05-18 01:57:20 +03:00
Stelios Tsampas 2f58422191 Redesign Game Info and Game Settings tabs 2021-05-18 01:57:20 +03:00
Stelios Tsampas 8c882177e1 Make PathEdit more self-contained 2021-05-18 01:57:20 +03:00
Stelios Tsampas 127728d329 Fix proton wrapper search 2021-05-18 01:57:20 +03:00
Stelios Tsampas 7eee31c3e2 Search for toolmanifest.vdf alongside compatibilitytool.vdf to verify proton folder 2021-05-18 01:57:20 +03:00
Stelios Tsampas 1f92beb285 Remove proton layout from global linux settings. 2021-05-18 01:57:20 +03:00