Commit graph

3523 commits

Author SHA1 Message Date
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
gdkchan
6340c4feb4 Re-merge PRs 7311 (1.1.1392) and 7312 (1.1.1396)
Add support for sampler sRGB disable (#7312)

Change image format view handling to allow view incompatible formats (#7311)

* Allow creating texture aliases on texture pool

* Delete old image format override code

* New format incompatible alias

* Missing bounds check

* GetForBinding now takes FormatInfo

* Make FormatInfo struct more compact
2024-10-29 14:23:40 -05:00
KeatonTheBot
607155e4ab Change version number 2024-10-29 14:23:37 -05:00
KeatonTheBot
90e1bf84ec nuget: bump non-avalonia packages
* Bump SkiaSharp packages with 2 updates

* Bump Concentus from 2.2.0 to 2.2.2

* Bump Ryujinx.Graphics.Vulkan.Dependencies.MoltenVK from 1.2.0 to 1.2.3
2024-10-24 00:04:44 -05:00
KeatonTheBot
8b81f1536c nuget: bump the avalonia group with 6 updates 2024-10-24 00:04:40 -05:00
EmulationEnjoyer
c725fad066 Fix divide by zero when recovering from missed draw (Vulkan) (#52) 2024-10-24 00:03:47 -05:00
Vladimir Sokolov
6ed91448a9 Added option to ignore applet (gamepad connection window will not appear when it is disconnected) (#40)
This option is under the hacks category for a reason; use if you know what you're doing.
2024-10-24 00:02:44 -05:00
MaxLastBreath
c1bcc7cdf5 Ava UI : Set the Default Controller to Pro Controller. (#37)
* Set the Default Controller to Pro Controller.

- Let's be honest nobody is using JoyCon pair on their PC.
- It looks nicer and more accurate to more traditional controllers.
- Fixes issues with UltraCam mods and other such mods with lack of proper Dual Joycon support.

* Change standard configuration too.
2024-10-23 15:49:31 -05:00
Evan Husted
5764d72b0e CPU: Add low-power PPTC load mode.
* Specifically, this setting causes the translation load core count to get reduced by two-thirds, for lower-power but still fast loading, and for unstable CPUs.

I18n: Move low-power PPTC strings into translation files & add german version.
2024-10-23 15:28:55 -05:00
KeatonTheBot
e07163600f Optimize application pool sizes
* Increases compatibility with resolution mods
2024-10-22 18:15:54 -05:00
KeatonTheBot
e221f7dbfc Replace 'Expand DRAM' option with dropdown menu 2024-10-22 18:13:26 -05:00
KeatonTheBot
2d36a23252 Increase texture cache limit to 6 GB 2024-10-22 18:13:02 -05:00
KeatonTheBot
02a5f75fab Revert PRs 7226(1.1.1385), 7311(1.1.1392), and 7312 (1.1.1396).
* "Vulkan: Feedback loop detection and barriers (#7226)"

* "Change image format view handling to allow view incompatible formats (#7311)"

* "Add support for sampler sRGB disable (#7312)"

* These changes prevent slowdowns in several areas in Paper Mario: The Thousand Year Door, possibly other games.
2024-10-22 18:12:51 -05:00
gdkchan
a2c0035013
Update audio renderer to REV13: Add support for compressor statistics and volume reset (#7372)
* Update audio renderer to REV13: Add support for compressor statistics and volume reset

* XML docs

* Disable stats reset

* Wrong comment

* Fix more XML docs

* PR feedback
2024-10-01 11:30:57 +01:00
gdkchan
7d158acc3b
Do not try to create a texture pool if shader does not use textures (#7379) 2024-09-30 11:41:07 -03:00
e2dk4r
5dbba07e33
sdl: set app name (#7370)
Ryujinx was not hinting application name, so on some platforms (e.g.
Linux) volume control shows Ryujinx as 'SDL Application'. This can cause
confusion.

This commit fixes name in volume control applets on some platforms.

see: https://wiki.libsdl.org/SDL2/SDL_HINT_APP_NAME
2024-09-28 10:44:23 +02:00
MaxLastBreath
d86249cb0a
Convert MaxTextureCacheCapacity to Dynamic MaxTextureCacheCapacity for High Resolution Mod support. (#7307)
* Add Texture Size Capacity and 8GB Dram Build

* Update AutoDeleteCache.cs

* Dynamic Texture Cache (WIP)

* Change to float Multiplier, in-case it needs fine-tuning.

* Delete src/src.sln

* Update AutoDeleteCache.cs

* Format

* Fix Formatting

* Add DefaultTextureSizeCapacity and MemoryScaleFactor

- Also remove redundant New Lines

* Fix 4GB dram crashing

* Format newline

* Refractor

- Added Initialize() function to TextureCache and AutoDeleteCache
- Removed GetMaxTextureCapacity() function and instead added _maxCacheMemoryUsage
- Added private const MaxTextureSizeCapacity to AutoDelete Cache
- Added TextureCache.Initialize() to MemoryManager in order to fetch MaxGpuMemory at the right time.
- Moved and Changed Logger.Info for Gpu Memory to Logger.Notice and Moved it to PrintGpuInformation function.
- Opted to use a ternary operator for the Initialize function, I think it looks cleaner than bunch of if statements.

* Update src/Ryujinx.Graphics.Gpu/Image/AutoDeleteCache.cs

Co-authored-by: gdkchan <gab.dark.100@gmail.com>

* maxMemory to CacheMemory, use Clamp instead of Ternary. Changed MinTextureCapacity 1GiB to 512 MiB

* Update src/Ryujinx.Graphics.Gpu/Image/AutoDeleteCache.cs

Co-authored-by: gdkchan <gab.dark.100@gmail.com>

* Format comment

* comment context

* Increase TextureSize capacity for OpenGL back to 1024

- Added a new const ulong for OpenGLTextureSizeCapacity

* Fix changes from last commit.

* Adjust last OpenGL changes.

* Remove garbage VSC file

* Update src/Ryujinx.Graphics.Gpu/Image/AutoDeleteCache.cs

Co-authored-by: gdkchan <gab.dark.100@gmail.com>

* Update src/Ryujinx.Graphics.Gpu/Image/AutoDeleteCache.cs

Co-authored-by: gdkchan <gab.dark.100@gmail.com>

* Update src/Ryujinx.Graphics.Gpu/Image/AutoDeleteCache.cs

Co-authored-by: gdkchan <gab.dark.100@gmail.com>

---------

Co-authored-by: gdkchan <gab.dark.100@gmail.com>
2024-09-26 14:33:38 -03:00
riperiperi
04d68ca616
GPU: Ensure all clip distances are initialized when used (#7363)
* GPU: Ensure all clip distances are initialized when used

* Shader cache version
2024-09-26 14:19:12 -03:00
Jason Youngberg
050f22977f
Update bug_report.yml to provide better instructions for finding log file (#7333) 2024-09-24 11:10:36 +02:00
gdkchan
319507f2a1
Fix quads draws after DrawTexture on Vulkan (#7336) 2024-09-22 19:36:53 -03:00