Skip to content

feat(libSceFlexContent): add export placeholders - #13401

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

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

Conversation

@Celegans12

Copy link
Copy Markdown
Contributor

What

Adds libSceFlexContent with 7 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 libSceFlexContent.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/libSceFlexContent.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 seven named libSceFlexContent exports in this PR are already present in open PR #13356, which adds the same library files; please coordinate the shared implementation so the exports are not duplicated.

What I ran

I compared the patch for head 62995f53e272bdf860aa5992bd31f523fabc796e against open PR #13356 at head 7e16d1dffed8dca53cc5d179cb76dcda097297ac. Both PRs target main; I did not merge either head locally. I ran the patch comparison with:

gh pr diff 13401 --repo boykopovar/AnyPS5 --patch
gh pr diff 13356 --repo boykopovar/AnyPS5 --patch

The automated no-build precheck was started but did not finish: its conventions check remained running for over two minutes, so I stopped it. No build or tests were run.

Results

Check Result
Export overlap comparison Duplicate exports found; exact list is below.
Automated no-build precheck Incomplete; convention check did not finish.
Build and tests Not run.
Patch comparison output
anyps5-13401.patch
7
sceFlexContentDelete
sceFlexContentGetDownloadProgress
sceFlexContentGetInstalledVersion
sceFlexContentGetLatestVersion
sceFlexContentInitialize
sceFlexContentMount
sceFlexContentTerminate
anyps5-13356.patch
12
sceFlexContentDelete
sceFlexContentGetDownloadProgress
sceFlexContentGetInstalledVersion
sceFlexContentGetLatestVersion
sceFlexContentInitialize
sceFlexContentMount
sceFlexContentTerminate
sceFlexContentUnknown00
sceFlexContentUnknown01
sceFlexContentUnknown02
sceFlexContentUnknown03
sceFlexContentUnknown04

Findings

Blocking

  • All seven named exports added here—sceFlexContentTerminate, sceFlexContentGetInstalledVersion, sceFlexContentGetLatestVersion, sceFlexContentInitialize, sceFlexContentGetDownloadProgress, sceFlexContentMount, and sceFlexContentDelete—are already added by #13356. Both PRs add core/libs/prx/libSceFlexContent/Export.cpp and the library API header. This makes the export work duplicate and leaves two competing PRs for the same library surface. Please coordinate with the #13356 author/maintainers and remove or otherwise resolve the overlapping scope here; the five Unknown exports in #13356 are not present in this PR and are not part of this finding.

Non-blocking

  • The automated convention precheck did not complete, and no build or tests were run, so those results remain unverified.

Sources

Not verified

  • Compilation, unit tests, integration tests, and runtime behavior were not verified.
  • The repository convention check did not complete.

To get this to a good state

Please coordinate the duplicate export set with #13356 and update this PR so it contains distinct work or no longer duplicates that PR. I will re-check the same exports and checks on the updated head.

@oneandonlydean

Copy link
Copy Markdown
Collaborator

@Celegans12 thanks for the placeholders. #13356 (opened a few minutes earlier) adds the same library with all 12 exports from the 13.60 inventory, the 7 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 #13356 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 13356 core/libs/prx/libSceFlexContent/Export.cpp
core/libs/prx/libSceFlexContent/include/Api.hpp
docs/dev/debt/libSceFlexContent.md
sceFlexContentDelete
sceFlexContentGetDownloadProgress
sceFlexContentGetInstalledVersion
sceFlexContentGetLatestVersion
sceFlexContentInitialize
sceFlexContentMount
sceFlexContentTerminate
core/libs/prx/libSceFlexContent/Export.cpp
core/libs/prx/libSceFlexContent/include/Api.hpp
core/libs/prx/libSceFlexContent/libSceFlexContent.hpp
docs/dev/debt/libSceFlexContent.md

@Celegans12

Copy link
Copy Markdown
Contributor Author

I checked the current patches and confirmed that #13356 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 → 62995f5)

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

🆕 7 declared as stubs
Library Name
libSceFlexContent sceFlexContentDelete
libSceFlexContent sceFlexContentGetDownloadProgress
libSceFlexContent sceFlexContentGetInstalledVersion
libSceFlexContent sceFlexContentGetLatestVersion
libSceFlexContent sceFlexContentInitialize
libSceFlexContent sceFlexContentMount
libSceFlexContent sceFlexContentTerminate

Changed libraries (implemented exports)

Library Before After Change
libSceFlexContent Not present 0/7 (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