1
0
Fork 0
mirror of synced 2024-08-21 05:01:56 +12:00
Commit graph

483 commits

Author SHA1 Message Date
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
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
22e51e096f Fix bug after download finished 2021-10-04 21:51:25 +02:00
Dummerle
7db26a743c Remove border from dlc tab 2021-10-04 20:32:22 +02:00
Dummerle
06c803fd69 Fix small bug 2021-10-03 22:18:54 +02:00
Dummerle
df7964a79f Move api requests to login dialog 2021-10-03 21:29:33 +02:00
Dummerle
0324202d9f Update Legendary 2021-10-03 19:37:46 +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
b07f70060b Fix Bug, that requirements are not visible 2021-09-19 20:41:03 +02:00
Dummerle
8b1352edb5 Fix Bug when updating game list 2021-09-19 12:52:07 +02:00
Dummerle
bcb15ffec2 Optimize Startup part 1 2021-09-19 12:48:34 +02:00
Dummerle
b7af237935 Disable game action buttons on Origin Games 2021-09-18 16:50:13 +02:00
BuildTools
740153bd0d Fix create startmenu/desktop link 2021-09-18 16:34:43 +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
Dummerle
c07992b982 Fix some memory leaks and some other errors 2021-09-12 23:28:54 +02:00
Stelios Tsampas
f6308dd4b4 Adjust imports based on PyLint 2021-09-12 14:46:48 +03: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
6a01ddef6b Add option to reload image for uninstalled widgets too 2021-09-09 20:00:12 +02:00
Dummerle
158d98957c Add option to reload image 2021-09-09 20:00:12 +02: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
718bfa0278 Fix installing game widget 2021-09-02 23:32:25 +02:00
Dummerle
b8be750c6c Add non asset games in gamelist 2021-09-01 19:41:01 +02:00
Dummerle
b799241357 Fix Space bug in Icon layout; Remove config sections on uninstall; Remove unused Widget 2021-08-30 15:14:40 +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
b3cc412142 Add an installing game widget to icon list 2021-08-28 00:16:17 +02:00
Dummerle
8fbf0bcacf Merge Browse and free games in one tab 2021-08-25 00:01:53 +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
96806274f9 Some fixes: Update gamelist; dl_tab.finished; AppImageBuilder.yml; install_dialog: auto verify 2021-08-16 20:41:33 +02:00
Dummerle
e1c6e03812 Add a debug console for games 2021-08-13 22:51:36 +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
c521d11948 Fix a bug with byte decoding 2021-06-30 00:03:03 +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
52bea4e43f Add warning, if desktop link not supported 2021-06-20 22:03:14 +02:00
Dummerle
a5997f62ab replace os.name with platform.system() to differentiate between mac and linux 2021-06-20 21:55:31 +02:00
Dummerle
38cf30417b Fix bug with psutil Zombie Process 2021-06-20 21:13:17 +02:00
Dummerle
303bcf998b Fix bug with psutil Zombie Process 2021-06-20 21:10:55 +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
0cca799ae5 Remove wine rating from installed_list_widget.py 2021-06-09 12:07:37 +02:00
Dummerle
f8b467cd6d Add ~/.steam/compatibilitytools.d in find_proton_wrappers() 2021-06-04 12:03:27 +02:00
Dummerle
b31080a5ae Add basic store 2021-06-03 23:23:55 +02:00
Dummerle
a2bc9ced09
Merge pull request #63 from loathingKernel/dialogs
Redesign Install/Update dialog
2021-05-27 13:14:27 +02:00
Dummerle
77dc6edd71 Fix library reload bug 2021-05-27 12:58:34 +02:00
Stelios Tsampas
148cf0ff8e Add models for the download queue.
The addition of download_only option broke the download queue
due to different positional arguments and tuple indices. Since
using indices is awkward, models to represent the download
and each item in the queue itself were added.
2021-05-25 23:52:25 +03: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
27b1c10206 remove option to import games from egs in import widget 2021-05-20 11:16:57 +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
Dummerle
2ee1ec1162 Import optimizations 2021-05-18 10:32:46 +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
Stelios Tsampas
a39e9a6647 Fix proton wrapper widget to properly use the new PathEdit
Also move proton wrapper finder into its own function
2021-05-18 01:57:20 +03:00
Stelios Tsampas
3c595d6ec7 Fix wrong indentation 2021-05-18 01:57:20 +03:00
Stelios Tsampas
b138766f1d Updated the settings UI to use widgets generated through Qt Designer
Since many lines were changed due to components being reused, the more
important are listed below per file. Static strings were moved to the UI files for
translation purposes and some messages have been re-worded.

