Commit graph

3492 commits

Author SHA1 Message Date
Vudjun
7bd5a61b65 RyuLDN implementation
These changes allow players to matchmake for local wireless using a LDN
server. The network implementation originates from Berry's public TCP
RyuLDN fork. Logo and unrelated changes have been removed.

Additionally displays LDN game status in the game selection window when
RyuLDN is enabled.

Functionality is only enabled while network mode is set to "RyuLDN" in
the settings.
2024-12-12 00:36:59 -06:00
bangfire
636c6617ee Fix Windows Terminal hide/show functions
https://stackoverflow.com/a/78577080
2024-12-12 00:36:56 -06:00
Evan Husted
a11409016e UI: Adapt accent color to the user's system.
https://amwx.github.io/FluentAvaloniaDocs/pages/FATheme/Accents#using-the-systems-accent-color
2024-12-12 00:36:53 -06:00
Luke Warner
7fd7661b56 Stub Ldn.Lp2p.ISfService: 776 (DestroyGroup)
This prevents a crash in Mario Kart Live: Home Circuit that would occur
after exiting the kart pairing screen.
2024-12-12 00:36:50 -06:00
Evan Husted
fd6c2740ef chore: applets: Cleanup redundant ReadStruct implementations & provide a default implementation for IApplet#GetResult. 2024-12-12 00:36:47 -06:00
Jacobwasbeast
8604df0f1c Add the Cabinet Applet
This adds the missing Cabinet Applet, which allows for formatting
Amiibos and changing their names.
2024-12-12 00:36:38 -06:00
Luke Warner
7ea2e0f34c ARMeilleure: Allow TPIDR2_EL0 to be set properly 2024-12-02 15:53:42 -06:00
KeatonTheBot
b48c5654ff nuget: bump Microsoft.IdentityModel.JsonWebTokens from 8.2.0 to 8.2.1 2024-12-02 00:26:25 -06:00
Evan Husted
3eddf1c1bd nuget: bump Gommon from 2.6.5 to 2.6.6 2024-12-01 18:33:33 -06:00
Luke Warner
57d51d872b Implement and stub services required for Mario Kart Live: Home Circuit
These changes allow Mario Kart Live: Home Circuit (v2.0.0) to boot into
menus. Kart functionality has not been implemented and will not work.

Version 1.0.0 is currently unsupported due to unimplemented ARM
registers. I plan on addressing this issue at a later date.

