feat(libSceBeisobmf): add subsystem CMakeLists.txt and consolidate box tests from Tests.cmake #15838

Open
Elma7e wants to merge 2 commits from upstream-pr/15838 into main
Elma7e commented 2026-11-04 18:40:30 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Elma7e on 2026-11-04T18:40:30Z.


What

Provide dedicated core/libs/prx/libSceBeisobmf/CMakeLists.txt declaring libSceBeisobmf target and consolidating guest_beisobmf_boxes_tests from Tests.cmake. Remove Tests.cmake and its root CMake include. Update technical debt documentation.

Tested

Conventions pass via tools/check_conventions.py. Standalone compilation and execution of GuestBeisobmfBoxes.cpp succeeds with exit code 0.

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
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5159641692 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15838). Originally posted by [Elma7e](https://github.com/Elma7e) on 2026-11-04T18:40:30Z. --- ### What Provide dedicated `core/libs/prx/libSceBeisobmf/CMakeLists.txt` declaring `libSceBeisobmf` target and consolidating `guest_beisobmf_boxes_tests` from `Tests.cmake`. Remove `Tests.cmake` and its root CMake include. Update technical debt documentation. ### Tested Conventions pass via `tools/check_conventions.py`. Standalone compilation and execution of `GuestBeisobmfBoxes.cpp` succeeds with exit code 0. ### 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 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: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes
adriadam10 commented 2026-11-09 13:18:01 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-11-09T13:18:01Z.

Review: CHANGES_REQUESTED


The CMake move looks right: libSceBeisobmf/CMakeLists.txt follows the same pattern as libSceRazorCpu, and the loop in core/libs/CMakeLists.txt picks it up with add_subdirectory, so dropping the include(...Tests.cmake) line is correct.

One thing to fix:

  • docs/dev/debt/libSceBeisobmf.md:5-6 rewrites the two existing debt entries and drops their content: the function addresses and field offsets (0x3190, 0x31a0, 0x3220, 0x7ce0, helpers 0x6ea0/0x6ee0/0x6ec0/0x7040, the 0x97800 type mask, getflags32b, decoder_next_disk_offset) and the null-input fallback values. That is the evidence the accessors were implemented from, and it is unrelated to this PR. The new last sentence about the CMakeLists is also not a known gap. Please restore both entries as they are on main and leave the debt file untouched.

Once that is done this is good to go.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5826391942 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15838#pullrequestreview-5826391942). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-11-09T13:18:01Z. **Review:** CHANGES_REQUESTED --- The CMake move looks right: `libSceBeisobmf/CMakeLists.txt` follows the same pattern as `libSceRazorCpu`, and the loop in `core/libs/CMakeLists.txt` picks it up with `add_subdirectory`, so dropping the `include(...Tests.cmake)` line is correct. One thing to fix: - `docs/dev/debt/libSceBeisobmf.md:5-6` rewrites the two existing debt entries and drops their content: the function addresses and field offsets (`0x3190`, `0x31a0`, `0x3220`, `0x7ce0`, helpers `0x6ea0`/`0x6ee0`/`0x6ec0`/`0x7040`, the `0x97800` type mask, `getflags32b`, `decoder_next_disk_offset`) and the null-input fallback values. That is the evidence the accessors were implemented from, and it is unrelated to this PR. The new last sentence about the CMakeLists is also not a known gap. Please restore both entries as they are on `main` and leave the debt file untouched. Once that is done this is good to go.
MarcZX10 commented 2026-11-20 11:13:43 +00:00 (Migrated from github.com)

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

Review: APPROVED


Reviewed — looks good

The changed CMake configuration follows the existing library discovery and target setup, and the reviewed changes show no blocking defect.

What I ran

Reviewed head ee2ccfde2c323578eca41bbc330060c7c033f9bf against main using repo_read.py. No build or tests were run.

Results

Check Result Note
Diff and CMake review passed Both changed files read
Build and tests not run No commands executed

Findings

Blocking

None.

Non-blocking

None.

Not verified

No build, test, or convention checks were run, so the author-reported checks were not independently confirmed. The prepared review bundle lists two changed files, both included and read: core/libs/CMakeLists.txt and core/libs/prx/libSceBeisobmf/CMakeLists.txt. review/files.json was not available through the reader.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5991788861 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15838#pullrequestreview-5991788861). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-20T11:13:43Z. **Review:** APPROVED --- # Reviewed — looks good The changed CMake configuration follows the existing library discovery and target setup, and the reviewed changes show no blocking defect. ## What I ran Reviewed head `ee2ccfde2c323578eca41bbc330060c7c033f9bf` against `main` using `repo_read.py`. No build or tests were run. ## Results | Check | Result | Note | |---|---|---| | Diff and CMake review | passed | Both changed files read | | Build and tests | not run | No commands executed | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified No build, test, or convention checks were run, so the author-reported checks were not independently confirmed. The prepared review bundle lists two changed files, both included and read: `core/libs/CMakeLists.txt` and `core/libs/prx/libSceBeisobmf/CMakeLists.txt`. `review/files.json` was not available through the reader. ## To get this to a good state Nothing is required.
ligmaSec commented 2026-12-03 13:43:28 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T13:43:28Z.

Review: COMMENTED


The Linux integration build passed the registered box test after the CMake move.

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6170956974 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15838#pullrequestreview-6170956974). Originally posted by [ligmaSec](https://github.com/ligmaSec) on 2026-12-03T13:43:28Z. **Review:** COMMENTED --- The Linux integration build passed the registered box test after the CMake move. AI-assisted: yes.
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/15838:upstream-pr/15838'
git switch 'upstream-pr/15838'

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