Commit graph

3779 commits

Author SHA1 Message Date
KeatonTheBot
e2973a875a misc: chore: Use collection expressions 2025-03-06 20:46:29 -06:00
KeatonTheBot
4d5757417e chore: Further clean up RuntimeIdentifiers in project files 2025-03-01 12:20:56 -06:00
Evan Husted
c838be4403 misc: chore: Add warning logs for invalid ips patch attempts 2025-02-26 11:21:33 -06:00
LotP1
62a54c63b8 Reset in-memory JIT cache on game quit + fix Purge PPTC
Jit cache now fully resets when booting a game multiple times.
This should fix random jit cache crashes.
Also removed some redundant code related to region allocation and fixed
PPTC Purge not fully purging all PPTC files in the backup folder.
2025-02-26 10:38:24 -06:00
Evan Husted
51f26f89a5 headless: Default to Vulkan 2025-02-25 10:21:08 -06:00
KeatonTheBot
a2fcd3038d Disable trimming on win-arm64 2025-02-25 10:20:33 -06:00
Emmanuel Hansen
7bf6c3f016 use UnmanagedCallersOnly for delegates 2025-02-22 22:46:29 -06:00
KeatonTheBot
1ea90c41a9 nuget: bump packages
* Ryujinx.Graphics.Nvdec.Dependencies.AllArch to 6.1.2-build3
* DynamicData to 9.1.2
* Microsoft.IdentityModel.JsonWebTokens to 8.6.0
2025-02-22 14:16:03 -06:00
KeatonTheBot
a58295b885 Tweak maximum texture cache size for 4 GiB DRAM dropdown 2025-02-20 00:27:47 -06:00
KeatonTheBot
7cf322e0cf UI: RPC: Change ApplicationID (fixes asset images not loading) 2025-02-18 04:18:56 -06:00
Evan Husted
741ddf8f1c UI: Extract the 256x256 thumbnail too when extracting the logo. 2025-02-18 04:18:36 -06:00
KeatonTheBot
b3e5395950 UI: RPC: Add several titles 2025-02-18 04:18:05 -06:00
Evan Husted
a3eef171c4 UI: RPC: Hogwarts Legacy asset image 2025-02-17 14:40:28 -06:00
Evan Husted
44a28ea530 infra: chore: Raise minimum required Windows 10 version
Inspired by the breakages covered in #409
2025-02-17 00:37:21 -06:00
Evan Husted
142a031383 misc: chore: Fix shader cache & CPU cache being in different folders on non-Windows
fixes #565
2025-02-17 00:37:07 -06:00
Evan Husted
5e77ca25c8 HLE: LDN: Reduce NAT timeout from 5 seconds to 2.5 2025-02-16 18:04:55 -06:00
Vudjun
e3258ab026 Gracefully handle errors in socket creation
In all other calls, exceptions are handled within the ManagedSocket
class, this can't easily be done here as the exception is thrown from
the constructor, so the exception is handled in ISocket and the correct
error is passed to the application.

This should fix #660
2025-02-16 17:32:36 -06:00
Vudjun
fba6cb68c9 Add logging in socket implementation
Adds logging to most Socket calls to help with debugging network
issues.

