feat(libSceNpEntitlementAccess): implement offline entitlement info r… #3603

Merged
itsbo5 merged 2 commits from upstream-pr/3603 into main 2026-10-11 21:56:39 +00:00
itsbo5 commented 2026-10-11 14:09:30 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by itsbo5 on 2026-10-11T14:09:30Z.


What

Implements the single-item entitlement info request and poll functions in libSceNpEntitlementAccess:

  • sceNpEntitlementAccessRequestUnifiedEntitlementInfo
  • sceNpEntitlementAccessPollUnifiedEntitlementInfo
  • sceNpEntitlementAccessRequestServiceEntitlementInfo
  • sceNpEntitlementAccessPollServiceEntitlementInfo

All functions return SCE_NP_ERROR_SIGNED_OUT matching the sibling list variants.
Adds test coverage in core/libs/tests/GuestOfflineImports.cpp.

Tested

Linux: build + ctest (guest_offline_imports).

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
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4819659343 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3603). Originally posted by [itsbo5](https://github.com/itsbo5) on 2026-10-11T14:09:30Z. --- ### What Implements the single-item entitlement info request and poll functions in `libSceNpEntitlementAccess`: - `sceNpEntitlementAccessRequestUnifiedEntitlementInfo` - `sceNpEntitlementAccessPollUnifiedEntitlementInfo` - `sceNpEntitlementAccessRequestServiceEntitlementInfo` - `sceNpEntitlementAccessPollServiceEntitlementInfo` All functions return `SCE_NP_ERROR_SIGNED_OUT` matching the sibling list variants. Adds test coverage in `core/libs/tests/GuestOfflineImports.cpp`. ### Tested Linux: build + ctest (`guest_offline_imports`). ### 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 in [TechnicalDebt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/TechnicalDebt.md#silent-stubs) - [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
github-actions[bot] commented 2026-10-11 14:09:52 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T14:09:52Z.


Progress report (50d3f06 → 6293e6a)

📈 System libraries: 85.74% (+0.12%, +4 implemented functions)

✅ 4 implemented
Library Name
libSceNpEntitlementAccess sceNpEntitlementAccessPollServiceEntitlementInfo
libSceNpEntitlementAccess sceNpEntitlementAccessPollUnifiedEntitlementInfo
libSceNpEntitlementAccess sceNpEntitlementAccessRequestServiceEntitlementInfo
libSceNpEntitlementAccess sceNpEntitlementAccessRequestUnifiedEntitlementInfo
⚪ 4 behaviourally empty (constant return or throw)
Library Name
libSceNpEntitlementAccess sceNpEntitlementAccessPollServiceEntitlementInfo
libSceNpEntitlementAccess sceNpEntitlementAccessPollUnifiedEntitlementInfo
libSceNpEntitlementAccess sceNpEntitlementAccessRequestServiceEntitlementInfo
libSceNpEntitlementAccess sceNpEntitlementAccessRequestUnifiedEntitlementInfo
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6109889062 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3603#issuecomment-6109889062). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-11T14:09:52Z. --- <!-- progress-report --> ### Progress report (50d3f06 → 6293e6a) 📈 **System libraries**: 85.74% (+0.12%, +4 implemented functions) <details> <summary>✅ 4 implemented</summary> | Library | Name | | - | - | | libSceNpEntitlementAccess | `sceNpEntitlementAccessPollServiceEntitlementInfo` | | libSceNpEntitlementAccess | `sceNpEntitlementAccessPollUnifiedEntitlementInfo` | | libSceNpEntitlementAccess | `sceNpEntitlementAccessRequestServiceEntitlementInfo` | | libSceNpEntitlementAccess | `sceNpEntitlementAccessRequestUnifiedEntitlementInfo` | </details> <details> <summary>⚪ 4 behaviourally empty (constant return or throw)</summary> | Library | Name | | - | - | | libSceNpEntitlementAccess | `sceNpEntitlementAccessPollServiceEntitlementInfo` | | libSceNpEntitlementAccess | `sceNpEntitlementAccessPollUnifiedEntitlementInfo` | | libSceNpEntitlementAccess | `sceNpEntitlementAccessRequestServiceEntitlementInfo` | | libSceNpEntitlementAccess | `sceNpEntitlementAccessRequestUnifiedEntitlementInfo` | </details>
blawesom commented 2026-10-11 15:20:10 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by blawesom on 2026-10-11T15:20:10Z.


Independent pre-review on Linux (full CI runs only happen on manual trigger, so recording one): CachyOS, kernel 7.2.9, GCC 16.2.1, Ninja, Release, BUILD_TESTING=ON.

  • Builds; tools/check_conventions.py --base origin/main passes.
  • Full suite: 708/708 passed (all tests including the Vulkan suites on AMD RX 9070 XT / RADV).
    • Note: this branch is based on main ~930 commits back; the suite above passes at that base, but the PR needs a rebase before merge.
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6110521330 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3603#issuecomment-6110521330). Originally posted by [blawesom](https://github.com/blawesom) on 2026-10-11T15:20:10Z. --- Independent pre-review on **Linux** (full CI runs only happen on manual trigger, so recording one): CachyOS, kernel 7.2.9, GCC 16.2.1, Ninja, Release, `BUILD_TESTING=ON`. - Builds; `tools/check_conventions.py --base origin/main` passes. - Full suite: **708/708 passed** (all tests including the Vulkan suites on AMD RX 9070 XT / RADV). - Note: this branch is based on `main` ~930 commits back; the suite above passes at that base, but the PR needs a rebase before merge.
adriadam10 commented 2026-10-11 21:43:00 +00:00 (Migrated from github.com)

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


Checked build + ctest of core/libs (19/19), and guest_offline_imports fails without the change. The four single-item requests follow the sibling ...InfoList variants (signed-out), consistent with the existing handling.

Added on top (own commit): the TechnicalDebt entry for the ...InfoList variants now also covers the single-item ones (signature unknown, behaviour copied from the list variants, no reference of its own).

Merging once CI is green.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6114107777 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3603#issuecomment-6114107777). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-11T21:43:00Z. --- Checked build + ctest of `core/libs` (19/19), and `guest_offline_imports` fails without the change. The four single-item requests follow the sibling `...InfoList` variants (signed-out), consistent with the existing handling. Added on top (own commit): the TechnicalDebt entry for the `...InfoList` variants now also covers the single-item ones (signature unknown, behaviour copied from the list variants, no reference of its own). 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!3603
No description provided.