Commit Graph

897 Commits

Author SHA1 Message Date
Narr the Reg 71937393a6 yuzu: Fix shortcut error message 2024-02-22 17:52:30 -06:00
Andrew Pilley 9ef7dbbb2b Import keys from filesystem. (#13056)
* Import keys, re-initialize KeyManager, re-scan vfs, re-populate game list.

* <.< spelling.

* Update based on feedback on #13047 and this PR

* Based on feedback: Don't delete existing files. There's legitimate reasons that someone may want to keep their retail keys and title key handling is resilient to mismatches.

* Update src/yuzu/main.cpp

Co-authored-by: Tobias <thm.frey@gmail.com>

* Remove translation of literal filename/filter format.

* clang-format.

---------

Co-authored-by: Tobias <thm.frey@gmail.com>
2024-02-19 19:18:13 -05:00
FearlessTobi 4d55e58ee4 scope_exit: Make constexpr
Allows the use of the macro in constexpr-contexts.
Also avoids some potential problems when nesting braces inside it.
2024-02-19 16:00:46 +01:00
Andrew Pilley 3551bd0134 Add check for corrupted firmware files after install. 2024-02-18 12:31:14 +11:00
Andrew Pilley 38baa215de >.> spelling 2024-02-18 07:58:41 +11:00
Andrew Pilley 17c8400218 cleanup by clang-format. 2024-02-18 07:41:24 +11:00
Andrew Pilley c78e2654db Improve behavior when one or more firmware files can't be deleted. 2024-02-18 07:38:47 +11:00
Andrew Pilley 297bf111c2 Implement In-app firmware installation. 2024-02-17 23:33:55 +11:00
Liam 0276ae2f95 am: rewrite appletAE, appletOE 2024-02-11 21:59:33 -05:00
liamwhite 93d377ac3a Merge pull request #12850 from Calinou/multiplayer-add-hotkeys
Add hotkeys for multiplayer actions
2024-02-03 11:09:41 -05:00
Liam 7df27bbef6 core: support offline web applet 2024-01-29 20:17:33 -05:00
Liam 49f10b2e54 am: migrate global state to per-applet state structure 2024-01-29 20:17:33 -05:00
Liam 1a51a1281c am: retrieve main applet creation info from frontend 2024-01-29 20:17:09 -05:00
Hugo Locurcio dd7c1354f7 Add hotkeys for multiplayer actions
Default shortcuts were chosen as to be intuitive (use the first letter
of the action, or the second word's first letter) and work on all
types of keyboards. The hotkeys can be used while playing a game too,
as they are application-wide.
2024-01-30 01:32:14 +01:00
Liam 6925b78bd5 am: re-namespace frontend applets to frontend directory 2024-01-29 18:43:45 -05:00
Liam 62369ce46c service: split am into components 2024-01-29 18:43:45 -05:00
FearlessTobi 4b7bb232f2 fs: Replace Mode enum by OpenMode enum 2024-01-25 16:42:05 -05:00
FearlessTobi 24f979a4b8 vfs: Move vfs files to their own directory 2024-01-25 16:40:42 -05:00
t895 564908ba83 frontend_common: Consistently use references
Was swapping between references and pointers for no reason. Just unify them here since each of these utility functions will need their parameters to be alive.
2024-01-25 12:53:49 -05:00
t895 55f1d7beeb frontend_common: Remove key rederivation and keep key check 2024-01-25 12:53:48 -05:00
t895 3bee9db92f frontend_common: Move integrity verification to content_manager 2024-01-21 16:36:37 -05:00
t895 4959e07015 frontend_common: Add content manager utility functions
Creates utility functions to remove/install DLC, updates, and base game content
2024-01-19 17:09:35 -05:00
Andrew Pilley 813e852dd5 Allow -u to accept a username string in addition to index, and suppress the User selector even if settings requires it to be shown for one instance only. 2024-01-17 10:31:00 -08:00
Charles Lombardo d94c0b840f Merge pull request #12612 from liamwhite/fs-pid
fsp-srv: use program registry for SetCurrentProcess
2024-01-15 13:51:14 -05:00
german77 194746c558 service: hid: Create abstracted pad structure 2024-01-11 19:35:04 -06:00
Liam 2397093e4f fsp-srv: use program registry for SetCurrentProcess 2024-01-11 11:28:52 -05:00
german77 c38b84d931 service: set: Rename files 2024-01-06 23:16:03 -06:00
Narr the Reg 146975c880 hid_core: Move hid to it's own subproject 2024-01-05 11:41:15 -06:00
Reilly Brogan 73d189050c Fix Wayland appId
On compliant Wayland compositors windows are matched to their .desktop files by comparing the appId window property to the name of the .desktop file without the .deskop extension.

Qt5/6 by default set this property to the basename of the binary (IE `yuzu`) which does not match the expected value `org.yuzu_emu.yuzu`. We can fix this and fix window associations on compliant compositors (like Plasma) by using the `setDesktopFileName()` function which will set the appId window property. This is a no-op on X11 so is safe to be ran without guards.
2023-12-29 20:32:08 -06:00
Narr the Reg 081ce648c4 yuzu: Make language persistent and remove symbols_path 2023-12-18 20:28:55 -06:00
german77 c2b2d7a903 core: Use single instance of profile manager 2023-12-10 11:29:43 -06:00
Liam 4321fc6154 file_sys: handle null romfs 2023-12-01 23:39:48 -05:00
liamwhite c90b7f3b93 Merge pull request #11946 from flodavid/gamemode
Enable (Feral Interactive) Gamemode on Linux
2023-11-29 12:33:09 -05:00
liamwhite cec5c38362 Merge pull request #12160 from german77/mouse_constrain
yuzu: Constrain mouse in render window when emulated
2023-11-27 11:56:24 -05:00
liamwhite 3a1949d81e Merge pull request #12156 from german77/firmwarevs
yuzu: Display firmware version
2023-11-26 09:49:53 -05:00
flodavid 6bd3056c52 yuzu: create linux group in general settings
- Create files dedicated to starting and stopping gamemode functions
  - Use them in yuzu and yuzu_cmd modules
2023-11-25 19:30:37 +01:00
xcfrg e21bdc68db yuzu: integrate gamemode support on linux 2023-11-25 19:30:29 +01:00
Narr the Reg d1d6a2f648 yuzu: Constrain mouse in render window when emulated 2023-11-24 19:32:35 -06:00
Narr the Reg 8ea5b7163d yuzu: Display firmware version 2023-11-24 12:58:07 -06:00
t895 230bd06245 config: Unify config handling under frontend_common
Replaces every way of handling config for each frontend with SimpleIni. frontend_common's Config class is at the center where it saves and loads all of the cross-platform settings and provides a set of pure virtual functions for platform specific settings.

As a result of making config handling platform specific, several parts had to be moved to each platform's own config class or to other parts. Default keys were put in platform specific config classes and translatable strings for Qt were moved to shared_translation. Default hotkeys, default_theme, window geometry, and qt metatypes were moved to uisettings. Additionally, to reduce dependence on Qt, QStrings were converted to std::strings where applicable.
2023-11-21 01:58:13 -05:00
Narr the Reg 1588a32251 Merge pull request #12011 from Macj0rdan/controller-applet
Implemented qlaunch version of the controller applet
2023-11-20 16:53:33 -06:00
FrozenAra 09d7bec6e1 Implemented qlaunch version of the controller applet 2023-11-19 18:38:58 +01:00
liamwhite d8a6af571b Merge pull request #11792 from boludoz/new-shortcut
Improved shortcut: add games in applist for Windows, question for sta…
2023-11-19 09:50:49 -05:00
liamwhite e3a8c777be Merge pull request #11990 from german77/audio
yuzu: Save mute when in background setting
2023-11-13 09:13:12 -05:00
german77 c2846bb7d4 yuzu: Keep homebrew on the recently played list 2023-11-11 10:14:11 -06:00
Narr the Reg e19c9281db yuzu: Make mute audio persistent 2023-11-10 10:22:04 -06:00
Franco M b703234f22 Fix out_icon_path = Common::FS::GetYuzuPath(Common::FS::YuzuPath::IconsDir); 2023-11-09 04:53:10 +00:00
Franco M 823183f817 Minor changes 2023-11-09 03:37:06 +00:00
Franco M 61263a23dd Final change, i think 2023-11-08 21:04:30 +00:00
Franco M ca8fa2245f Fixed clang 2023-11-07 02:32:19 +00:00