1
0
Fork 0
mirror of synced 2024-06-26 18:20:50 +12:00
Commit graph

1117 commits

Author SHA1 Message Date
loathingKernel 654f734975 Lgndr: Update test get_boolean_choice to the arguments of its counterpart 2022-08-02 10:42:38 +03:00
loathingKernel 5c1ff81370 LegendarySettings: clean_manifests expects more values 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 99cb7f46fd ImportGroup: Set the wordwrap option for the information label 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 9df3355200 LegendaryUtils: Remove dead re-implemented functions 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 7aded95a1f Lgndr: Monkeypatch modified DLManager into LegendaryCore at module import 2022-08-02 10:42:38 +03:00
loathingKernel a208c9b1d4 Revert "Requirements: Add parse"
This reverts commit e100d90708a98e29d23826f56e61561db96b60be.
2022-08-02 10:42:38 +03:00
loathingKernel caffd9c51d Lgndr: Return result from resolve_aliases (woops) 2022-08-02 10:42:38 +03:00
loathingKernel 9acfd7a67f Lgndr: Follow comment pattern 2022-08-02 10:42:38 +03:00
loathingKernel 53fba8c705 Lgndr: Set 'estimate' to 0 before it can be calculated 2022-08-02 10:42:38 +03:00
loathingKernel 10b845c0aa Lgndr: Save the manifest if it was downloaded while verifying 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 d7aba41aa4 Requirements: Add parse 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 d4bf783018 Update core to the submodule rebase 2022-08-02 10:42:38 +03:00
loathingKernel fd2c094dc2 Add override for prepare_overlay_install() 2022-08-02 10:42:38 +03:00
loathingKernel 9af4e7ead8 Specify correct return type for prepare_download() and disable formatting for copied code segments 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 78fb13830e Set logging level instead of disabling it in DLManager 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 9698bf445b Re-enable logging in DLManager correctly 2022-08-02 10:42:38 +03:00
loathingKernel 82015f21d4 Fix ordering in InstallDownloadModel to match 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
loathingKernel d4718f823f Use custom exception to overload log.error and log.fatal in egl_import and egl_export 2022-08-02 10:42:38 +03:00
loathingKernel 3ec8973de8 Update shim UIUpdate and DLManager to the cleanup changes from the submodule 2022-08-02 10:42:38 +03:00
loathingKernel a9954a98f6 LegendaryCore: Re-use super's prepare_download() instead of copying it. 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
Stelios Tsampas f4743d99b6 Remove submodules 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
Dummerle fd5fcd3b92
Merge pull request #230 from loathingKernel/fixups
ImageManager: Also test if 'game.metadata' has 'keyImages'
2022-07-29 00:00:12 +02:00
loathingKernel 4139797eff ImageManager: Also test if 'game.metadata' has 'keyImages' 2022-07-28 22:20:06 +03:00
Dummerle 44926869bb
Merge pull request #228 from loathingKernel/fixups
Fixups
2022-07-11 22:20:28 +02:00
loathingKernel e005423d0a GameUtils: Remove functions moved to LaunchHelper 2022-07-11 23:07:00 +03:00
loathingKernel ef88a913f9 LaunchHelper: Add terminate and kill button in the console (visible only in windows for now) 2022-07-11 22:18:26 +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
loathingKernel 06e5901aab ImportGroup: properly name the hlayout 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
Dummerle ef5e814f64
Fix bug, hwn launching origin games 2022-07-07 23:56:19 +02:00