Shouldn't affect any functionality. There's a small chance it could spam
the log in some games.
2025-02-16 17:32:08 -06:00
FluffyOMC
323f3f83e4 Prevent log from showing negative JIT cache sizes (32bit-int overflow)
![image](https://github.com/user-attachments/assets/5820ce7b-cbfe-4908-8f5e-7ee82040ee1a)

(cherry picked from commit a675d243d10ee98ed6b3dec9010ae3e6b2e1a39c)
2025-02-15 13:14:40 -06:00
KeatonTheBot
63e145a377 nuget: bump packages
* DynamicData to 9.1.1
* Microsoft.IdentityModel.JsonWebTokens to 8.5.0
* Ryujinx.Graphics.Nvdec.Dependencies.AllArch to 6.1.2-build2
* System group to 9.0.2
* Gommon to 2.7.1.1
2025-02-15 13:14:20 -06:00
FluffyOMC
a763f7bfd0 JIT Cache Regions + HLE SoNoSigpipe BSD socket mapping
Instead of one big 2048MB JIT Cache that'd crash the emulator when maxed
out, we now have it where we add 256MB JIT Cache regions when needed,
helping reduce allocated memory where games don't use the JIT cache for
it, and helping bigger games that DO need JIT cache bigger than 2048MB!

![image](https://github.com/user-attachments/assets/ff17dc48-6028-4377-8c73-746ab21ab83b)
(SSBU goes past the 2048MB JIT Cache limit that would normally crash
Ryujinx ^)

Also I added a BSD socket that Baba is You's networking for downloading
custom levels uses.
2025-02-12 16:41:39 -06:00
Evan Husted
59c3c5e864 Dynamic Presence support for every NSO emulator 2025-02-12 16:41:36 -06:00
Evan Husted
33cfce1c44 UI: RPC: add image asset for Bluey: The Video Game
(cherry picked from commit 13388e972a105096161f619e8659ac7bb03ebaf1)
2025-02-12 16:41:34 -06:00
KeatonTheBot
69a1419be5 UI: Clean up AXAML code
* Remove unused namespaces
* Remove redundant attached property setters
* Use IsCheckedChanged in lieu of the obsolete Checked
* Optimize row & column definitions
2025-02-06 19:33:45 -06:00
LotP1
da0c6c57f9 PPTC Profiles
Added functionality that allows ExeFS mods to compile to their own PPTC
Profile and therefore store PTC data between sessions.
The feature calculates the hash of the currently loaded ExeFS mods and
stores the PPTC data in a profile that matches said hash, so you can
have multiple ExeFS loadouts without causing issues. This includes
different versions of the same mod as their hashes will be different.
Using this PR should be seamless as the JIT Sparse PR already laid the
groundwork for PPTC Profiles and this PR just allows ExeFS mods to load
and store their own profiles besides the `default` profile.

 **WARNING!** 
**This will update your PPTC profile version, which means the
PPTC profile will be invalidated if you try to run a PR/Build/Branch
that does not include this change!**
**This is only relevant for the default PPTC Profile, as any other profiles do not exist to older versions!**
2025-02-05 01:30:37 -06:00
Evan Husted
a5e8c8ebad UI: [ci skip] Fix ContentDialog symbols being backwards for right-to-left languages 2025-02-05 01:29:39 -06:00
Evan Husted
20699c8edd misc: chore: [ci skip] fix log on AOC extraction failure 2025-02-05 01:29:14 -06:00
Evan Husted
4cbfd38633 misc: chore: [ci skip] Log errors from TaskScheduler.UnobservedTaskException 2025-02-05 01:16:41 -06:00
Evan Husted
2e40b436aa UI: [ci skip] Make cheat window larger by default 2025-02-04 23:09:09 -06:00
Evan Husted
01cd935cc3 UI: Scanning for mods on DLC content 2025-02-04 23:03:23 -06:00
Vladimir Sokolov
628a28290f Added --backend-threading arg for CommandLineState
Added the `--backend-threading` arg so that you can launch games via
a shortcut with modifications to this setting.
2025-02-04 22:31:39 -06:00
Josh
727ac79ebc Increase NAT discovery timeout to 5000ms
1000ms was too fast on some slower networks. It would lead to an early
cancellation before device could be found.
2025-01-27 21:44:26 -06:00
Daenorth
e7dc0f8a63 Added more titles to RPC
Added some more titles to the RPC environment

-Brawlhalla
-Minecraft
-Risk
-Stardew Vallet
-Valkyria Chronicles 4
-Super bomberman R
-Arcade archives Super mario bros
-Divinity Original sin 2 DE
-Monopoly
-titan Quest
2025-01-26 22:14:47 -06:00
Evan Husted
92c1db7c59 HLE: TryAdd firmware NCAs 2025-01-26 22:05:47 -06:00
Evan Husted
72ab6ae184 UI: Fixed the Amiibo keybind only working when the UI had been updated. 2025-01-26 22:05:45 -06:00
gdkchan
7218c66565 Implement VP9 loop filtering
* Initialize loop filter parameters
* Adjust docstrings for CodecError.cs
* Remove duplicate BitUtils methods
2025-01-21 13:47:12 -06:00
Iván Mestre
49b0927fd5 Added a command line option (-c, --config) to load a configuration file through the command line parameters 2025-01-21 13:47:07 -06:00
Evan Husted
0380173937 UI: Dump DLC RomFS.
You can access this in the Manage DLC screen, it's the new button on each DLC line.

Closes #548
2025-01-21 13:37:18 -06:00
Matt Zinkevicius
85f33b1654 Log .NET runtime version
I was looking into a crash, and found out it was an issue that was fixed
in .NET 9.0.1. Since Ryujinx embeds the runtime into the executable, it
not obvious which runtime a build uses. This logs the .NET runtime
version immediately after the build version.
2025-01-21 13:37:13 -06:00
Evan Husted
6e3ee8fc1e misc: clean vsync toggle log 2025-01-21 13:37:10 -06:00
Daenorth
160f7db9fb Cleanup in TitleIDs.cs
Just a little cleanup in TitleID.cs, adding a franchise title to most
franchises + sorting in alphabetical on all games.
2025-01-21 13:36:32 -06:00
Daenorth
5b25c6e089 Updated TitleIDs
Added more games to the RPC list. Now alphabetical.
2025-01-19 20:45:56 -06:00
Evan Husted
cf94c8e634 UI: RPC: Goat Simulator 3 asset image 2025-01-19 20:45:53 -06:00
KeatonTheBot
e4d8ab03ad misc: Update Gommon 2025-01-19 20:45:32 -06:00
GabCoolGuy
631893b32c UI: Fix UpdateWaitWindow.axaml windows being too big on windows 2025-01-17 14:21:57 -06:00
LotP1
57ec605fc8 remove notice for unusual core counts 2025-01-17 09:29:17 -06:00
Evan Husted
94ba8de683 HLE: Stub IHidServer SetGestureOutputRanges
Lets "Donkey Kong Country Returns HD" get into main gameplay.
2025-01-16 11:44:17 -06:00
KeatonTheBot
50b08203e9 chore: clean up RuntimeIdentifiers in project files 2025-01-16 00:03:09 -06:00
KeatonTheBot
a4fef5b439 nuget: Remove local source for FFmpeg runtimes 2025-01-14 19:35:38 -06:00
KeatonTheBot
61c7bad225 Update FFmpeg runtimes to 6.1.2 for win-x64 and linux-x64/arm64. Add runtimes for win-arm64 arch. 2025-01-14 17:44:17 -06:00