Commit Graph
90 Commits
Author SHA1 Message Date
Roman Tarasov 9fa6ad94de Handle suspend sleep mode and USB cleanup. Thx to @hadobedo 2026-05-10 16:01:59 +03:00
Roman TarasovandCopilot d4c4cda739 kstuff autopause 12.70-13.20
Co-authored-by: Copilot <copilot@github.com>
2026-05-10 12:31:15 +03:00
Roman Tarasov 954b3a7d17 Fix discovery after removable drive changes 2026-05-10 12:21:09 +03:00
Roman Tarasov 3652f506c0 Add global fakelib overlay support 2026-05-10 11:50:18 +03:00
Roman Tarasov 6c188a03bb typo 2026-05-10 10:09:47 +03:00
Roman Tarasov 11a135cf1c typo 2026-04-17 02:35:15 +03:00
Roman Tarasov 146942c138 mdbg: simplify crash monitor and log snapshot handling 2026-04-17 02:30:07 +03:00
Roman Tarasov a8f1a216bd mdbg: switch klog monitoring to debug log snapshots 2026-04-17 01:51:45 +03:00
Roman Tarasov c37088543d /dev/klog reopen 2026-04-16 02:36:49 +03:00
Roman Tarasov 059f8b40f1 Rework crash detection with sm_mdbg and post-pause autotune 2026-04-16 01:50:51 +03:00
Roman Tarasov a5471da456 Stop background full scans while a game is running 2026-04-15 00:09:39 +03:00
Roman Tarasov 0abfecd3e7 Rework backport overlay resolution and mount handling 2026-04-14 23:52:09 +03:00
Roman Tarasov fa714f868f Dynamically load AppInstallTitleDir on FW below 12 2026-04-05 10:40:50 +03:00
Roman Tarasov 17bb561e8d Only log pre-scan cleanup during the initial startup scan 2026-04-04 23:23:47 +03:00
Roman Tarasov a584121d76 Create config.ini from bundled template when missing 2026-04-04 22:55:03 +03:00
Roman Tarasov e272c9736c Remove kstuff noautomount sentinel files on shutdown 2026-04-04 21:57:48 +03:00
Roman Tarasov 902a6917df Removed the extra log messages 2026-04-04 21:55:07 +03:00
Roman Tarasov 6df8a472e3 Add optional AppInstallAll mode with FW 12+ override 2026-04-04 21:53:27 +03:00
Roman Tarasov 4e9afa7885 Fast shutdown 2026-04-04 21:27:10 +03:00
Roman Tarasov a23822a26f Disabled crash detection by default, increased kstuff pause timeouts 2026-03-30 01:25:26 +03:00
Roman Tarasov 97ffedf0df Create target /system_ex/app mount directory before nullfs mount 2026-03-29 21:38:09 +03:00
Roman Tarasov bcb906e5b6 Add per-image sector-size overrides with autotune on cluster-size mount errors 2026-03-29 16:32:28 +03:00
Roman Tarasov 47a033b50b Make kstuff crash detection optional and reset heuristic state on config reload 2026-03-29 16:05:33 +03:00
Roman Tarasov 47bded61da Restore missing appmeta on remount and replace access checks with stat 2026-03-29 15:49:03 +03:00
Roman Tarasov 5d0ca6d5d1 Add kstuff crash autotune with autotune.ini pause-delay overrides 2026-03-29 03:27:43 +03:00
Roman Tarasov ebfe0376c6 Detect early post-kstuff game crashes 2026-03-29 03:01:38 +03:00
Roman Tarasov a6a5437a42 Reduce install retry log spam 2026-03-29 00:08:31 +03:00
Roman Tarasov 8c1ebbdf28 Wait for sce_sys stabilization before folder install 2026-03-28 23:19:54 +03:00
Roman Tarasov bf24df419b Added 10.20 to 12.00 kstuff pause support 2026-03-28 01:04:03 +03:00
Roman Tarasov ff70cb1bc8 Deduplicate device node wait helper across image and mount code 2026-03-24 00:23:52 +03:00
Roman Tarasov 26ba93c9aa Streamline sm_log synchronization and reuse the open log file 2026-03-23 23:50:40 +03:00
Roman Tarasov 43d61dce37 Move scan work buffers off the stack into reusable scanner workspace 2026-03-23 23:35:49 +03:00
Roman Tarasov 7759b83293 Fix scan-now request synchronization and simplify pending-state handling 2026-03-23 23:14:33 +03:00
Roman Tarasov 0eca3fa138 Fix kstuff auto-pause focus handling for initially-disabled state 2026-03-23 22:47:45 +03:00
Roman Tarasov e30a296a53 Add autopause.txt per-game delay overrides for kstuff auto-pause 2026-03-22 20:49:28 +03:00
Roman Tarasov b374c3163e Add runtime config hot-reload 2026-03-22 20:25:08 +03:00
Roman Tarasov a71a03d0db Probe kstuff availability at auto-pause time instead of startup 2026-03-22 19:20:21 +03:00
Roman Tarasov 56e8ba2185 Prefer valid installed sources when resolving duplicate title IDs 2026-03-22 19:04:55 +03:00
Roman Tarasov 18a97ecca9 Refactor directory candidate collection into focused scan helpers 2026-03-22 18:43:53 +03:00
Roman Tarasov 270264cc75 Detect unreadable image mounts and report them as damaged images 2026-03-22 18:28:36 +03:00
Roman Tarasov ef814ad56b Unify scan and watcher tree traversal with a shared scan walker 2026-03-22 17:54:58 +03:00
Roman Tarasov cec94656c6 Cache owning scan roots for game entries and simplify targeted backport reconciliation 2026-03-22 17:29:47 +03:00
Roman Tarasov 4ff9a3dffe Optimize scanner watcher registry with fd indexing and per-root watch lists 2026-03-22 17:21:15 +03:00
Roman Tarasov fe7dad099c Optimize scanner watcher rebuilds to refresh only affected subtrees 2026-03-22 16:20:26 +03:00
Roman Tarasov c02f237ddf Cache mounted games when app.db title list is temporarily unavailable 2026-03-22 15:53:02 +03:00
Roman Tarasov d318b5e607 Refactor scanning to use kevent-driven dirty roots, debounce filesystem events, run targeted per-root cleanup and discovery, and support bounded scan_depth traversal for nested directories and image files 2026-03-22 15:39:31 +03:00
Roman Tarasov 6f97cde602 Remove redundant internal guard checks 2026-03-22 13:56:09 +03:00
Roman Tarasov edcac6bdd7 Refactor scanning into a scanner service, replace main loop sleep polling with kevent/wake-pipe waiting, and keep polling as a runtime fallback 2026-03-22 13:13:52 +03:00
Roman Tarasov 27feba2085 Add bounded scan_depth with recursive_scan compatibility remap
Add scan_depth config, remap legacy recursive_scan=1 to scan_depth=2, and avoid duplicate traversal of nested scan roots
2026-03-22 12:43:55 +03:00
Roman Tarasov 82603fce7d Fixed waiting for images to stabilize 2026-03-22 12:09:05 +03:00