`extra_widgets.py`: PathEdit now contains the save button and the dialog can also filter by name, all forms using it have been updated
`rare.py`: Updated the look and fixed a bug where the Image Directory wouldn't change if `img_dir` wasn't specified in the settings file
`legendary.py`: Update the look, changed the Max Workers option into a SpinBox
`linux.py`: Update the look, changed Wine Executable option in to a PathEdit that filters for `wine` and `wine64`.
`game_settings.py`: Updated to reflect the changes in `linux.py` settings widget.  Added the system `compatibilitytools.d` to be search for potential proton versions
2021-05-18 01:57:20 +03:00
Dummerle
82d3857853 remove unused import 2021-05-17 21:29:51 +02:00
Dummerle
530cff2a14 Better style for uninstalled info; add raw json view 2021-05-17 21:27:23 +02:00
Dummerle
83f1061e16 Optimize Library reload 2021-05-17 20:22:29 +02:00
Dummerle
97704851ac Filter options for Games: 32 Bit 2021-05-12 11:06:31 +02:00
Dummerle
d7c481bbaf Filter options for Games: Installed / offline 2021-05-12 10:27:23 +02:00
Dummerle
61fe881c1a Add Info for uninstalled Games 2021-05-11 17:29:35 +02:00
Dummerle
6a3166ceff Add ProtonDB in UninstalledInfo (Test/Beta) 2021-05-11 14:30:08 +02:00
Dummerle
6deabf4a92 Reformatting, 1.3.0 2021-04-22 14:34:06 +02:00
Dummerle
ee467d9398 Add logging for Games, error handling 2021-04-22 14:11:12 +02:00
Dummerle
a03f38ba39 Merge branch 'main' of github.com:Dummerle/Rare 2021-04-21 22:34:53 +02:00
Dummerle
156edbc93e Tests for Updating list 2021-04-21 22:34:48 +02:00
Dummerle
cefc8a68ba Add Wordwrap in GameInfo 2021-04-21 22:33:47 +02:00
Dummerle
497a6009d0 Add offline mode and --offline option 2021-04-19 15:44:28 +02:00
Dummerle
517d94e641 Set parent of widgets for smoother startup 2021-04-17 18:58:18 +02:00
Dummerle
757d1e7fff Fixed bug for hotfix 2021-04-17 12:29:30 +02:00
Dummerle
c1251ac4c6 Install_dlc: Use base_game_path 2021-04-16 23:41:59 +02:00
Dummerle
9db772539c Install_dlc: disable button 2021-04-16 19:23:49 +02:00
Dummerle
93acab85c0 Add support for DLCs 2021-04-16 17:48:24 +02:00
Dummerle
14bd150e5f Install: Use default values from config 2021-04-15 16:09:17 +02:00
Dummerle
4f71a9f436 Fix uninstall bug from game_info; disable update widget on auto update 2021-04-15 11:08:06 +02:00
Dummerle
24e987dc66 Added error message on start game fail 2021-04-14 14:45:09 +02:00
Dummerle
933c7c7c58 Fixed bug at launch game 2021-04-14 14:30:36 +02:00
Dummerle
b13cbe24de Add Desktop Link for Windows: .bat file 2021-04-13 19:08:49 +02:00
Dummerle
b51b42825e Add start menu link for Linux 2021-04-13 18:01:25 +02:00
Dummerle
7144f7f40e Changed 3.9 function to 3.8 2021-04-13 17:37:40 +02:00
Dummerle
7b83c27c27 Add Desktop links for Linux 2021-04-13 16:56:44 +02:00
Dummerle
0acc9c5bda Fixed Discord RPC bug 2021-04-13 12:38:11 +02:00
Dummerle
a03c29ff39
Merge pull request #40 from Dummerle/dev
Added some features
2021-04-13 11:35:24 +02:00
Dummerle
5c6ae2b761 Fix bug in game_settings.py 2021-04-13 11:20:33 +02:00
Dummerle
a68f444852 Add context menu for installed_list_widget.py 2021-04-13 11:15:14 +02:00
Dummerle
36fb3bf687 Updated rpc 2021-04-12 21:55:08 +02:00
Dummerle
8cf1eb4cba game running at startup 2021-04-12 16:02:16 +02:00
Dummerle
db42e622c0 Fix Baug in finished_sync in tab_widget.py 2021-04-12 14:49:36 +02:00
Dummerle
2b7f7b076f
Merge pull request #39 from Dummerle/dev
Dev
2021-04-12 14:27:48 +02:00
Dummerle
f58154f3f1 add Discord RPC 2021-04-11 22:44:18 +02:00
Dummerle
dc2f622013 Show size in gb or mb 2021-04-11 21:02:56 +02:00
Dummerle
28106cf9a6
Save window size (#32)
Save window size
2021-04-10 15:05:03 +02:00
Dummerle
e67629e8f8 Save window size 2021-04-10 14:58:34 +02:00
Dummerle
32f3ddca5a Add option for launch parameters 2021-04-10 12:34:45 +02:00
Dummerle
ca8bafacd3 Auto sync-saves on finished game 2021-04-10 11:27:40 +02:00
Dummerle
f859afe43e Disable button on update game 2021-04-09 22:40:27 +02:00
Dummerle
349bdad1a1 Fixed size bug 2021-04-09 12:08:28 +02:00
Dummerle
c0881261a0 Settings improvements 2021-04-08 11:09:17 +02:00
Dummerle
62a3d9b609 Language settings + fix bug in game_list 2021-04-08 10:12:23 +02:00
BuildTools
63cfb6727b lowercase snake case 2021-04-07 22:42:30 +02:00