feat(libs): implement font, libc, libkernel and misc prx stubs #2193

Closed
Thomas73737 wants to merge 3 commits from upstream-pr/2193 into main
Thomas73737 commented 2026-10-09 11:19:16 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Thomas73737 on 2026-10-09T11:19:16Z.


What

Implements library exports that were still unimplemented on main, in several areas:

  • libSceFont / libSceFontFt: font and glyph attribute get/set, script language and typographic design, words (create/destroy/find word characters), string and character text-code iteration, text/glyph rendering paths and the FreeType format support queries.
  • libc / libSceLibcInternal: heap diagnostics, the std::__atomic_assert helper (prints the failed assertion to stderr and aborts instead of the previous no-op stub), and the forced TLS destructor pass.
  • libkernel: sceKernelFcntl, page table statistics, module info, pthread_attr_setsolosched_np and __tls_get_addr on Linux.
  • libScePsml_debug / libSceSystemGesture / libSceVoiceQoS: state machines instead of stubs — NID-based names recovered from KytyPS5 and SharpEmu for the MFSR entry points, recognizers and touch events for system gesture, and endpoint/connection handling for voice QoS.
  • libSceSsl: the certificate readers (serial number, subject/issuer names, name entry count/info, load cert, close) with signatures from SharpProspero; sceSslGetPem stays a throwing stub.
  • libSceAjm.native / libSceNgs2.native / libSceAudioOut / libSceAudioIn: sceAjmBatchJobDecodeSplit delegation, NGS2 geometry/panifier/render parameters, AudioOut2 mastering state/init/terminate, 3D latency and supported-attribute queries, and AudioIn open/hq/async capture paths.

Every unimplemented path still throws NotImplemented_nid_no_patch; the silent stubs that remain are documented in docs/dev/TechnicalDebt.md in this pull request.

To keep this PR overlap-free with the open backlog, the following were left out (already covered elsewhere, or reverted here):

  • sceVdecsw* (the whole H.264 decoder library) — covered by #2203.
  • sceFontGlyphRenderImage* — covered by #2150.
  • sceKernelAioPollRequests — covered by #2118.
  • sceLibcUnknown_BnMAMrsfVWo (malloc_stats_fast) — covered by #2039.
  • pthread_cancel / scePthreadCancel — covered by #1739.
  • libcCyberUnknown08 (__powidf2) — covered by #2158.
  • The remaining libcCyberUnknown* and the wide-collate sceVnchk*/sceVnpa*/nvchar group — covered by #2301/#2316 and #2333.

After the review of #1498: tools/progress.py now counts UnsupportedQuery calls as stub markers (so the libSceFont UnsupportedQuery throwers stay "pending"), scePsmlMfsr2* and sceAgcDriverRegisterMultipleResources keep the honest NotImplemented_nid_no_patch path, and the pthread_cancel/scePthreadCancel work was dropped because PR #1739 covers it.

