feat(libSceNpPartner001): implement EA access init and terminate #3718

Merged
MarcZX10 merged 2 commits from upstream-pr/3718 into main 2026-10-12 20:03:30 +00:00
MarcZX10 commented 2026-10-11 15:56:21 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-11T15:56:21Z.


What

Implements sceNpEAAccessInitialize and sceNpEAAccessTerminate with explicit initialization state, adds guest_np_partner coverage, and records unresolved console behavior in TechnicalDebt.

Carried David's ready commit unchanged, preserving its author metadata.

Tested

Linux Release verification on the rebased change: guest_np_partner, the kernel test suites, and full suite (832/832) passed; conventions and git diff --check passed. Windows Release verification on the original commit: guest_np_partner 3/3 and full suite 508/508 (excluding AGC driver and video flip tests; the reported unrelated #3329 test fix was applied locally). Independent Linux verification is documented in issue #3339.

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
  • No notes or investigation files added
  • Generic behavior
  • Depends on: none
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4820340841 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3718). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-11T15:56:21Z. --- ### What Implements `sceNpEAAccessInitialize` and `sceNpEAAccessTerminate` with explicit initialization state, adds `guest_np_partner` coverage, and records unresolved console behavior in TechnicalDebt. Carried David's ready commit unchanged, preserving its author metadata. ### Tested Linux Release verification on the rebased change: `guest_np_partner`, the kernel test suites, and full suite (832/832) passed; conventions and `git diff --check` passed. Windows Release verification on the original commit: `guest_np_partner` 3/3 and full suite 508/508 (excluding AGC driver and video flip tests; the reported unrelated #3329 test fix was applied locally). Independent Linux verification is documented in issue #3339. ### 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 - [x] Unimplemented paths throw - [x] No notes or investigation files added - [x] Generic behavior - [x] Depends on: none - [x] AI-assisted: yes
github-actions[bot] commented 2026-10-11 15:56:47 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T15:56:47Z.


Progress report (1acfa7f → 92aa5b9)

📈 System libraries: 86.42% (+0.06%, +2 implemented functions)

✅ 2 implemented
Library Name
libSceNpPartner001 sceNpEAAccessInitialize
libSceNpPartner001 sceNpEAAccessTerminate
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6110855929 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3718#issuecomment-6110855929). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-11T15:56:47Z. --- <!-- progress-report --> ### Progress report (1acfa7f → 92aa5b9) 📈 **System libraries**: 86.42% (+0.06%, +2 implemented functions) <details> <summary>✅ 2 implemented</summary> | Library | Name | | - | - | | libSceNpPartner001 | `sceNpEAAccessInitialize` | | libSceNpPartner001 | `sceNpEAAccessTerminate` | </details>
adriadam10 commented 2026-10-11 21:55:01 +00:00 (Migrated from github.com)

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


Checked build + ctest on Linux (scope 20/20), guest_np_partner passes and aborts against main's stub (negative check). Init/terminate state and the throwing cases match shadPS4/KytyPS5 where they agree and are listed in TechnicalDebt.

Added on your branch:

  • removed the old sceNpEAAccessInitialize, sceNpEAAccessTerminate line under "Unknown function info", now stale;
  • moved the new TechnicalDebt line a few lines up so it isn't the last of "Functional" (avoids adjacency conflicts); rebased on current main.

Merging once CI is green.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6114227776 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3718#issuecomment-6114227776). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-11T21:55:01Z. --- Checked build + ctest on Linux (scope 20/20), `guest_np_partner` passes and aborts against `main`'s stub (negative check). Init/terminate state and the throwing cases match shadPS4/KytyPS5 where they agree and are listed in TechnicalDebt. Added on your branch: - removed the old `sceNpEAAccessInitialize, sceNpEAAccessTerminate` line under "Unknown function info", now stale; - moved the new TechnicalDebt line a few lines up so it isn't the last of "Functional" (avoids adjacency conflicts); rebased on current `main`. Merging once CI is green.
adriadam10 commented 2026-10-11 22:14:08 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-11T22:14:08Z.


