Skip to content

feat(libSceTtsEngine): add export placeholders - #13405

Closed
Celegans12 wants to merge 1 commit into
boykopovar:mainfrom
Celegans12:feat/ttsengine-inventory-exports-20261030
Closed

Celegans12 wants to merge 1 commit into
boykopovar:mainfrom
Celegans12:feat/ttsengine-inventory-exports-20261030

Conversation

@Celegans12

Copy link
Copy Markdown
Contributor

What

Adds libSceTtsEngine with 9 throwing export placeholders, one for every name the PS5 13.60 export inventory resolves for the library. The pinned ps5-nid-map module map assigns them to the physical libSceTtsEngine.sprx provider. Each NID was recomputed from its name. Signatures are unknown, so each placeholder is a parameterless int that throws through NotImplemented_nid_no_patch, and docs/dev/debt/libSceTtsEngine.md records the gap.

Tested

Not tested on a title. python3 tools/check_conventions.py --base origin/main passes, and clang++ -std=c++20 -fsyntax-only on the library's Export.cpp is clean. Searched main and the heads of PRs #11000 to #13325 for the names and NIDs, and none define them.

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 under Silent stubs in their library's technical debt file
  • 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
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed — changes requested

The nine named exports and library files in this PR are already present in open PR #13361, so this PR adds no distinct work.

What I ran

Reviewed PR #13405 head 47fbbfea596a5bd4f419b6cd9ae7b1c13c71dc7d against base d998343ced21f2c5b9c76dc06ef3a77507311565 and compared it with open PR #13361 head df788cc733472ae734fe9c5b61408d9f648ec3ea against base da026c70655a132031d45e2008c24f993870d801. Environment: Linux x86-64, Python 3.11.2, Git 2.39.5, GCC 12.2.0. I did not build or compile.

python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 13405
gh pr diff 13405 --repo boykopovar/AnyPS5
gh pr diff 13361 --repo boykopovar/AnyPS5

Results

Check Result
Source/diff comparison Confirmed that all nine named functions in #13405 are already in #13361, which also adds the same Export.cpp, Api.hpp, umbrella header, and debt file. #13361 additionally includes two unnamed NID exports.
PR precheck Did not complete: it remained in check_conventions.py / env_reference.py --check for over two minutes and was interrupted. No precheck conclusion is claimed.
Tests and hosted CI No build or test was run. The latest snapshot showed hosted policy checks queued.

Findings

Blocking

  • This PR adds sceTtsEngineInitialize, sceTtsEngineTerminate, sceTtsEngineSetText, sceTtsEngineGetAudio, sceTtsEngineClear, sceTtsEngineSetPitch, sceTtsEngineSetSpeed, sceTtsEngineSetVolume, and sceTtsEngineSetDepth. All nine are already declared and defined in #13361 at its live head, which also adds the same library files. Please coordinate with #13361 and remove this duplicate scope; if additional uncovered exports are intended, submit only those distinct changes after checking current open PR heads.

Non-blocking

  • The unknown signatures and behavior are recorded in the debt file, and each placeholder throws through NotImplemented_nid_no_patch. I found no separate issue in those declarations.

Sources

Not verified

I did not run a build, title, or console test. The repository precheck was interrupted before completion.

To get this to a good state

Coordinate the overlapping exports with the author of #13361 and remove the duplicate scope from one PR. I will rerun overlap and other applicable checks on an updated head.

@oneandonlydean

Copy link
Copy Markdown
Collaborator

@Celegans12 thanks for the placeholders. #13361 (opened a few minutes earlier) adds the same library with all 11 exports from the 13.60 inventory, the 9 named ones in this PR included with the same names, so the two branches conflict in every file and this one adds nothing that is missing there. Could you close this PR, or check whether anything is absent from #13361 and put it there?

@github-actions

Copy link
Copy Markdown

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
PR 13361 core/libs/prx/libSceTtsEngine/Export.cpp
core/libs/prx/libSceTtsEngine/include/Api.hpp
docs/dev/debt/libSceTtsEngine.md
sceTtsEngineClear
sceTtsEngineGetAudio
sceTtsEngineInitialize
sceTtsEngineSetDepth
sceTtsEngineSetPitch
sceTtsEngineSetSpeed
sceTtsEngineSetText
sceTtsEngineSetVolume
sceTtsEngineTerminate
core/libs/prx/libSceTtsEngine/Export.cpp
core/libs/prx/libSceTtsEngine/include/Api.hpp
core/libs/prx/libSceTtsEngine/libSceTtsEngine.hpp
docs/dev/debt/libSceTtsEngine.md

@Celegans12

Copy link
Copy Markdown
Contributor Author

I checked the current patches and confirmed that #13361 already covers every export added here. Closing this duplicate in favor of that earlier PR.

@Celegans12 Celegans12 closed this Oct 30, 2026
@github-actions

Copy link
Copy Markdown

Progress report (d998343 → 47fbbfe)

📉 System libraries: 27.23% (-0.01%, +9 declared functions)

🆕 9 declared as stubs
Library Name
libSceTtsEngine sceTtsEngineClear
libSceTtsEngine sceTtsEngineGetAudio
libSceTtsEngine sceTtsEngineInitialize
libSceTtsEngine sceTtsEngineSetDepth
libSceTtsEngine sceTtsEngineSetPitch
libSceTtsEngine sceTtsEngineSetSpeed
libSceTtsEngine sceTtsEngineSetText
libSceTtsEngine sceTtsEngineSetVolume
libSceTtsEngine sceTtsEngineTerminate

Changed libraries (implemented exports)

Library Before After Change
libSceTtsEngine Not present 0/9 (0.00%) n/a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants