feat(libScePlayerSelectionDialog): run common-dialog state machine without UI #6058

Merged
notaxeltv merged 1 commit from upstream-pr/6058 into main 2026-10-18 00:26:45 +00:00
notaxeltv commented 2026-10-14 21:00:35 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by notaxeltv on 2026-10-14T21:00:35Z.


What

PPSA34015 (EA SPORTS FC 27), after LoginService / NpPartner001 / NpManager exports, fails to load libScePlayerSelectionDialog.prx:

FAIL: unresolved ELF import GtF-2gJqsts from libScePlayerSelectionDialog.prx
GetLastError: 127 - The specified procedure could not be found.

The eboot also imports Initialize, Open and UpdateStatus. Only Terminate existed. The four missing exports now follow libSceLoginDialog: initialize, open finishes immediately, GetResult writes USER_CANCELED as the first int32, terminate clears state. Silent stub under docs/dev/debt/libScePlayerSelectionDialog.md. The rest of the result layout (player list) is not filled.

Tested

Windows 10, WinLibs GCC 15.2.0, guest_player_selection_dialog passes. With the patched .prx (stacked on the earlier PPSA34015 libs) the title no longer reports GtF-2gJqsts; the next loader stop is AAMM-Q1X0g0 from libSceVdecsw.prx (separate). tools/check_conventions.py --base upstream/main passes.

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 (none)
  • Generic behaviour, not specific to one title
  • Depends on: #6034, #6049, #6056
  • Unblocks: PPSA34015
  • GPUs tested: n/a
  • AI-assisted: yes