### Here is a list of the implemented and stubbed services in this PR:
#### Implemented:
Ldn.Lp2p.IServiceCreator: 0 (CreateNetworkService)
Ldn.Lp2p.IServiceCreator: 8 (CreateNetworkServiceMonitor)
Ldn.Lp2p.ISfService: 0 (Initialize)
Ldn.Lp2p.ISfServiceMonitor: 0 (Initialize)
Ldn.Lp2p.ISfServiceMonitor: 256 (AttachNetworkInterfaceStateChangeEvent)
Ldn.Lp2p.ISfServiceMonitor: 328 (AttachJoinEvent)
#### Stubbed:
Ldn.Lp2p.ISfService: 768 (CreateGroup)
Ldn.Lp2p.ISfService: 1536 (SendToOtherGroup)
Ldn.Lp2p.ISfService: 1544 (RecvFromOtherGroup)
Ldn.Lp2p.ISfServiceMonitor: 288 (GetGroupInfo)
Ldn.Lp2p.ISfServiceMonitor: 296 (GetGroupInfo2)
Ldn.Lp2p.ISfServiceMonitor: 312 (GetIpConfig)
2024-12-01 18:11:34 -06:00
LotP1
5f17f9d766 JIT Sparse Function Table random crash fix
A couple of games have random crashing with the JIT Sparse Ftable changes, and it seems to have been caused by an insufficient int size returned by `AddressTableLevel#GetValue(ulong address)`.
It was 32 bits (Int32), but the GiantBlock (which is the current address table impl) uses potentially 36 bits for the first level.
2024-12-01 18:10:57 -06:00
Hack茶ん
5c3e0240f3 Korean translation for key install tool 2024-12-01 18:09:37 -06:00
Nicola
e4f9ebe919 Added Tool for installing keys
![image](https://github.com/user-attachments/assets/5ae6118d-3857-4005-8392-5398c8fa91d5)
2024-12-01 18:08:57 -06:00
Jonas Henriksson
1cbc2c2570 Fix logic surrounding PushDescriptors in Vulkan 2024-12-01 17:15:24 -06:00
Evan Husted
fad1049679 UI: RPC: Add games
UI: RPC: Add Diablo III
UI: RPC: TSUKIHIME -A piece of blue glass moon- asset image
2024-11-26 22:34:28 -06:00
Luke Warner
075d32f4fb Remove 'Enter' hotkey in settings menu
This allows the Enter key to be bound to a button when using the
Avalonia UI.
2024-11-26 22:34:21 -06:00
KeatonTheBot
4130bf106a Disable custom refresh rate tooltip on status bar 2024-11-26 22:34:08 -06:00
LotP1
b8afbc858f JIT Sparse Function Table
More up to date build of the JIT Sparse PR for continued development.
JIT Sparse Function Table was originally developed by riperiperi for the
original Ryujinx project, and decreased the amount of layers in the
Function Table structure, to decrease lookup times at the cost of
slightly higher RAM usage.
This PR rebalances the JIT Sparse Function Table to be a bit more RAM
intensive, but faster in workloads where the JIT Function Table is a
bottleneck. Faster RAM will see a bigger impact and slower RAM (DDR3 and
potentially slow DDR4) will see a slight performance decrease.
This PR also implements a base for a PPTC profile system that could
allow for PPTC with ExeFS mods enabled in the future.
This PR also potentially fixes a strange issue where Avalonia would time
out in some rare instances, e.g. when running ExeFS mods with TotK and a
strange controller configuration.

---------

Co-authored-by: Evan Husted <gr33m11@gmail.com>
2024-11-26 22:34:00 -06:00
Evan Husted
77a05dd70a misc: Small cleanup (AsyncLogTargetWrapper.cs) 2024-11-21 20:34:03 -06:00
Jimmy Reichley
fdec1818a3 AutoLoad DLC/updates
* Add hooks to ApplicationLibrary for loading DLC/updates

* Trigger DLC/update load on games refresh

* Initial moving of DLC/updates to UI.Common

* Use new models in ApplicationLibrary

* Make dlc/updates records; use ApplicationLibrary for loading logic

* Fix a bug with DLC window; rework some logic

* Auto-load bundled DLC on startup

* Autoload DLC

* Add setting for autoloading dlc/updates

* Remove dead code; bind to AppLibrary apps directly in mainwindow

* Stub out bulk dlc menu item

* Add localization; stub out bulk load updates

* Set autoload dirs explicitly

* Begin extracting updates to match DLC refactors

* Add title update autoloading

* Reduce size of settings sections

* Better cache lookup for apps

* Dont reload entire library on game version change

* Remove ApplicationAdded event; always enumerate nsp when autoloading
2024-11-21 20:10:42 -06:00
Evan Husted
2501da9460 UI: Add Discord RPC games and other changes
- UI: Add Discord RPC games
- UI: RPC: Only show hours at maximum for play time
- UI: Reset RPC state when AppHost stops
- UI: RPC: show game version when hovering large image asset.
- UI: Improve Discord RPC for select games & show play time in place of title ID.
2024-11-19 23:37:01 -06:00
Luke Warner
ead7e0cfc9 ARMeilleure: Implement TPIDR2_EL0
This is an implementation of the TPIDR2_EL0 register. There may be more
potential use-cases for this register not included in this PR, but this
implements the use-case seen in SuperTuxKart.
2024-11-19 23:36:49 -06:00
Evan Husted
25454d0ab1 Try and fix weird nullref 2024-11-19 23:36:22 -06:00
Nicola
554e0d1141 Created bool to store if the "Avilable Update" should be hidden on startup (--hide-updates)
fixes #263
2024-11-19 23:36:02 -06:00
Evan Husted
13db6067d2 try 1: Fix IndexOutOfBounds in SDL2GamepadDriver.cs 2024-11-19 23:34:32 -06:00
Luke Warner
7979f7664e Implement IAllSystemAppletProxiesService: 350 (OpenSystemApplicationProxy)
Implements IAllSystemAppletProxiesService: 350
(OpenSystemApplicationProxy)

This fixes a crash that occurs when launching an NSP forwarder generated
by Nro2Nsp.
2024-11-19 23:34:12 -06:00
Evan Husted
b3916fa414 headless: Add Ignore Controller Applet as a configurable option 2024-11-19 16:50:20 -06:00
Evan Husted
05058e1cf8 UI: Fix crash when using "delete all" button in mod manager. 2024-11-16 19:49:06 -06:00
KeatonTheBot
69ba77d6ee Add Gommon 2024-11-16 19:47:12 -06:00
KeatonTheBot
37b1cdb288 nuget: bump SkiaSharp and System groups, roll back MoltenVK 2024-11-16 19:47:00 -06:00
KeatonTheBot
04fdc9d0f1 Custom refresh rate now only displays % in UI 2024-11-15 22:37:47 -06:00
KeatonTheBot
71e4920337 Fix VSyncMode in Ryujinx.Headless.SDL2 (for custom refresh rate) 2024-11-10 19:32:59 -06:00
KeatonTheBot
9c65883da0 Fix missing } 2024-11-10 19:09:48 -06:00
Vladimir Sokolov
c0b62e47df UI: fix: when switching players, it would show old config
When switching between players' gamepads while saving settings, then
returning to the previous player, the settings show the default settings
instead of the actual settings applied
2024-11-10 18:00:49 -06:00
Jacobwasbeast
7284f4aa67 Adds the ability to read a amiibo's nickname from the VirtualAmiiboFile
This feature adds a way to change the Amiibo's nickname inside Smash and
other places where it's used, so it’s not always "Ryujinx." However, I
did not add a GUI or create the Cabinet applet that would allow users to
change this. So you will have to go to system/amiibo and find your
amiibo id to change it.
2024-11-10 17:57:12 -06:00
Jacobwasbeast
675c43f586 Add Dummy Applet to Replace NotImplementedException
Currently, in Ryujinx, if an app attempts to open an unimplemented
applet, it crashes. This change adds a dummy applet to send a dummy
response instead of crashing and logs the applet.
2024-11-10 17:56:38 -06:00
jcm
5d24fd119d Add custom refresh rate mode to VSync option 2024-11-09 15:13:48 -06:00
Vladimir Sokolov
86f2327468 Add descriptions for "ignoring applet" translated into other languages
* Added description of the "Ignore applet" setting and translated descriptions into all available languages ​​in the emulator
2024-11-08 16:24:19 -06:00
KeatonTheBot
a2587b5ebe Remove Gtk3 2024-11-08 16:13:45 -06:00
KeatonTheBot
4d6aa25fef nuget: bump packages
* Bump Avalonia.Diagnostics from 11.0.10 to 11.0.13

