feat(libSceTextToSpeech2): return EOPNOTSUPP from remaining speech exports #3500

Merged
notaxeltv merged 1 commit from upstream-pr/3500 into main 2026-10-11 21:04:31 +00:00
notaxeltv commented 2026-10-11 11:51:03 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by notaxeltv on 2026-10-11T11:51:03Z.


What

PPSA01317 imports sceTextToSpeech2Initialize and the later speech exports. Initialize already returns EOPNOTSUPP (0x8002002D). On current main the later calls still throw:

int APS5_VABI sceTextToSpeech2Open() {
    NotImplemented_nid_no_patch(__func__);
    return 0;
}

Same throw from Cancel, Close, GetSpeechStatus, Speak, Terminate and GetSystemStatus in core/libs/prx/libSceTextToSpeech2/Export.cpp.

They now return the same EOPNOTSUPP as Initialize. Signatures stay as they are (Initialize takes the param; the rest stay parameterless). TechnicalDebt is updated.

Reopens the intake-paused #2719 on current main.

Tested

guest_text_to_speech2 on this branch expects EOPNOTSUPP from Initialize and from the later calls. On current main that test aborts (Open throws). With this change it passes.

PPSA01317 itself was not run here. TechnicalDebt already records that it skips narration set-up when Initialize fails; this stops a later Open/Speak from aborting if it continues.

No MinGW toolchain on this machine, so full ctest was not run. python tools/check_conventions.py --base upstream/main 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

Made with Cursor

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4818839187 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3500). Originally posted by [notaxeltv](https://github.com/notaxeltv) on 2026-10-11T11:51:03Z. --- ### What PPSA01317 imports `sceTextToSpeech2Initialize` and the later speech exports. `Initialize` already returns `EOPNOTSUPP` (`0x8002002D`). On current `main` the later calls still throw: ```cpp int APS5_VABI sceTextToSpeech2Open() { NotImplemented_nid_no_patch(__func__); return 0; } ``` Same throw from `Cancel`, `Close`, `GetSpeechStatus`, `Speak`, `Terminate` and `GetSystemStatus` in `core/libs/prx/libSceTextToSpeech2/Export.cpp`. They now return the same `EOPNOTSUPP` as `Initialize`. Signatures stay as they are (`Initialize` takes the param; the rest stay parameterless). TechnicalDebt is updated. Reopens the intake-paused #2719 on current `main`. ### Tested `guest_text_to_speech2` on this branch expects `EOPNOTSUPP` from `Initialize` and from the later calls. On current `main` that test aborts (`Open` throws). With this change it passes. PPSA01317 itself was not run here. TechnicalDebt already records that it skips narration set-up when `Initialize` fails; this stops a later `Open`/`Speak` from aborting if it continues. No MinGW toolchain on this machine, so full `ctest` was not run. `python tools/check_conventions.py --base upstream/main` 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 - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed in TechnicalDebt - [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 Made with [Cursor](https://cursor.com)
github-actions[bot] commented 2026-10-11 12:07:13 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T12:07:13Z.


Progress report (712ae61 → ae425ed)

📈 System libraries: 85.99% (+0.21%, +7 implemented functions)

✅ 7 implemented
Library Name
libSceTextToSpeech2 sceTextToSpeech2Cancel
libSceTextToSpeech2 sceTextToSpeech2Close
libSceTextToSpeech2 sceTextToSpeech2GetSpeechStatus
libSceTextToSpeech2 sceTextToSpeech2GetSystemStatus
libSceTextToSpeech2 sceTextToSpeech2Open
libSceTextToSpeech2 sceTextToSpeech2Speak
libSceTextToSpeech2 sceTextToSpeech2Terminate
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6108849547 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3500#issuecomment-6108849547). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-11T12:07:13Z. --- <!-- progress-report --> ### Progress report (712ae61 → ae425ed) 📈 **System libraries**: 85.99% (+0.21%, +7 implemented functions) <details> <summary>✅ 7 implemented</summary> | Library | Name | | - | - | | libSceTextToSpeech2 | `sceTextToSpeech2Cancel` | | libSceTextToSpeech2 | `sceTextToSpeech2Close` | | libSceTextToSpeech2 | `sceTextToSpeech2GetSpeechStatus` | | libSceTextToSpeech2 | `sceTextToSpeech2GetSystemStatus` | | libSceTextToSpeech2 | `sceTextToSpeech2Open` | | libSceTextToSpeech2 | `sceTextToSpeech2Speak` | | libSceTextToSpeech2 | `sceTextToSpeech2Terminate` | </details>
github-actions[bot] commented 2026-10-11 17:27:53 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T17:27:53Z.


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
#3821 docs/dev/TechnicalDebt.md L287-289
#3927 docs/dev/TechnicalDebt.md L286-287
#3928 core/libs/tests/GuestTextToSpeech2.cpp L10
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6111702498 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3500#issuecomment-6111702498). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-11T17:27:53Z. --- <!-- 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 | |---|---|---|---| | #3821 | `docs/dev/TechnicalDebt.md` [L287-289](https://github.com/boykopovar/AnyPS5/blob/0a8b1d32b12a6d6a3acd462787750b482bf78884/docs/dev/TechnicalDebt.md#L287-L289) | | | | #3927 | `docs/dev/TechnicalDebt.md` [L286-287](https://github.com/boykopovar/AnyPS5/blob/0a8b1d32b12a6d6a3acd462787750b482bf78884/docs/dev/TechnicalDebt.md#L286-L287) | | | | #3928 | `core/libs/tests/GuestTextToSpeech2.cpp` [L10](https://github.com/boykopovar/AnyPS5/blob/0a8b1d32b12a6d6a3acd462787750b482bf78884/core/libs/tests/GuestTextToSpeech2.cpp#L10) | | |
adriadam10 commented 2026-10-11 21:04:28 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-11T21:04:28Z.


Checked on current main: build + ctest green (guest_text_to_speech2 passes, and fails without the change), conventions green, TechnicalDebt lines updated. Same EOPNOTSUPP choice as sceTextToSpeech2Initialize, recorded under "Unknown function info"; merging once CI is green.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6113735546 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3500#issuecomment-6113735546). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-11T21:04:28Z. --- Checked on current main: build + ctest green (`guest_text_to_speech2` passes, and fails without the change), conventions green, TechnicalDebt lines updated. Same `EOPNOTSUPP` choice as `sceTextToSpeech2Initialize`, recorded under "Unknown function info"; merging once CI is green.
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!3500
No description provided.