Tested

  • OS: Linux (GCC 15.3, CMake 4.3.4, Ninja, CMAKE_BUILD_TYPE=Release).
  • ninja -C build: builds clean.
  • ctest --test-dir build -j2: 511/513 pass. The two failures are environmental on this host: guest_random (std::random_device returns the constant 0xFFFFFFFF here, reproduced by a standalone program with no project code involved) and agc_driver_f32_denormal_flush (this GPU's float-denormal handling differs from the expected RDNA behaviour). Three AGC-driver tests skip by design.
  • python3 tools/progress.py: libraries 2678/3044 (87.98%) against 2578/3044 (84.69%) on main (+100 functions); shaders 1166/1166 (100%). tools/progress.py now also treats a call to the UnsupportedQuery throw helper as a stub marker, so the count only grows for real implementations.
  • python3 tools/check_conventions.py --base origin/main --head HEAD: passed.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4799696681 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2193). Originally posted by [Thomas73737](https://github.com/Thomas73737) on 2026-10-09T11:19:16Z. --- ### What Implements library exports that were still unimplemented on `main`, in several areas: - **libSceFont / libSceFontFt**: font and glyph attribute get/set, script language and typographic design, words (create/destroy/find word characters), string and character text-code iteration, text/glyph rendering paths and the FreeType format support queries. - **libc / libSceLibcInternal**: heap diagnostics, the `std::__atomic_assert` helper (prints the failed assertion to stderr and aborts instead of the previous no-op stub), and the forced TLS destructor pass. - **libkernel**: `sceKernelFcntl`, page table statistics, module info, `pthread_attr_setsolosched_np` and `__tls_get_addr` on Linux. - **libScePsml_debug / libSceSystemGesture / libSceVoiceQoS**: state machines instead of stubs — NID-based names recovered from KytyPS5 and SharpEmu for the MFSR entry points, recognizers and touch events for system gesture, and endpoint/connection handling for voice QoS. - **libSceSsl**: the certificate readers (serial number, subject/issuer names, name entry count/info, load cert, close) with signatures from SharpProspero; `sceSslGetPem` stays a throwing stub. - **libSceAjm.native / libSceNgs2.native / libSceAudioOut / libSceAudioIn**: `sceAjmBatchJobDecodeSplit` delegation, NGS2 geometry/panifier/render parameters, AudioOut2 mastering state/init/terminate, 3D latency and supported-attribute queries, and AudioIn open/hq/async capture paths. Every unimplemented path still throws `NotImplemented_nid_no_patch`; the silent stubs that remain are documented in `docs/dev/TechnicalDebt.md` in this pull request. To keep this PR overlap-free with the open backlog, the following were left out (already covered elsewhere, or reverted here): - `sceVdecsw*` (the whole H.264 decoder library) — covered by #2203. - `sceFontGlyphRenderImage*` — covered by #2150. - `sceKernelAioPollRequests` — covered by #2118. - `sceLibcUnknown_BnMAMrsfVWo` (`malloc_stats_fast`) — covered by #2039. - `pthread_cancel` / `scePthreadCancel` — covered by #1739. - `libcCyberUnknown08` (`__powidf2`) — covered by #2158. - The remaining `libcCyberUnknown*` and the wide-collate `sceVnchk*/sceVnpa*/nvchar` group — covered by #2301/#2316 and #2333. After the review of #1498: `tools/progress.py` now counts `UnsupportedQuery` calls as stub markers (so the libSceFont `UnsupportedQuery` throwers stay "pending"), `scePsmlMfsr2*` and `sceAgcDriverRegisterMultipleResources` keep the honest `NotImplemented_nid_no_patch` path, and the `pthread_cancel`/`scePthreadCancel` work was dropped because PR #1739 covers it. ### Tested - OS: Linux (GCC 15.3, CMake 4.3.4, Ninja, `CMAKE_BUILD_TYPE=Release`). - `ninja -C build`: builds clean. - `ctest --test-dir build -j2`: **511/513 pass**. The two failures are environmental on this host: `guest_random` (`std::random_device` returns the constant `0xFFFFFFFF` here, reproduced by a standalone program with no project code involved) and `agc_driver_f32_denormal_flush` (this GPU's float-denormal handling differs from the expected RDNA behaviour). Three AGC-driver tests skip by design. - `python3 tools/progress.py`: libraries **2678/3044 (87.98%)** against 2578/3044 (84.69%) on `main` (+100 functions); shaders 1166/1166 (100%). `tools/progress.py` now also treats a call to the `UnsupportedQuery` throw helper as a stub marker, so the count only grows for real implementations. - `python3 tools/check_conventions.py --base origin/main --head HEAD`: passed. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed in [TechnicalDebt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/TechnicalDebt.md#silent-stubs) - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] AI-assisted: yes
github-actions[bot] commented 2026-10-09 11:28:35 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-09T11:28:35Z.


Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.

Pull request Conflicting files (lines on main) Same exports Same new files
#2150 core/libs/prx/libSceFont/src/Unimplemented.cpp L106-120
#2181 tools/progress.py L75
#2269 core/libs/prx/libkernel/Unimplemented.cpp L24-25
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6079959468 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2193#issuecomment-6079959468). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-09T11:28:35Z. --- <!-- pr-overlap --> Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in **Depends on**. | Pull request | Conflicting files (lines on `main`) | Same exports | Same new files | |---|---|---|---| | #2150 | `core/libs/prx/libSceFont/src/Unimplemented.cpp` [L106-120](https://github.com/boykopovar/AnyPS5/blob/8b393b6e9a8ade9188d4f74a0293e0efd9828597/core/libs/prx/libSceFont/src/Unimplemented.cpp#L106-L120) | | | | #2181 | `tools/progress.py` [L75](https://github.com/boykopovar/AnyPS5/blob/8b393b6e9a8ade9188d4f74a0293e0efd9828597/tools/progress.py#L75) | | | | #2269 | `core/libs/prx/libkernel/Unimplemented.cpp` [L24-25](https://github.com/boykopovar/AnyPS5/blob/8b393b6e9a8ade9188d4f74a0293e0efd9828597/core/libs/prx/libkernel/Unimplemented.cpp#L24-L25) | | |
reyani-dev commented 2026-10-09 11:37:36 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by reyani-dev on 2026-10-09T11:37:36Z.


H+8UBOwfScI (libcCyberUnknown08 in core/libs/prx/libc/Export.cpp) is compiler-rt's __powidf2, which #2158 already implements under its name. #2158 is reviewed, and its full Linux and Windows builds are green. The pr-overlap bot reports the conflict on both PRs. Could you drop that stub change from this PR so the two don't collide? Nothing else here overlaps with my open PRs.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6080090065 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2193#issuecomment-6080090065). Originally posted by [reyani-dev](https://github.com/reyani-dev) on 2026-10-09T11:37:36Z. --- `H+8UBOwfScI` (`libcCyberUnknown08` in `core/libs/prx/libc/Export.cpp`) is compiler-rt's `__powidf2`, which #2158 already implements under its name. #2158 is reviewed, and its full Linux and Windows builds are green. The pr-overlap bot reports the conflict on both PRs. Could you drop that stub change from this PR so the two don't collide? Nothing else here overlaps with my open PRs.
Thomas73737 commented 2026-10-09 11:55:01 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Thomas73737 on 2026-10-09T11:55:01Z.


Done — dropped the libcCyberUnknown08 change from this PR; it is back to the main-line stub, so it no longer collides with #2158's __powidf2. Rebuilt libc, guest libc tests pass, conventions clean, progress now 2714/3048 (89.04%). Thanks for the heads-up.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6080343712 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2193#issuecomment-6080343712). Originally posted by [Thomas73737](https://github.com/Thomas73737) on 2026-10-09T11:55:01Z. --- Done — dropped the `libcCyberUnknown08` change from this PR; it is back to the main-line stub, so it no longer collides with #2158's `__powidf2`. Rebuilt libc, guest libc tests pass, conventions clean, progress now 2714/3048 (89.04%). Thanks for the heads-up.
Thomas73737 commented 2026-10-09 12:09:33 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Thomas73737 on 2026-10-09T12:09:33Z.


De-conflicted this PR against the overlapping open PRs flagged by the overlap bot:

  • #2158 (libcCyberUnknown08/__powidf2) — dropped the change; back to the main-line stub. @AchrafReyani
  • #2118 (sceKernelAioPollRequests) — dropped; that function now stays covered by #2118. @Sanjaysrinivas
  • #2150 (sceFontGlyphRenderImage/sceFontGlyphRenderImageHorizontal/sceFontGlyphRenderImageVertical) — dropped; left as stubs so #2150 owns the family.
  • #2028 (ModuleInfo.cpp) — only a file-touch overlap (we add Windows module enumeration that #2028 does not provide; no shared exports). Will rebase against whichever lands first.
  • #2181 (tools/progress.py) — different hunk; ours adds an UnsupportedQuery( stub marker, theirs ignores comments/literals in scanning. Complementary; can rebase once #2181 lands.

Progress is now 2710/3048 (88.91%) computed honestly.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6080587402 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2193#issuecomment-6080587402). Originally posted by [Thomas73737](https://github.com/Thomas73737) on 2026-10-09T12:09:33Z. --- De-conflicted this PR against the overlapping open PRs flagged by the overlap bot: - #2158 (`libcCyberUnknown08`/`__powidf2`) — **dropped** the change; back to the main-line stub. @AchrafReyani - #2118 (`sceKernelAioPollRequests`) — **dropped**; that function now stays covered by #2118. @Sanjaysrinivas - #2150 (`sceFontGlyphRenderImage`/`sceFontGlyphRenderImageHorizontal`/`sceFontGlyphRenderImageVertical`) — **dropped**; left as stubs so #2150 owns the family. - #2028 (ModuleInfo.cpp) — only a file-touch overlap (we add Windows module enumeration that #2028 does not provide; no shared exports). Will rebase against whichever lands first. - #2181 (tools/progress.py) — different hunk; ours adds an `UnsupportedQuery(` stub marker, theirs ignores comments/literals in scanning. Complementary; can rebase once #2181 lands. Progress is now 2710/3048 (88.91%) computed honestly.
popcoder565 commented 2026-10-09 16:07:00 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by popcoder565 on 2026-10-09T16:07:00Z.


Native Windows run, since no Windows results were posted. Setup: Windows 10 (19045), MinGW-w64 GCC 15.2.0 (WinLibs r7), Release. Head ab61709d, merged onto main d70b8998 together with #1324, #2039 and #2247.

It doesn't build on Windows:

core/libs/prx/libkernel/File/src/Open.cpp:205:26: error: '::_fcntl' has not been declared; did you mean '_fcvt'?

The Windows CRT has no fcntl (or _fcntl). The _WIN32 branch of sceKernelFcntl needs to keep the NotImplemented_nid_no_patch stub, or implement the commands it needs on top of Windows calls.

Its BnMAMrsfVWo stub is malloc_stats_fast, which #2039 implements. sceLibcUnknown_BnMAMrsfVWo is exported under that NID, and #2039's malloc_stats_fast_nid_postfix patches to the same name. With both PRs merged, libc.prx fails on Windows with duplicate patched export name: BnMAMrsfVWo.

With the _WIN32 branch stubbed and that stub dropped locally, the full suite passes in this build (512 of 512), including guest_ssl and guest_vdecsw.

🤖 Addressed by Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6084616073 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2193#issuecomment-6084616073). Originally posted by [popcoder565](https://github.com/popcoder565) on 2026-10-09T16:07:00Z. --- Native Windows run, since no Windows results were posted. Setup: Windows 10 (19045), MinGW-w64 GCC 15.2.0 (WinLibs r7), Release. Head `ab61709d`, merged onto `main` d70b8998 together with #1324, #2039 and #2247. **It doesn't build on Windows:** ``` core/libs/prx/libkernel/File/src/Open.cpp:205:26: error: '::_fcntl' has not been declared; did you mean '_fcvt'? ``` The Windows CRT has no `fcntl` (or `_fcntl`). The `_WIN32` branch of `sceKernelFcntl` needs to keep the `NotImplemented_nid_no_patch` stub, or implement the commands it needs on top of Windows calls. **Its `BnMAMrsfVWo` stub is `malloc_stats_fast`**, which #2039 implements. `sceLibcUnknown_BnMAMrsfVWo` is exported under that NID, and #2039's `malloc_stats_fast_nid_postfix` patches to the same name. With both PRs merged, `libc.prx` fails on Windows with `duplicate patched export name: BnMAMrsfVWo`. With the `_WIN32` branch stubbed and that stub dropped locally, the full suite passes in this build (512 of 512), including `guest_ssl` and `guest_vdecsw`. _🤖 Addressed by [Claude Code](https://claude.com/claude-code)_
Thomas73737 commented 2026-10-09 17:32:23 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Thomas73737 on 2026-10-09T17:32:23Z.


Fixed both Windows issues from the native build. Thanks for catching them:

  • sceKernelFcntl: the _WIN32 branch is back to NotImplemented_nid_no_patch (+ return 0); the POSIX fcntl wrapper is kept. The Windows CRT has no _fcntl, so the branch no longer references it.
  • sceLibcUnknown_BnMAMrsfVWo: dropped entirely — it is malloc_stats_fast, which #2039 implements via malloc_stats_fast_nid_postfix under the same NID, so no duplicate patched export name remains. (The throw std::bad_weak_ptr() body was a misidentification anyway.)

Also built/libtested on Linux (clean), conventions pass. Progress is now 2708/3047 (88.87%) counted honestly.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6085971187 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2193#issuecomment-6085971187). Originally posted by [Thomas73737](https://github.com/Thomas73737) on 2026-10-09T17:32:23Z. --- Fixed both Windows issues from the native build. Thanks for catching them: - `sceKernelFcntl`: the `_WIN32` branch is back to `NotImplemented_nid_no_patch` (+ `return 0`); the POSIX `fcntl` wrapper is kept. The Windows CRT has no `_fcntl`, so the branch no longer references it. - `sceLibcUnknown_BnMAMrsfVWo`: dropped entirely — it is `malloc_stats_fast`, which #2039 implements via `malloc_stats_fast_nid_postfix` under the same NID, so no duplicate patched export name remains. (The `throw std::bad_weak_ptr()` body was a misidentification anyway.) Also built/libtested on Linux (clean), conventions pass. Progress is now 2708/3047 (88.87%) counted honestly.
Thomas73737 commented 2026-10-09 18:16:07 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Thomas73737 on 2026-10-09T18:16:07Z.


Force-pushed an update to keep this PR overlap-free with the open backlog. Dropped the groups that other open PRs already cover (thank you @popcoder565 for the Windows follow-up too):

  • sceVdecsw* (whole H.264 decoder lib + build target + test) — #2203.
  • sceFontGlyphRenderImage* — #2150.
  • sceKernelAioPollRequests — #2118.
  • sceLibcUnknown_BnMAMrsfVWo (malloc_stats_fast) — #2039.
  • libcCyberUnknown08 (__powidf2) — #2158.
  • pthread_cancel / scePthreadCancel — #1739.
  • Remaining libcCyberUnknown* and the wide-collate group — #2301/#2316 and #2333.

Also fixed the Windows build (the _WIN32 branch of sceKernelFcntl no longer uses the missing _fcntl, back to NotImplemented_nid_no_patch), and kept the std::__atomic_assert helper (real fprintf + abort instead of the no-op stub).

Re-validated on this tree: ninja clean, ctest 511/513 (only the two environmental failures), tools/check_conventions.py passed, tools/progress.py libraries 2678/3044 (87.98%).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6086681650 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2193#issuecomment-6086681650). Originally posted by [Thomas73737](https://github.com/Thomas73737) on 2026-10-09T18:16:07Z. --- Force-pushed an update to keep this PR overlap-free with the open backlog. Dropped the groups that other open PRs already cover (thank you @popcoder565 for the Windows follow-up too): - `sceVdecsw*` (whole H.264 decoder lib + build target + test) — #2203. - `sceFontGlyphRenderImage*` — #2150. - `sceKernelAioPollRequests` — #2118. - `sceLibcUnknown_BnMAMrsfVWo` (`malloc_stats_fast`) — #2039. - `libcCyberUnknown08` (`__powidf2`) — #2158. - `pthread_cancel` / `scePthreadCancel` — #1739. - Remaining `libcCyberUnknown*` and the wide-collate group — #2301/#2316 and #2333. Also fixed the Windows build (the `_WIN32` branch of `sceKernelFcntl` no longer uses the missing `_fcntl`, back to `NotImplemented_nid_no_patch`), and kept the `std::__atomic_assert` helper (real `fprintf` + `abort` instead of the no-op stub). Re-validated on this tree: `ninja` clean, `ctest` 511/513 (only the two environmental failures), `tools/check_conventions.py` passed, `tools/progress.py` libraries 2678/3044 (87.98%).
popcoder565 commented 2026-10-09 19:23:15 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by popcoder565 on 2026-10-09T19:23:15Z.


@Thomas73737 thanks. 6a5f125a still doesn't compile on Windows:

core/libs/prx/libkernel/File/src/Open.cpp:210:9: error: 'result' was not declared in this scope

The #endif comes before the shared if (result < 0) tail, so on Windows result is never declared. Moving the #endif after return result; fixes it:

     const int result = ::fcntl(d, cmd, arg);
-#endif
     if (result < 0) {
         return SceErrorFromErrno(errno);
     }
     return result;
+#endif
 }

