Commit Graph
1352 Commits
Author SHA1 Message Date
hexkyz 43c6da000c dns.mitm: allow bsdsocket to cleanup 2026-10-15 22:06:50 +01:00
hexkyz 0165f5dcc1 web: better browser memory patching strategy 2026-10-15 20:25:15 +01:00
hexkyz 90cd78a3a3 dns.mitm: trust bsdsocket to generate query ids
Further testing confirmed that bsdsocket ensures each query is unique and per-process.
Not only this allows us to simplify the mitm logic, but also fix a noticeable slowdown that was being caused by clients not being informed that bsdsocket's queue was full.
2026-10-14 22:08:48 +01:00
Chris Bräucker 4c233196dd Fall back to RSA device certificate for cal0 authenticity check (#2887)
* Fix device ID check in cal0 backup path

Only the ECC device certificate was used, which may be absent on some devices. Adds a fallback to use the RSA device certificate which is present on those.

* Move cert validity check into device ID check

* Fix ecc case condition

in cases where ECC is not blank and not valid, instead of aborting, it falls through to RSA
2026-10-14 19:48:41 +01:00
hexkyz eccd393126 fs.mitm: add entries for regional versions of Trails in the Sky 2nd Chapter (closes #2879) 2026-10-11 22:38:45 +01:00
hexkyz 4106801486 dns.mitm: forward queries for hostnames not in the hosts file 2026-10-11 22:21:31 +01:00
hexkyz 0e9cd964c0 fs.mitm: mitm StorageForBatchRead as well as previously missing FileSystem/DataStorage commands 2026-10-09 20:09:52 +01:00
hexkyz f5cd912604 dns.mitm: implement mitm for the new c-ares resolver and update serializer code 2026-10-06 02:25:38 +01:00
MasaGratoR c8b7316581 Add Trails in the Sky 2nd Chapter to ApplicationsWithDynamicHeap (#2870) 2026-10-02 19:22:56 +01:00
hexkyz a1a9886290 ro/util: last round of fixes, now fully matches official behavior 2026-09-27 22:09:31 +01:00
hexkyz 59e7786a45 web: introduce browser memory patching
With 23.0.0 we have even less memory available which is causing the browser (openWeb) and eshop (systemWeb) applets to crash immediately.
While the amount of memory required by the browser applets didn't change this time, just implementing 23.0.0 changes was enough to push it over the limit.
Instead of reducing the memory available to us even further, this convoluted set of patches attempts to reclaim around 9 MB of unused browser memory.
2026-09-27 01:35:29 +01:00
hexkyz 2ae182bd5d ro: add missing fixes 2026-09-25 01:33:40 +01:00
hexkyz e872f5b566 Merge pull request #2854 from Ludwigmk/master
fs.mitm: add danganronpa v3 to games needing stolen heap for layeredfs
2026-09-24 01:30:57 +01:00
hexkyz 58f2b963d5 ro: implement NRO decompression and fix bugs 2026-09-24 01:18:59 +01:00
hexkyz 44d9649c6d ams: use R_DISCARD everywhere 2026-09-23 20:42:15 +01:00
hexkyz 21f16ff938 boot: add missing 18.0.0 change and new 23.0.0 change 2026-09-21 23:10:09 +01:00
hexkyz 82f15b6e5d pm: NotifyBootFinished no longer changes program verification 2026-09-21 21:33:12 +01:00
hexkyz 0411dbfdda ro: start implementing 23.0.0 changes 2026-09-20 23:23:56 +01:00
Ludwig 56d301ef5c fs.mitm: add danganronpa v3 to games needing stolen heap for layeredfs 2026-09-20 22:17:14 +02:00
hexkyz 8ad3efdd79 loader: add missing EnableShadowStack to process flags 2026-09-17 21:44:25 +01:00
hexkyz ab1e8a3e32 kern/loader/svc: adopt updated names 2026-09-17 21:42:22 +01:00
Alula 0f15010ba5 kern/loader: make aware of new address space and shadow stack region 2026-09-15 17:04:50 +02:00
hexkyz 8ec1288bd6 loader: update USB 3.0 patches for 23.0.0 2026-09-10 16:31:52 +01:00
hexkyz 3ace80cc7b loader/util: support regular zstd alongside zbic 2026-06-24 22:08:13 +01:00
Alula 94e62a7b1b loader: add non-release build debug logging 2026-06-24 20:54:42 +02:00
Alula 38251801df loader/strat: fix/refactor zstd-zbic integration 2026-06-24 20:50:41 +02:00
hexkyz 47cfe05bb0 loader: update USB 3.0 patches for 22.5.0 2026-06-16 18:51:10 +01:00
MasaGratoR e655fd4b01 fs.mitm: Add "Until Then" as another game which needs stolen heap for layeredfs 2026-04-24 22:30:25 +02:00
hexkyz 4b4db91341 pgl: no need to initialize lr services when already using our own 2026-04-03 23:32:15 +01:00
MasaGratoR ac120cf84b Match 21.0.0 FW 2026-04-03 22:23:08 +02:00
MasaGratoR 97ffad2ab6 Update service access to match 21.0.0 2026-04-03 22:22:15 +02:00
hexkyz c8d68a3a8a Merge pull request #2763 from masagrator/patch-1
Fix off by 1 bug + allocation error + missing initialize in PGL
2026-04-03 19:27:56 +01:00
hexkyz 5c426bf90d loader: remove unused file 2026-04-03 19:09:28 +01:00
MasaGratoR 31ca20f3b7 Add missing libstratosphere lr::Initialize() 2026-04-02 21:09:15 +02:00
MasaGratoR 174da786e4 Override new and delete operators 2026-04-02 20:45:30 +02:00
hexkyz 93a82c0441 loader: patch am to recover homebrew compatibility
This patch is to be removed if/once hbmenu/libnx re-designs the exiting logic
2026-04-02 01:42:53 +01:00
hexkyz 082115187a loader/util: fully implement zstd bic variant
Implement both compression and decompression utilities and simplify loader logic
2026-04-02 01:30:45 +01:00
Alula 27455329b3 loader: update for 22.0.0 2026-03-28 01:43:19 +01:00
Alula 7d334f09ee loader: the two unknown titles are LGE/LGP for China 2026-03-27 23:57:44 +01:00
Alula 8c0ff851f2 loader/strat: Add amalgamated zstd 1.5.7 with ZBIC patches 2026-03-27 23:51:04 +01:00
hexkyz b108318996 Merge pull request #2744 from alula/22_support
Basic ("the console boots and functions as expected") 22.0.0 support
2026-03-20 00:22:10 +00:00
hexkyz 14e63cb04c loader: add USB 3.0 patches for 22.0.0
Additionally remove duplicated entry for 20.1.0, just use the 20.0.0 one.
2026-03-20 00:02:42 +00:00
Alulaandnvnprogram 1847db06f8 erpt: Implement 22.0.0 commands and changes
Co-authored-by: nvnprogram <97150065+nvnprogram@users.noreply.github.com>
2026-03-18 23:33:55 +01:00
Michael Scire 00d1cdb533 loader: fix valid-nso-set checks to be accurate (closes #2660) 2025-11-22 15:57:35 -07:00
Michael Scire c08a13a546 loader: add USB 3.0 patches for 21.0.0 2025-11-15 17:03:49 -07:00
Michael Scire 28a378ca0d ro: fix loading of aligned-header NROs 2025-11-15 16:47:57 -07:00
Michael Scire 129c61c256 loader: fix sd-cmpt 2025-11-15 12:31:07 -07:00
Michael Scire db71eefd9f loader: update for 20.0.0/21.0.0 2025-11-15 12:31:07 -07:00
Michael Scire 4b32a2b964 pgl/pm: add GetProcessId command 2025-11-15 12:31:07 -07:00
Michael Scire 4201bbff63 fatal: add new HashedTraceContext command 2025-11-15 12:31:07 -07:00