feat(libSceTextToSpeech2): declare the text conversion item registration #3928

Closed
13hourstilliland wants to merge 1 commit from upstream-pr/3928 into main
13hourstilliland commented 2026-10-11 19:15:56 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by 13hourstilliland on 2026-10-11T19:15:56Z.


What

Declares sceTextToSpeech2RegisterTextConversionItem (NID LazJT1ZrQys, from the aerolib NID list) in libSceTextToSpeech2. PPSA01317 imports it with the other speech exports that the library already declares, so a title carrying that import loads.

It throws NotImplemented_nid_no_patch(__func__) like the rest of the library's exports; its signature is unknown, so it is declared without parameters. Recorded in TechnicalDebt with the other PPSA01317 imports declared without parameters.

Tested

Linux (GCC): guest_text_to_speech2 passes, covering RegisterTextConversionItem throwing alongside the existing Initialize and Open checks; the symbol is present in the built prx with its aerolib NID; python3 tools/check_conventions.py --base origin/main passes. Not tested with a title.

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:4821632952 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3928). Originally posted by [13hourstilliland](https://github.com/13hourstilliland) on 2026-10-11T19:15:56Z. --- ### What Declares `sceTextToSpeech2RegisterTextConversionItem` (NID `LazJT1ZrQys`, from the aerolib NID list) in libSceTextToSpeech2. PPSA01317 imports it with the other speech exports that the library already declares, so a title carrying that import loads. It throws `NotImplemented_nid_no_patch(__func__)` like the rest of the library's exports; its signature is unknown, so it is declared without parameters. Recorded in TechnicalDebt with the other PPSA01317 imports declared without parameters. ### Tested Linux (GCC): `guest_text_to_speech2` passes, covering `RegisterTextConversionItem` throwing alongside the existing Initialize and Open checks; the symbol is present in the built prx with its aerolib NID; `python3 tools/check_conventions.py --base origin/main` passes. Not tested with a title. ### 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-11 19:23:36 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T19:23:36Z.


Progress report (5317eeb → 8becf26)

📉 System libraries: 85.69% (-0.03%, +1 declared functions)

🆕 1 declared as stubs
Library Name
libSceTextToSpeech2 sceTextToSpeech2RegisterTextConversionItem
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6112785728 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3928#issuecomment-6112785728). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-11T19:23:36Z. --- <!-- progress-report --> ### Progress report (5317eeb → 8becf26) 📉 **System libraries**: 85.69% (-0.03%, +1 declared functions) <details> <summary>🆕 1 declared as stubs</summary> | Library | Name | | - | - | | libSceTextToSpeech2 | `sceTextToSpeech2RegisterTextConversionItem` | </details>
13hourstilliland commented 2026-10-11 19:38:23 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by 13hourstilliland on 2026-10-11T19:38:23Z.


Trial-merging this against #3500 conflicts on core/libs/tests/GuestTextToSpeech2.cpp: both PRs insert declarations into the same extern "C" block at the same anchor (sceTextToSpeech2Open). They declare disjoint export sets — #3500 adds Cancel/Close/GetSpeechStatus/Speak/Terminate/GetSystemStatus, this PR adds sceTextToSpeech2RegisterTextConversionItem — but #3500 also rewrites the test body (replacing the throw-on-open check with an unsupported constant), so rebasing this PR needs its new declaration and new throw check grafted into the rewritten body, not a plain line splice.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6112926658 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3928#issuecomment-6112926658). Originally posted by [13hourstilliland](https://github.com/13hourstilliland) on 2026-10-11T19:38:23Z. --- Trial-merging this against #3500 conflicts on `core/libs/tests/GuestTextToSpeech2.cpp`: both PRs insert declarations into the same `extern "C"` block at the same anchor (`sceTextToSpeech2Open`). They declare disjoint export sets — #3500 adds Cancel/Close/GetSpeechStatus/Speak/Terminate/GetSystemStatus, this PR adds `sceTextToSpeech2RegisterTextConversionItem` — but #3500 also rewrites the test body (replacing the throw-on-open check with an `unsupported` constant), so rebasing this PR needs its new declaration and new throw check grafted into the rewritten body, not a plain line splice.
oneandonlydean commented 2026-10-11 23:19:13 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-11T23:19:13Z.


Does PPSA01317 stop on main at this import? With the log line (FAIL: unresolved ELF import LazJT1ZrQys or the call) this can go in; otherwise I'll close it until a title does.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6115026180 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3928#issuecomment-6115026180). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-11T23:19:13Z. --- Does PPSA01317 stop on main at this import? With the log line (`FAIL: unresolved ELF import LazJT1ZrQys` or the call) this can go in; otherwise I'll close it until a title does.
13hourstilliland commented 2026-10-12 07:36:13 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by 13hourstilliland on 2026-10-12T07:36:13Z.


I don't have a fresh title-load log line for PPSA01317: nothing on this machine re-runs the title, and the import list in TechnicalDebt came from the earlier bring-up runs, not from a dump I can rerun.

What stands on main today: libSceTextToSpeech2 declares the other eight PPSA01317 speech imports and not this one (RegisterTextConversionItem, LazJT1ZrQys), so a relinker run of the title should stop at it with the unresolved-import failure; the name resolves in the aerolib database and in shadPS4's ps4_names list, so it is a real symbol, not a hashed guess.

If a title-loaded log line is the bar, closing until one exists is fine — let me know if you want it closed.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6119846083 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3928#issuecomment-6119846083). Originally posted by [13hourstilliland](https://github.com/13hourstilliland) on 2026-10-12T07:36:13Z. --- I don't have a fresh title-load log line for PPSA01317: nothing on this machine re-runs the title, and the import list in TechnicalDebt came from the earlier bring-up runs, not from a dump I can rerun. What stands on main today: `libSceTextToSpeech2` declares the other eight PPSA01317 speech imports and not this one (`RegisterTextConversionItem`, `LazJT1ZrQys`), so a relinker run of the title should stop at it with the unresolved-import failure; the name resolves in the aerolib database and in shadPS4's ps4_names list, so it is a real symbol, not a hashed guess. If a title-loaded log line is the bar, closing until one exists is fine — let me know if you want it closed.
adriadam10 commented 2026-10-13 10:10:08 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-13T10:10:08Z.

Review: CHANGES_REQUESTED


  • Conflicts with main since #3500 merged: both touch the extern "C" block and the test body in core/libs/tests/GuestTextToSpeech2.cpp. Please rebase and graft the new declaration and throw check into the rewritten test.
  • @oneandonlydean's question is still open: a log line from PPSA01317 showing it stops at LazJT1ZrQys (unresolved ELF import) on current main, or the call itself. Without a title that needs this import, the PR adds an export nobody has shown to be used.

Welcome back once rebased with that evidence.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5501961294 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3928#pullrequestreview-5501961294). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-13T10:10:08Z. **Review:** CHANGES_REQUESTED --- - Conflicts with `main` since #3500 merged: both touch the `extern "C"` block and the test body in `core/libs/tests/GuestTextToSpeech2.cpp`. Please rebase and graft the new declaration and throw check into the rewritten test. - @oneandonlydean's question is still open: a log line from PPSA01317 showing it stops at `LazJT1ZrQys` (`unresolved ELF import`) on current `main`, or the call itself. Without a title that needs this import, the PR adds an export nobody has shown to be used. Welcome back once rebased with that evidence.
13hourstilliland commented 2026-10-14 05:14:47 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by 13hourstilliland on 2026-10-14T05:14:47Z.


Closing until a title load on current main shows the stop at LazJT1ZrQys. I'll reopen with that log line, rebased onto #3500.

AI-assisted: yes

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6161439517 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3928#issuecomment-6161439517). Originally posted by [13hourstilliland](https://github.com/13hourstilliland) on 2026-10-14T05:14:47Z. --- Closing until a title load on current main shows the stop at `LazJT1ZrQys`. I'll reopen with that log line, rebased onto #3500. AI-assisted: yes

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!3928
No description provided.