With that change the full suite passes on Windows (513 of 513, merged onto main 8b393b6e together with #2257).

🤖 Addressed by Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6087725678 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2193#issuecomment-6087725678). Originally posted by [popcoder565](https://github.com/popcoder565) on 2026-10-09T19:23:15Z. --- @Thomas73737 thanks. `6a5f125a` still doesn't compile on Windows: ``` core/libs/prx/libkernel/File/src/Open.cpp:210:9: error: 'result' was not declared in this scope ``` The `#endif` comes before the shared `if (result < 0)` tail, so on Windows `result` is never declared. Moving the `#endif` after `return result;` fixes it: ```diff const int result = ::fcntl(d, cmd, arg); -#endif if (result < 0) { return SceErrorFromErrno(errno); } return result; +#endif } ``` With that change the full suite passes on Windows (513 of 513, merged onto `main` 8b393b6e together with #2257). _🤖 Addressed by [Claude Code](https://claude.com/claude-code)_
adriadam10 commented 2026-10-09 20:47:00 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-09T20:47:00Z.


Closing, for the same reason @oneandonlydean closed #1498, which this continues:

  • It still spans many libraries (Font/FontFt, libc, libkernel, Psml, SystemGesture, VoiceQoS, Ssl, Ajm, Ngs2, AudioOut/In, Agc submit) in 32 files; CONTRIBUTING asks for one topic per PR.
  • No title or log line is named for any of the functions, and a good part of the change replaces NotImplemented_nid_no_patch with UnsupportedQuery throws or constant returns (e.g. libSceFont/src/Unimplemented.cpp), and tools/progress.py is changed in the same PR, so the +100 count is not backed by new behaviour.
  • Only one test file (GuestSsl.cpp) covers the whole diff, and the Windows build broke on two consecutive heads.

You are welcome to reopen with one library at a time, each function tied to a title that reaches it on main (ID + log line), with tests pinning the values.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6088982362 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2193#issuecomment-6088982362). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-09T20:47:00Z. --- Closing, for the same reason @oneandonlydean closed #1498, which this continues: - It still spans many libraries (Font/FontFt, libc, libkernel, Psml, SystemGesture, VoiceQoS, Ssl, Ajm, Ngs2, AudioOut/In, Agc submit) in 32 files; CONTRIBUTING asks for one topic per PR. - No title or log line is named for any of the functions, and a good part of the change replaces `NotImplemented_nid_no_patch` with `UnsupportedQuery` throws or constant returns (e.g. `libSceFont/src/Unimplemented.cpp`), and `tools/progress.py` is changed in the same PR, so the +100 count is not backed by new behaviour. - Only one test file (`GuestSsl.cpp`) covers the whole diff, and the Windows build broke on two consecutive heads. You are welcome to reopen with one library at a time, each function tied to a title that reaches it on `main` (ID + log line), with tests pinning the values.
github-actions[bot] commented 2026-10-09 21:08:47 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-09T21:08:47Z.


Progress report (8b393b6 → 8973abb)

📈 System libraries: 87.98% (+3.29%, +100 implemented functions)

✅ 100 implemented
Library Name
libSceAgcDriver sceAgcDriverSubmitCommandBuffer
libSceAgcDriver sceAgcDriverSubmitMultiCommandBuffers
libSceAjm.native sceAjmBatchJobDecodeSplit
libSceAudioIn sceAudioInAsyncOpen
libSceAudioIn sceAudioInHqOpen
libSceAudioIn sceAudioInOpen
libSceAudioOut sceAudioOut2MasteringGetState
libSceAudioOut sceAudioOut2SetSystemDebugState
libSceAudioOut sceAudioOut2UserGetSupportedAttributes
libSceFont sceFontCharacterGetSyllableStringState
libSceFont sceFontCharactersRefersTextCodes
libSceFont sceFontCreateWords
libSceFont sceFontDefineAttribute
libSceFont sceFontDestroyWords
libSceFont sceFontGetAttribute
libSceFont sceFontGetScriptLanguage
libSceFont sceFontGetTypographicDesign
libSceFont sceFontGlyphGetAttribute
libSceFont sceFontSetScriptLanguage
libSceFont sceFontSetTypographicDesign
libSceFont sceFontTextCodesStepBack
libSceFont sceFontTextCodesStepNext
libSceFont sceFontWordsFindWordCharacters
libSceFontFt sceFontFtInitAliases
libSceFontFt sceFontFtSetAliasFont
libSceFontFt sceFontFtSetAliasPath
libSceFontFt sceFontFtSupportBdf
libSceFontFt sceFontFtSupportCid
libSceFontFt sceFontFtSupportFontFormats
libSceFontFt sceFontFtSupportOpenType
libSceFontFt sceFontFtSupportOpenTypeOtf
libSceFontFt sceFontFtSupportOpenTypeTtf
libSceFontFt sceFontFtSupportPcf
libSceFontFt sceFontFtSupportPfr
libSceFontFt sceFontFtSupportSystemFonts
libSceFontFt sceFontFtSupportTrueType
libSceFontFt sceFontFtSupportTrueTypeGx
libSceFontFt sceFontFtSupportType1
libSceFontFt sceFontFtSupportType42
libSceFontFt sceFontFtSupportWinFonts
libSceFontFt sceFontFtTermAliases
libSceFontFt sceFontSelectGlyphsFt
libSceNgs2.native sceNgs2GeomResetListenerParam
libSceNgs2.native sceNgs2GeomResetSourceParam
libSceNgs2.native sceNgs2PanInit
libScePsml_debug scePsmlMfsrCreateContext800M3_2
libScePsml_debug scePsmlMfsrCreateSharedResources
libScePsml_debug scePsmlMfsrGetContextBufferRequirement800M3_2
libScePsml_debug scePsmlMfsrGetDispatchMfsrPacket900
libScePsml_debug scePsmlMfsrGetDispatchMfsrPacketSizeInDwords
libScePsml_debug scePsmlMfsrGetMipmapBias
libScePsml_debug scePsmlMfsrGetSharedResourcesInitRequirement
libScePsml_debug scePsmlMfsrInit
libScePsml_debug scePsmlMfsrIsCaptureInProgress
libScePsml_debug scePsmlMfsrReleaseContext
libScePsml_debug scePsmlMfsrReleaseSharedResources
libScePsml_debug scePsmlMfsrRequestCapture
libScePsml_debug scePsmlMfsrSelectConfig
libSceSsl sceSslClose
libSceSsl sceSslFreeSslCertName
libSceSsl sceSslGetIssuerName
libSceSsl sceSslGetNameEntryCount
libSceSsl sceSslGetNameEntryInfo
libSceSsl sceSslGetSerialNumber
libSceSsl sceSslGetSubjectName
libSceSsl sceSslLoadCert
libSceSystemGesture sceSystemGestureAppendTouchRecognizer
libSceSystemGesture sceSystemGestureGetPrimitiveTouchEventByIndex
libSceSystemGesture sceSystemGestureGetPrimitiveTouchEventByPrimitiveID
libSceSystemGesture sceSystemGestureGetPrimitiveTouchEvents
libSceSystemGesture sceSystemGestureGetPrimitiveTouchEventsCount
libSceSystemGesture sceSystemGestureGetTouchEventByEventID
libSceSystemGesture sceSystemGestureGetTouchEvents
libSceSystemGesture sceSystemGestureGetTouchRecognizerInformation
libSceSystemGesture sceSystemGestureRemoveTouchRecognizer
libSceSystemGesture sceSystemGestureResetPrimitiveTouchRecognizer
libSceSystemGesture sceSystemGestureResetTouchRecognizer
libSceSystemGesture sceSystemGestureUpdateAllTouchRecognizer
libSceSystemGesture sceSystemGestureUpdateTouchRecognizerRectangle
libSceVoiceQoS sceVoiceQoSConnect
libSceVoiceQoS sceVoiceQoSCreateLocalEndpoint
libSceVoiceQoS sceVoiceQoSCreateRemoteEndpoint
libSceVoiceQoS sceVoiceQoSDeleteLocalEndpoint
libSceVoiceQoS sceVoiceQoSDeleteRemoteEndpoint
libSceVoiceQoS sceVoiceQoSDisconnect
libSceVoiceQoS sceVoiceQoSEnd
libSceVoiceQoS sceVoiceQoSGetLocalEndpointAttribute
libSceVoiceQoS sceVoiceQoSReadPacket
libSceVoiceQoS sceVoiceQoSSetLocalEndpointAttribute
libSceVoiceQoS sceVoiceQoSSetRemoteEndpointAttribute
libSceVoiceQoS sceVoiceQoSWritePacket
libc _ZSt14_Atomic_assertPKcS0__nid_postfix
libc sceLibcInternalBacktraceForGame_nid_postfix
libc sceLibcInternalHeapErrorReportForGame_nid_postfix
libkernel __tls_get_addr_nid_postfix
libkernel pthread_attr_setsolosched_np_nid_postfix
libkernel sceKernelGetEventError
libkernel sceKernelGetModuleInfoFromAddr
libkernel sceKernelGetPageTableStats
libkernel sceKernelInternalMemoryGetModuleSegmentInfo_nid_postfix
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6089293828 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2193#issuecomment-6089293828). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-09T21:08:47Z. --- <!-- progress-report --> ### Progress report (8b393b6 → 8973abb) 📈 **System libraries**: 87.98% (+3.29%, +100 implemented functions) <details> <summary>✅ 100 implemented</summary> | Library | Name | | - | - | | libSceAgcDriver | `sceAgcDriverSubmitCommandBuffer` | | libSceAgcDriver | `sceAgcDriverSubmitMultiCommandBuffers` | | libSceAjm.native | `sceAjmBatchJobDecodeSplit` | | libSceAudioIn | `sceAudioInAsyncOpen` | | libSceAudioIn | `sceAudioInHqOpen` | | libSceAudioIn | `sceAudioInOpen` | | libSceAudioOut | `sceAudioOut2MasteringGetState` | | libSceAudioOut | `sceAudioOut2SetSystemDebugState` | | libSceAudioOut | `sceAudioOut2UserGetSupportedAttributes` | | libSceFont | `sceFontCharacterGetSyllableStringState` | | libSceFont | `sceFontCharactersRefersTextCodes` | | libSceFont | `sceFontCreateWords` | | libSceFont | `sceFontDefineAttribute` | | libSceFont | `sceFontDestroyWords` | | libSceFont | `sceFontGetAttribute` | | libSceFont | `sceFontGetScriptLanguage` | | libSceFont | `sceFontGetTypographicDesign` | | libSceFont | `sceFontGlyphGetAttribute` | | libSceFont | `sceFontSetScriptLanguage` | | libSceFont | `sceFontSetTypographicDesign` | | libSceFont | `sceFontTextCodesStepBack` | | libSceFont | `sceFontTextCodesStepNext` | | libSceFont | `sceFontWordsFindWordCharacters` | | libSceFontFt | `sceFontFtInitAliases` | | libSceFontFt | `sceFontFtSetAliasFont` | | libSceFontFt | `sceFontFtSetAliasPath` | | libSceFontFt | `sceFontFtSupportBdf` | | libSceFontFt | `sceFontFtSupportCid` | | libSceFontFt | `sceFontFtSupportFontFormats` | | libSceFontFt | `sceFontFtSupportOpenType` | | libSceFontFt | `sceFontFtSupportOpenTypeOtf` | | libSceFontFt | `sceFontFtSupportOpenTypeTtf` | | libSceFontFt | `sceFontFtSupportPcf` | | libSceFontFt | `sceFontFtSupportPfr` | | libSceFontFt | `sceFontFtSupportSystemFonts` | | libSceFontFt | `sceFontFtSupportTrueType` | | libSceFontFt | `sceFontFtSupportTrueTypeGx` | | libSceFontFt | `sceFontFtSupportType1` | | libSceFontFt | `sceFontFtSupportType42` | | libSceFontFt | `sceFontFtSupportWinFonts` | | libSceFontFt | `sceFontFtTermAliases` | | libSceFontFt | `sceFontSelectGlyphsFt` | | libSceNgs2.native | `sceNgs2GeomResetListenerParam` | | libSceNgs2.native | `sceNgs2GeomResetSourceParam` | | libSceNgs2.native | `sceNgs2PanInit` | | libScePsml_debug | `scePsmlMfsrCreateContext800M3_2` | | libScePsml_debug | `scePsmlMfsrCreateSharedResources` | | libScePsml_debug | `scePsmlMfsrGetContextBufferRequirement800M3_2` | | libScePsml_debug | `scePsmlMfsrGetDispatchMfsrPacket900` | | libScePsml_debug | `scePsmlMfsrGetDispatchMfsrPacketSizeInDwords` | | libScePsml_debug | `scePsmlMfsrGetMipmapBias` | | libScePsml_debug | `scePsmlMfsrGetSharedResourcesInitRequirement` | | libScePsml_debug | `scePsmlMfsrInit` | | libScePsml_debug | `scePsmlMfsrIsCaptureInProgress` | | libScePsml_debug | `scePsmlMfsrReleaseContext` | | libScePsml_debug | `scePsmlMfsrReleaseSharedResources` | | libScePsml_debug | `scePsmlMfsrRequestCapture` | | libScePsml_debug | `scePsmlMfsrSelectConfig` | | libSceSsl | `sceSslClose` | | libSceSsl | `sceSslFreeSslCertName` | | libSceSsl | `sceSslGetIssuerName` | | libSceSsl | `sceSslGetNameEntryCount` | | libSceSsl | `sceSslGetNameEntryInfo` | | libSceSsl | `sceSslGetSerialNumber` | | libSceSsl | `sceSslGetSubjectName` | | libSceSsl | `sceSslLoadCert` | | libSceSystemGesture | `sceSystemGestureAppendTouchRecognizer` | | libSceSystemGesture | `sceSystemGestureGetPrimitiveTouchEventByIndex` | | libSceSystemGesture | `sceSystemGestureGetPrimitiveTouchEventByPrimitiveID` | | libSceSystemGesture | `sceSystemGestureGetPrimitiveTouchEvents` | | libSceSystemGesture | `sceSystemGestureGetPrimitiveTouchEventsCount` | | libSceSystemGesture | `sceSystemGestureGetTouchEventByEventID` | | libSceSystemGesture | `sceSystemGestureGetTouchEvents` | | libSceSystemGesture | `sceSystemGestureGetTouchRecognizerInformation` | | libSceSystemGesture | `sceSystemGestureRemoveTouchRecognizer` | | libSceSystemGesture | `sceSystemGestureResetPrimitiveTouchRecognizer` | | libSceSystemGesture | `sceSystemGestureResetTouchRecognizer` | | libSceSystemGesture | `sceSystemGestureUpdateAllTouchRecognizer` | | libSceSystemGesture | `sceSystemGestureUpdateTouchRecognizerRectangle` | | libSceVoiceQoS | `sceVoiceQoSConnect` | | libSceVoiceQoS | `sceVoiceQoSCreateLocalEndpoint` | | libSceVoiceQoS | `sceVoiceQoSCreateRemoteEndpoint` | | libSceVoiceQoS | `sceVoiceQoSDeleteLocalEndpoint` | | libSceVoiceQoS | `sceVoiceQoSDeleteRemoteEndpoint` | | libSceVoiceQoS | `sceVoiceQoSDisconnect` | | libSceVoiceQoS | `sceVoiceQoSEnd` | | libSceVoiceQoS | `sceVoiceQoSGetLocalEndpointAttribute` | | libSceVoiceQoS | `sceVoiceQoSReadPacket` | | libSceVoiceQoS | `sceVoiceQoSSetLocalEndpointAttribute` | | libSceVoiceQoS | `sceVoiceQoSSetRemoteEndpointAttribute` | | libSceVoiceQoS | `sceVoiceQoSWritePacket` | | libc | `_ZSt14_Atomic_assertPKcS0__nid_postfix` | | libc | `sceLibcInternalBacktraceForGame_nid_postfix` | | libc | `sceLibcInternalHeapErrorReportForGame_nid_postfix` | | libkernel | `__tls_get_addr_nid_postfix` | | libkernel | `pthread_attr_setsolosched_np_nid_postfix` | | libkernel | `sceKernelGetEventError` | | libkernel | `sceKernelGetModuleInfoFromAddr` | | libkernel | `sceKernelGetPageTableStats` | | libkernel | `sceKernelInternalMemoryGetModuleSegmentInfo_nid_postfix` | </details>

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!2193
No description provided.