1
0
Fork 0
mirror of synced 2024-06-02 10:44:40 +12:00
Commit graph

368 commits

Author SHA1 Message Date
Stelios Tsampas 8f89eb6e88
Rare: pass through Black formatter 2021-12-27 00:37:13 +01:00
Dummerle 90e27bc5f2
Update translation and fix bug if desktop directory not exists 2021-12-19 00:27:11 +01:00
Dummerle bab0659e12
Remove languages from qresources 2021-12-10 20:05:51 +01:00
Dummerle c425775f28
Update to new QResource system 2021-12-09 21:59:07 +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 ea0c153a23
Show error message after error occurred in verification 2021-12-05 20:57:51 +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
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 bd0802e4be
Get some requests from image worker, to avoid same request twice 2021-11-30 20:32:45 +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 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 325e7df004
RareStyle: Add a background and a border to ease transition in the Main and Side tab bars. 2021-11-21 17:18:36 +02:00
Stelios Tsampas 26bbdf1c0e
RareSettings: Reload themes dynamically on selection
It is a unpolished but it serves well as a way to preview the theme.
Awesome font icons are not re-rendered in the correct colors.
Some styles might look a bit broken until restart.
2021-11-21 17:18:36 +02:00
Stelios Tsampas c952c978af
WineResolver: Check if winepath exists along with wine because Proton doesn't ship it 2021-11-21 17:18:36 +02: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 efa4722475
some translation fixes 2021-11-17 23:02:37 +01: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 9bfb9ede76
Update SaveGameFiles after uploading saves 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 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 509b435b1d
WineResolver: Do not fallback to PWD in non-existing paths 2021-11-13 00:34:34 +01:00
Stelios Tsampas 3f9d82433c
WineResolver: Also check if prefix path exists 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 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 d0c676d44a
Disable irrelevant widgets depending on case in EGLSync 2021-11-13 00:34:32 +01:00
Stelios Tsampas 6c916803c8
Emit textChanged signal at the end of __edit in IndicatorLineEdit.
Fix indicator being always green at startup.
Cleanup the syntax of the RareStyle stylesheet.
2021-11-13 00:34:31 +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 8e94f1d6f5
Fix wishlist, if empty 2021-11-07 01:19:37 +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
Stelios Tsampas 35240bcd6a
WineResolver and PathSpec (#117)
Add it, but not use it
2021-10-24 21:23:31 +02:00
Dummerle 9b1c068a07 Reload Uninstalled image when installed image reloaded 2021-10-15 00:15:49 +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
Stelios Tsampas fd30d07d33 Add SideTabWidget to unify tab on the side functionality
Adjust GameInfoTabs, UninstalledInfoTabs, SettingsTab
2021-10-11 20:42:59 +03:00
Dummerle c9b9ab6814 Fix some typing errors for python 3.8 2021-10-10 22:08:31 +02:00
Stelios Tsampas e029ceae99 Add minimum size for PathEdit despite horizontal size policy 2021-10-10 20:47:26 +03:00
Stelios Tsampas b7edcc062b Rename debug and RPC files for less verbosity
Rename `get_possible_langs` to `get_translations`
2021-10-10 20:47:26 +03:00
Stelios Tsampas c1e750138f Add IndicatorLineEdit and base PathEdit on it. 2021-10-10 20:47:19 +03:00
Dummerle 3635ace3b5 Fix cut font in SideTabBar 2021-10-08 22:02:11 +02:00
Dummerle 3796db83c1 Fix updates; Fix dlc tab; Fix Game list update 2021-10-07 19:42:27 +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 9a04bd519f Fix bug, if image is corrupt 2021-09-19 23:14:38 +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 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 152c1a326d Some fixes in shop: Images, try/except 2021-09-12 21:38:48 +02:00
Dummerle 18570511c4 Remove save button at PathEdit. Save on change 2021-09-09 20:00:12 +02:00
Dummerle 7f64e1e494 Fix borked from steam grades 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 5f0e918323
Merge branch 'main' into dev 2021-09-05 22:00:14 +02:00
Dummerle 925127e9c5 Change order of desktop shortcuts 2021-09-05 12:30:33 +02:00
BuildTools f278a29c32 Fix .msi file and remove macos .app file, because is did not work 2021-09-05 00:54:43 +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 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 cc54474e75 Add Wishlist tab in store 2021-08-25 20:25:10 +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 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 a0b309e3da Fix type error for older versions of python 2021-08-17 17:35:02 +02:00
Dummerle ea78aa7b64 Fix Desktop links (Appimages, wrong path) 2021-08-17 16:54:55 +02:00
Dummerle 363fda6d5e Fix download bugs 2021-08-17 16:05:00 +02:00
Dummerle d6b318d9ef Fix some errors 2021-08-17 15:09:46 +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 983e80a4c6 Some optimizations 2021-08-07 23:42:40 +02:00
Dummerle 2233c7f338 Some optimizations 2021-06-30 00:38:42 +02:00
Stelios Tsampas ed68eb66ad Convert models to dataclasses. 2021-06-24 20:08:22 +03:00
Stelios Tsampas e8dadb6b00 Update the RareStyle to handle radiobutton, disabled widgets, etc.
* Add RareStyle qrc with the icons needed for comboboxes and spinboxes
* Add images as svg
* Refactor `styles` to `resources` since it contains more things now.
* Add stylesheet folders, each folder must contain a `stylesheet.qss` file.
* Don't use QResources, instead add an identifier in the qss url() which can
  replaced later with the full path.
* Update RareStyle with SVG images for better quality.
2021-06-24 20:08:04 +03:00
Stelios Tsampas f49cc413dd Add prefix path select dialog to LoginDialog.
* Make exception handling more general in InstallDialog.
* Fix the title of PathEdit file selection dialog.
2021-06-24 20:07:18 +03:00
Dummerle 98386f0bbb Add button to search bar in shop main widget 2021-06-20 22:22:36 +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 69675ee639 Add --debug option 2021-06-20 21:07:56 +02:00
Dummerle 374e8193ac Fix weird bug with images in ImageLabel 2021-06-18 00:17:01 +02:00
Dummerle e7038be33a Better Code to browse games, use PIL images to save smaller 2021-06-17 00:34:23 +02:00
Dummerle 2549d92fe3 Fix cloud saves bug and some protondb fixes 2021-06-15 18:26:58 +02:00
Dummerle 745e0cc516 Update some things to launch rare with pythonw.exe on windows 2021-06-12 00:04:09 +02:00
Dummerle bc6b9e5ae2 Added other games,set type to scrollarea 2021-06-11 13:37:09 +02:00
Dummerle bd6e195e37 Fix some bugs with images 2021-06-11 12:56:25 +02:00
Dummerle 337b738599 Nice look of search results; better look for shop info; added ImageLabel in extra_widgets.py 2021-06-10 14:13:28 +02:00
Dummerle 44b7a0a37f Show images on shop game widget; move shop models to shop_models.py 2021-06-09 13:08:25 +02:00
Dummerle 89afebd9fd Show search results: Not pretty: no images 2021-06-09 00:00:00 +02:00
Dummerle 838783c1fb Show error message and warnings after core.prepare_download 2021-06-07 15:42:49 +02:00
Dummerle bcce9487cd Shop info works now 2021-06-04 18:16:27 +02:00
Dummerle b31080a5ae Add basic store 2021-06-03 23:23:55 +02:00
Stelios Tsampas 181636f2be Connect all widgets to the get_download_info function. 2021-05-25 23:52:25 +03:00
Stelios Tsampas b0ec5c5fcb Move all download preparations inside InstallDialog.
InstallDialog now returns a InstallQueueItemModel ready
to be downloaded or queued.

Renamed a few model attributes to match legendary's names.

InstallDialog can be run silently for auto-downloads.
2021-05-25 23:52:25 +03: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 494e078522 Fix remaining issues with the install dialog.
* Fix race condition between the sdl checkboxes.
* Fix default tag not been included in the list of tags.
* Delete InstallDialog on close.
* Specify parent for InstallDialog.
2021-05-25 23:52:25 +03:00
Stelios Tsampas 1131edda20 Add selective downloads 2021-05-25 23:52:25 +03:00
Stelios Tsampas 5ccf73d737 Update install dialog and remove the extraneous install info dialog 2021-05-25 23:52:25 +03:00
Dummerle 1ef5ad0d61 Add two options to create desktop and startmenu link 2021-05-22 17:49:01 +02:00
Stelios Tsampas 6686a5ddc6 Simplify color scheme format
`.scheme` files now should hold only the Active palette and
for the Inactive and Disabled palettes only whatever colors differ.

Add a few more color schemes based on popular themes.
2021-05-21 23:45:33 +03: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 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 9049d34898 Fix bug with linux startmenu links 2021-05-18 17:07:39 +02:00
Stelios Tsampas f34e1ce61f Add selectable colors schemes and style sheets 2021-05-18 01:59:59 +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 8c882177e1 Make PathEdit more self-contained 2021-05-18 01:57:20 +03:00
Stelios Tsampas 748d51f31f Improve PathEdit a bit more
Add placeholder text
Remove some unused variables
Open dialog starting from path if set
2021-05-18 01:57:20 +03:00
Stelios Tsampas 115d142f94 Improve the layout of PathEdit 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 530cff2a14 Better style for uninstalled info; add raw json view 2021-05-17 21:27:23 +02:00
Dummerle 89d30b4899 Fix bugs with windows filenames 2021-05-17 11:38:30 +02:00
Dummerle 5a6a8fc1e7 Remove Windows Desktop files on uninstall 2021-05-12 11:45:10 +02:00
Dummerle b4d10cc77e Auto sync saves on startup if enabled 2021-05-12 09:19:50 +02:00
Dummerle 61fe881c1a Add Info for uninstalled Games 2021-05-11 17:29:35 +02:00
Dummerle 4378df2791 Fixed Windows Desktop link: Icons 2021-05-11 16:42:41 +02:00
Dummerle f2922bc677 Fixed Windows Desktop link: Icons 2021-05-11 16:39:02 +02:00
Dummerle 264860049e Fixed Windows Desktop link 2021-05-11 16:24:02 +02:00
Dummerle 6a3166ceff Add ProtonDB in UninstalledInfo (Test/Beta) 2021-05-11 14:30:08 +02:00
ChemicalXandco bfc8b1f8f5 add pywin32 to requirements.txt 2021-05-09 15:25:27 +01:00
ChemicalXandco de408cc534
Merge branch 'main' into windows_desktop_shortcut 2021-05-09 15:07:13 +01:00
ChemicalXandco 378b5193e8 add support for game shortcuts on windows 2021-05-09 15:05:43 +01:00
Dummerle 2d3c1bf295
Merge pull request #52 from gnanini/main
added modules for getting a game's steam id and its protondb tier!
2021-05-04 18:30:31 +02:00
gnanini 77a0d8d8eb
Update id.py 2021-05-03 16:01:05 -03:00
Dummerle 3a178cb797 Catch more exceptions in rpc 2021-05-01 11:24:38 +02:00
Dummerle 14c1dbf19c Remove desktop link on uninstall 2021-05-01 11:17:18 +02:00
gnanini 7a08664730
Update id.py 2021-04-27 15:45:31 -03:00
gnanini 3d6ff836fd
Update utils.py 2021-04-27 15:39:02 -03:00
gnanini ef00d6bcfa
Add files via upload 2021-04-27 15:31:40 -03:00
gnanini 9754b4f102
Delete get_grade.py 2021-04-27 14:53:59 -03:00
gnanini 9db4729aff
Delete get_id.py 2021-04-27 14:53:39 -03:00
gnanini 4b821427d3
added modules for getting a game's steam id and its protondb tier!
imported the modules on utils.py
2021-04-26 21:10:50 -03:00
Dummerle ee467d9398 Add logging for Games, error handling 2021-04-22 14:11:12 +02:00
Dummerle 497a6009d0 Add offline mode and --offline option 2021-04-19 15:44:28 +02:00
Dummerle db4355a546 Fix rpc bug, rpc did not remove 2021-04-17 11:26:43 +02:00
Dummerle b71fe88eec
Merge pull request #47 from Dummerle/dlc_support
Add tab in game info to install and list dlcs. Uninstalling dlcs is not supported by Legendary
2021-04-17 09:57:21 +02:00
Dummerle 709b4dcc8d Fix Launch Progressbar 2021-04-16 18:56:33 +02:00
Dummerle 93acab85c0 Add support for DLCs 2021-04-16 17:48:24 +02:00
Dummerle 3ae41cab91 rpc.py: Fix bug from https://github.com/Dummerle/Rare/issues/45 2021-04-15 23:02:48 +02:00
Dummerle 933c7c7c58 Fixed bug at launch game 2021-04-14 14:30:36 +02:00
ChemicalXandco 6acf8f0f0b Use windows .msi installer for desktop shortcut 2021-04-13 22:54:46 +01: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 7b83c27c27 Add Desktop links for Linux 2021-04-13 16:56:44 +02:00
Dummerle 113efd1de3 Fixed Discord RPC bug 2021-04-13 12:40:50 +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 36fb3bf687 Updated rpc 2021-04-12 21:55:08 +02:00
Dummerle c8b434f1a2 Catch exceptions at launch of game 2021-04-12 20:34:55 +02:00
Dummerle dc2f622013 Show size in gb or mb 2021-04-11 21:02:56 +02:00
ChemicalXandco da8ef8dab8
Add stop download button (#33)
Add stop download button
Not a perfect solution, but it should work
2021-04-11 17:03:55 +02:00
Dummerle 9111b2eecb Allow only one instance 2021-04-09 12:32:41 +02:00
BuildTools 665083c5b5 lowercase snake case 2021-04-07 22:39:23 +02:00