Made with Cursor

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4864457892 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6058). Originally posted by [notaxeltv](https://github.com/notaxeltv) on 2026-10-14T21:00:35Z. --- ### What PPSA34015 (EA SPORTS FC 27), after LoginService / NpPartner001 / NpManager exports, fails to load `libScePlayerSelectionDialog.prx`: ``` FAIL: unresolved ELF import GtF-2gJqsts from libScePlayerSelectionDialog.prx GetLastError: 127 - The specified procedure could not be found. ``` The eboot also imports `Initialize`, `Open` and `UpdateStatus`. Only `Terminate` existed. The four missing exports now follow `libSceLoginDialog`: initialize, open finishes immediately, `GetResult` writes `USER_CANCELED` as the first `int32`, terminate clears state. Silent stub under `docs/dev/debt/libScePlayerSelectionDialog.md`. The rest of the result layout (player list) is not filled. ### Tested Windows 10, WinLibs GCC 15.2.0, `guest_player_selection_dialog` passes. With the patched `.prx` (stacked on the earlier PPSA34015 libs) the title no longer reports `GtF-2gJqsts`; the next loader stop is `AAMM-Q1X0g0` from `libSceVdecsw.prx` (separate). `tools/check_conventions.py --base upstream/main` passes. ### 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 (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's technical 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 (none) - [x] Generic behaviour, not specific to one title - [x] Depends on: #6034, #6049, #6056 - [x] Unblocks: PPSA34015 - [x] GPUs tested: n/a - [x] AI-assisted: yes Made with [Cursor](https://cursor.com)
github-actions[bot] commented 2026-10-14 21:01:10 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-14T21:01:10Z.


Progress report (55f82fe → 784cb4d)

📈 System libraries: 89.67% (+0.01%, +4 implemented functions)

✅ 4 implemented
Library Name
libScePlayerSelectionDialog scePlayerSelectionDialogGetResult
libScePlayerSelectionDialog scePlayerSelectionDialogInitialize
libScePlayerSelectionDialog scePlayerSelectionDialogOpen
libScePlayerSelectionDialog scePlayerSelectionDialogUpdateStatus
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6178402385 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6058#issuecomment-6178402385). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-14T21:01:10Z. --- <!-- progress-report --> ### Progress report (55f82fe → 784cb4d) 📈 **System libraries**: 89.67% (+0.01%, +4 implemented functions) <details> <summary>✅ 4 implemented</summary> | Library | Name | | - | - | | libScePlayerSelectionDialog | `scePlayerSelectionDialogGetResult` | | libScePlayerSelectionDialog | `scePlayerSelectionDialogInitialize` | | libScePlayerSelectionDialog | `scePlayerSelectionDialogOpen` | | libScePlayerSelectionDialog | `scePlayerSelectionDialogUpdateStatus` | </details>
github-actions[bot] commented 2026-10-15 13:13:25 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-15T13:13:25Z.


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 6361 core/libs/prx/libScePlayerSelectionDialog/Export.cpp L1-2, L5, L7-9
docs/dev/debt/libScePlayerSelectionDialog.md
scePlayerSelectionDialogGetResult
scePlayerSelectionDialogInitialize
scePlayerSelectionDialogOpen
scePlayerSelectionDialogUpdateStatus
docs/dev/debt/libScePlayerSelectionDialog.md
PR 6696 core/libs/prx/libScePlayerSelectionDialog/Export.cpp L1-2, L5, L7-9
core/libs/tests/GuestPlayerSelectionDialog.cpp
docs/dev/debt/libScePlayerSelectionDialog.md
scePlayerSelectionDialogGetResult
scePlayerSelectionDialogInitialize
scePlayerSelectionDialogOpen
scePlayerSelectionDialogUpdateStatus
core/libs/tests/GuestPlayerSelectionDialog.cpp
docs/dev/debt/libScePlayerSelectionDialog.md
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6192918322 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6058#issuecomment-6192918322). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-15T13:13:25Z. --- <!-- 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 | |---|---|---|---| | [PR 6361](https://www.github.com/boykopovar/AnyPS5/pull/6361) | `core/libs/prx/libScePlayerSelectionDialog/Export.cpp` [L1-2](https://github.com/boykopovar/AnyPS5/blob/3cc1fc8f11b6514900db9c20477fca0041114ab2/core/libs/prx/libScePlayerSelectionDialog/Export.cpp#L1-L2), [L5](https://github.com/boykopovar/AnyPS5/blob/3cc1fc8f11b6514900db9c20477fca0041114ab2/core/libs/prx/libScePlayerSelectionDialog/Export.cpp#L5), [L7-9](https://github.com/boykopovar/AnyPS5/blob/3cc1fc8f11b6514900db9c20477fca0041114ab2/core/libs/prx/libScePlayerSelectionDialog/Export.cpp#L7-L9)<br>`docs/dev/debt/libScePlayerSelectionDialog.md` | `scePlayerSelectionDialogGetResult`<br>`scePlayerSelectionDialogInitialize`<br>`scePlayerSelectionDialogOpen`<br>`scePlayerSelectionDialogUpdateStatus` | `docs/dev/debt/libScePlayerSelectionDialog.md` | | [PR 6696](https://www.github.com/boykopovar/AnyPS5/pull/6696) | `core/libs/prx/libScePlayerSelectionDialog/Export.cpp` [L1-2](https://github.com/boykopovar/AnyPS5/blob/3cc1fc8f11b6514900db9c20477fca0041114ab2/core/libs/prx/libScePlayerSelectionDialog/Export.cpp#L1-L2), [L5](https://github.com/boykopovar/AnyPS5/blob/3cc1fc8f11b6514900db9c20477fca0041114ab2/core/libs/prx/libScePlayerSelectionDialog/Export.cpp#L5), [L7-9](https://github.com/boykopovar/AnyPS5/blob/3cc1fc8f11b6514900db9c20477fca0041114ab2/core/libs/prx/libScePlayerSelectionDialog/Export.cpp#L7-L9)<br>`core/libs/tests/GuestPlayerSelectionDialog.cpp` <br>`docs/dev/debt/libScePlayerSelectionDialog.md` | `scePlayerSelectionDialogGetResult`<br>`scePlayerSelectionDialogInitialize`<br>`scePlayerSelectionDialogOpen`<br>`scePlayerSelectionDialogUpdateStatus` | `core/libs/tests/GuestPlayerSelectionDialog.cpp`<br>`docs/dev/debt/libScePlayerSelectionDialog.md` |
coltken95 commented 2026-10-15 21:24:47 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by coltken95 on 2026-10-15T21:24:47Z.


Tested on Linux x86-64 (Release build), with 784cb4d3d merged into main e16b2bcce:

  • With the PR: guest_player_selection_dialog passes.
  • With main's libScePlayerSelectionDialog sources (keeping this PR's test and its CMake registration): the test doesn't link (undefined reference to 'scePlayerSelectionDialogInitialize', '...Open', '...UpdateStatus', '...GetResult').

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6202598444 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6058#issuecomment-6202598444). Originally posted by [coltken95](https://github.com/coltken95) on 2026-10-15T21:24:47Z. --- Tested on Linux x86-64 (Release build), with 784cb4d3d merged into main e16b2bcce: - With the PR: `guest_player_selection_dialog` passes. - With main's `libScePlayerSelectionDialog` sources (keeping this PR's test and its CMake registration): the test doesn't link (`undefined reference to 'scePlayerSelectionDialogInitialize'`, `'...Open'`, `'...UpdateStatus'`, `'...GetResult'`). AI-assisted: yes (Claude Code)
notaxeltv commented 2026-10-15 22:31:24 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by notaxeltv on 2026-10-15T22:31:24Z.


Closing to free intake for PPSA03541 pixel interpolator DEFAULT coverage fix.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6203625545 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6058#issuecomment-6203625545). Originally posted by [notaxeltv](https://github.com/notaxeltv) on 2026-10-15T22:31:24Z. --- Closing to free intake for PPSA03541 pixel interpolator DEFAULT coverage fix.
hugodearaujo commented 2026-10-17 17:48:56 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by hugodearaujo on 2026-10-17T17:48:56Z.