Checked build + ctest on Linux (scope 20/20), guest_np_partner passes and aborts against main's stub (negative check). Init/terminate state and the throwing cases match shadPS4/KytyPS5 where they agree and are listed in TechnicalDebt.

Added on your branch:

  • removed the old sceNpEAAccessInitialize, sceNpEAAccessTerminate line under "Unknown function info", now stale;
  • moved the new TechnicalDebt line a few lines up so it isn't the last of "Functional" (avoids adjacency conflicts); rebased again on current main (adjacency conflict in TechnicalDebt only).

Merging once CI is green.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6114451753 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3718#issuecomment-6114451753). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-11T22:14:08Z. --- Checked build + ctest on Linux (scope 20/20), `guest_np_partner` passes and aborts against `main`'s stub (negative check). Init/terminate state and the throwing cases match shadPS4/KytyPS5 where they agree and are listed in TechnicalDebt. Added on your branch: - removed the old `sceNpEAAccessInitialize, sceNpEAAccessTerminate` line under "Unknown function info", now stale; - moved the new TechnicalDebt line a few lines up so it isn't the last of "Functional" (avoids adjacency conflicts); rebased again on current `main` (adjacency conflict in TechnicalDebt only). Merging once CI is green.
oneandonlydean commented 2026-10-11 23:56:59 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-11T23:56:59Z.


A title is required for this to merge: which title stops at sceNpEAAccessInitialize or sceNpEAAccessTerminate on main? #3339 says no run has reached them. With the title ID and the log line where it stops, this can go in.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6115335854 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3718#issuecomment-6115335854). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-11T23:56:59Z. --- A title is required for this to merge: which title stops at `sceNpEAAccessInitialize` or `sceNpEAAccessTerminate` on main? #3339 says no run has reached them. With the title ID and the log line where it stops, this can go in.
github-actions[bot] commented 2026-10-12 18:59:45 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-12T18:59:45Z.


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
#4447 core/libs/prx/libSceNpPartner001/Export.cpp L1, L5-6
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6130694829 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3718#issuecomment-6130694829). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-12T18:59:45Z. --- <!-- pr-overlap --> 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 | |---|---|---|---| | #4447 | `core/libs/prx/libSceNpPartner001/Export.cpp` [L1](https://github.com/boykopovar/AnyPS5/blob/3e0e01f35f63d18b5def74f6d1ce3966b0973732/core/libs/prx/libSceNpPartner001/Export.cpp#L1), [L5-6](https://github.com/boykopovar/AnyPS5/blob/3e0e01f35f63d18b5def74f6d1ce3966b0973732/core/libs/prx/libSceNpPartner001/Export.cpp#L5-L6) | | |
adriadam10 commented 2026-10-12 20:03:26 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-12T20:03:26Z.


Rechecked on current main: build + ctest on Linux (scope 22/22), guest_np_partner passes. The head already carries our TechnicalDebt fix and merges cleanly.

On @oneandonlydean's question: UFC 6 (PPSA23566) imports both exports (#992); no run has stopped on them yet, so there is no log line to give. The behaviour is the minimal init/terminate state, throwing on the unverified cases, listed in TechnicalDebt.

Merging once CI is green.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6131694551 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3718#issuecomment-6131694551). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-12T20:03:26Z. --- Rechecked on current `main`: build + ctest on Linux (scope 22/22), `guest_np_partner` passes. The head already carries our TechnicalDebt fix and merges cleanly. On @oneandonlydean's question: UFC 6 (PPSA23566) imports both exports (#992); no run has stopped on them yet, so there is no log line to give. The behaviour is the minimal init/terminate state, throwing on the unverified cases, listed in TechnicalDebt. 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!3718
No description provided.