* Bump Silk.NET.Vulkan group with 3 updates (2.21.0 to 2.22.0)

* Bump Microsoft.IdentityModel.JsonWebTokens from 8.0.1 to 8.2.0
2024-11-07 18:34:55 -06:00
TheToid
0fbf66c976 Add ability to trim XCI files from the application context menu 2024-11-07 18:31:02 -06:00
KeatonTheBot
ceb50c0a4d Custom resolution scale changes
* Remove rounding (no longer rounds to the nearest 0.1)

* Decrease maximum resolution scale from 100 to 10
2024-11-05 00:23:37 -06:00
KeatonTheBot
04865d2710 Fix application pool size for 12 GiB DRAM 2024-11-03 17:56:44 -06:00
Daniel Zauner
23efb24eec fix index out of range check in GetCoefficientAtIndex (#164) 2024-11-03 17:56:16 -06:00
KeatonTheBot
be17d302ac Increase texture cache @ 4 GiB DRAM for higher VRAM cards 2024-11-02 18:57:42 -05:00
MaxLastBreath
0ff6e3b7b1 Textures : Increase the amount of VRAM Cache available for Textures based on selected DRAM. (#36) 2024-11-01 20:36:35 -05:00
KeatonTheBot
b94ee1137f Update repo mentions, add release badge to README 2024-10-31 22:53:43 -05:00
KeatonTheBot
4307ee547f Update 'About' window 2024-10-31 17:15:50 -05:00
KeatonTheBot
e3624422aa Update logo/icon 2024-10-31 17:14:31 -05:00
KeatonTheBot
fc65a00a3d Fix README 2024-10-29 20:26:02 -05:00