FC 25 (PPSA20049, 01.000.028) imports the same four exports (DrDfu7uq6JY Initialize, 9Oj3MIJ+Zjk Open, PBmrW72wbPQ UpdateStatus, GtF-2gJqsts GetResult) and doesn't load on current main (66702f1cf) without them. With this PR merged locally, plus #6343, it loads, and with two local AGC fixes it reaches its title screen. Up to the title screen and pressing Start it never calls any of the five PlayerSelectionDialog functions (gdb dprintf on each), so there only the exports are needed.

Would you reopen it now that #6034, #6049, #6056 and #6062 are merged? If you don't plan to, I can open a PR with only these four exports and FC 25 as the title; tell me which you prefer.

AI-assisted: yes

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6237992238 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6058#issuecomment-6237992238). Originally posted by [hugodearaujo](https://github.com/hugodearaujo) on 2026-10-17T17:48:56Z. --- FC 25 (PPSA20049, 01.000.028) imports the same four exports (DrDfu7uq6JY Initialize, 9Oj3MIJ+Zjk Open, PBmrW72wbPQ UpdateStatus, GtF-2gJqsts GetResult) and doesn't load on current main (66702f1cf) without them. With this PR merged locally, plus #6343, it loads, and with two local AGC fixes it reaches its title screen. Up to the title screen and pressing Start it never calls any of the five PlayerSelectionDialog functions (gdb dprintf on each), so there only the exports are needed. Would you reopen it now that #6034, #6049, #6056 and #6062 are merged? If you don't plan to, I can open a PR with only these four exports and FC 25 as the title; tell me which you prefer. AI-assisted: yes
klosixgaming-arch commented 2026-10-17 22:57:56 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by klosixgaming-arch on 2026-10-17T22:57:56Z.


A third title needs these four exports: SWORD ART ONLINE Last Recollection (PPSA06958, 01.021.000, Unreal Engine 4).

On main (66702f1) it stops at load:

FAIL: unresolved ELF import PBmrW72wbPQ from libScePlayerSelectionDialog.prx
FAIL: unresolved ELF import DrDfu7uq6JY from libScePlayerSelectionDialog.prx
FAIL: unresolved ELF import 9Oj3MIJ+Zjk from libScePlayerSelectionDialog.prx
FAIL: unresolved ELF import GtF-2gJqsts from libScePlayerSelectionDialog.prx
GetLastError: 127 - The specified procedure could not be found.

These are scePlayerSelectionDialogUpdateStatus, Initialize, Open and GetResult. With this PR's commit (784cb4d3d) cherry-picked onto main 66702f1, the title loads, shows its start-up logos and reaches its menu. It then stops with an unrelated crash in FAsyncLoadingThread (illegal instruction at app.exe+0x2027a2c), which this PR does not touch. Windows 11, WinLibs GCC 15.2.0, RTX 5090.

With PPSA34015 and hugodearaujo's PPSA20049 that makes three titles that cannot load without these exports. Could this be reopened? If not, I can open a PR with only the four exports and these titles as the stuck ones; tell me which you prefer.

AI-assisted: yes. Written with AI assistance and reviewed by me.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6242685694 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6058#issuecomment-6242685694). Originally posted by [klosixgaming-arch](https://github.com/klosixgaming-arch) on 2026-10-17T22:57:56Z. --- A third title needs these four exports: SWORD ART ONLINE Last Recollection (PPSA06958, 01.021.000, Unreal Engine 4). On main (66702f1) it stops at load: ``` FAIL: unresolved ELF import PBmrW72wbPQ from libScePlayerSelectionDialog.prx FAIL: unresolved ELF import DrDfu7uq6JY from libScePlayerSelectionDialog.prx FAIL: unresolved ELF import 9Oj3MIJ+Zjk from libScePlayerSelectionDialog.prx FAIL: unresolved ELF import GtF-2gJqsts from libScePlayerSelectionDialog.prx GetLastError: 127 - The specified procedure could not be found. ``` These are scePlayerSelectionDialogUpdateStatus, Initialize, Open and GetResult. With this PR's commit (784cb4d3d) cherry-picked onto main 66702f1, the title loads, shows its start-up logos and reaches its menu. It then stops with an unrelated crash in FAsyncLoadingThread (illegal instruction at app.exe+0x2027a2c), which this PR does not touch. Windows 11, WinLibs GCC 15.2.0, RTX 5090. With PPSA34015 and hugodearaujo's PPSA20049 that makes three titles that cannot load without these exports. Could this be reopened? If not, I can open a PR with only the four exports and these titles as the stuck ones; tell me which you prefer. AI-assisted: yes. Written with AI assistance and reviewed by me.
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!6058
No description provided.