refactor: split more prx libraries (Pad, NetCtl, Ult, NpManager, SystemService, others) into small-size libraries #24917

Open
GRG-DA wants to merge 21 commits from upstream-pr/24917 into main
GRG-DA commented 2026-11-21 10:41:32 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by GRG-DA on 2026-11-21T10:41:32Z.


What

Additional small-size CMake add_library chunk libraries: libSceIcu (Compare, Search) and libc (FormattingWide, ScanningWide). The original source files remain on disk.

This branch stacks on the work in PR #24322. Once #24322 is merged, this PR's diff reduces to just this commit.

Tested

python3 tools/check_conventions.py --base upstream/main passes; local CMake configure succeeds. No build, CTest run or GPU validation was performed.

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 and the licence notice of code adapted from upstream (see AGENTS.md)
  • 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: #24322
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a (no GPU tests were run)
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5426978409 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/24917). Originally posted by [GRG-DA](https://github.com/GRG-DA) on 2026-11-21T10:41:32Z. --- ### What Additional small-size CMake `add_library` chunk libraries: `libSceIcu` (Compare, Search) and `libc` (FormattingWide, ScanningWide). The original source files remain on disk. This branch stacks on the work in PR #24322. Once #24322 is merged, this PR's diff reduces to just this commit. ### Tested <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. A performance change: the summary lines of main and of this PR from the same machine and scene, with the traces attached, captured as the Performance report issue form describes. --> `python3 tools/check_conventions.py --base upstream/main` passes; local CMake configure succeeds. No build, CTest run or GPU validation was performed. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [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) and the licence notice of code adapted from upstream (see AGENTS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [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: #24322 - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a (no GPU tests were run) - [x] AI-assisted: yes
MarcZX10 commented 2026-11-21 11:20:17 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-21T11:20:17Z.

Review: COMMENTED


Reviewed — no blocking findings

The review inspected selected CMake changes at head 8465e09342c6b0ae964dd87c4a0e1ba73ee19412; the full change could not be verified because most changed files were excluded from the review folder.

What I ran

Read the prepared description, commit list, README, selected diff ranges, and core/libs/CMakeLists.txt through repo_read.py's reader interface. No build or tests were run by me. The author reports that the conventions check and local CMake configure passed; no build, CTest, or GPU validation was performed.

Results

Check Result Note
Targeted CMake review passed Read changed lines in core/libs/CMakeLists.txt
Full changed-file review not run Most changed files were excluded
Build and tests not run No commands run by me

Findings

Blocking

None verified in the lines reviewed.

Non-blocking

None.

Not verified

The review folder lists many changed files as excluded because they were too large, including generated chunk sources and library CMake files. I did not read their changed lines or the complete diff.patch. Behavior and correctness of those changes are not verified. The author-reported convention check and configure result were not independently confirmed.

Files read: review/description.md, review/commits.md, review/manifest.json (selected range), review/diff.patch (selected ranges), review/README.md, and changed file core/libs/CMakeLists.txt (the changed ranges). Files excluded: the other changed files listed in review/README.md; the complete changed-line sets were not read.

To get this to a good state

Nothing is required. Optional: complete a review of the excluded changed files and run the reported checks on this head.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6004859928 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/24917#pullrequestreview-6004859928). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-21T11:20:17Z. **Review:** COMMENTED --- # Reviewed — no blocking findings The review inspected selected CMake changes at head `8465e09342c6b0ae964dd87c4a0e1ba73ee19412`; the full change could not be verified because most changed files were excluded from the review folder. ## What I ran Read the prepared description, commit list, README, selected diff ranges, and `core/libs/CMakeLists.txt` through `repo_read.py`'s reader interface. No build or tests were run by me. The author reports that the conventions check and local CMake configure passed; no build, CTest, or GPU validation was performed. ## Results | Check | Result | Note | |---|---|---| | Targeted CMake review | passed | Read changed lines in `core/libs/CMakeLists.txt` | | Full changed-file review | not run | Most changed files were excluded | | Build and tests | not run | No commands run by me | ## Findings ### Blocking None verified in the lines reviewed. ### Non-blocking None. ## Not verified The review folder lists many changed files as excluded because they were too large, including generated chunk sources and library CMake files. I did not read their changed lines or the complete `diff.patch`. Behavior and correctness of those changes are not verified. The author-reported convention check and configure result were not independently confirmed. Files read: `review/description.md`, `review/commits.md`, `review/manifest.json` (selected range), `review/diff.patch` (selected ranges), `review/README.md`, and changed file `core/libs/CMakeLists.txt` (the changed ranges). Files excluded: the other changed files listed in `review/README.md`; the complete changed-line sets were not read. ## To get this to a good state Nothing is required. Optional: complete a review of the excluded changed files and run the reported checks on this head.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/24917:upstream-pr/24917'
git switch 'upstream-pr/24917'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/24917'
git switch 'upstream-pr/24917'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/24917'
git switch 'upstream-pr/24917'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/24917'
git switch 'main'
git merge --squash 'upstream-pr/24917'
git switch 'main'
git merge --ff-only 'upstream-pr/24917'
git switch 'main'
git merge 'upstream-pr/24917'
git push origin 'main'
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!24917
No description provided.