feat(libs): run the offline common-dialog lifecycle in five dialog libraries #9194
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/9194"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by wail-arch on 2026-10-21T14:54:40Z.
What
Runs the offline common-dialog lifecycle in five dialog libraries whose exports all threw: libSceHmdSetupDialog, libSceVrServiceDialog, libSceSocialScreenDialog, libSceNpProfileDialog and libSceNpFriendListDialog (35 exports). Each dialog shows nothing and finishes as cancelled by the user, as the VrSetup, Signin, NetCtlAp and NpAuthAuthorizedApp dialogs already do: there is no headset, second screen or PSN sign-in behind them.
libSceCommonDialog/OfflineDialog.hpp(internal linkage, likelibSceOpusDec/include/OpusDecoder.hpp), so each.prxkeeps its own state and exports only itssce*names. Its checks and 0x80B8xxxx codes are the oneslibSceVrSetupDialoguses:Openfinishes at once and rejects a null param,Closefinishes an initialized dialog,GetResultwrites only the 32-bit result word (1) and returns NOT_FINISHED before the dialog finishes.int32_t …(void),Open(const struct*),GetResult(struct*),SceCommonDialogStatusfor the status calls). The previous debt entries said no prototypes were known.sceNpProfileDialogOpen,sceNpFriendListDialogOpenandsceNpFriendListDialogGetResultstill throw: Orbital lists only theAforms, so their parameters remain unknown.Overlap: no open pull request names these libraries (searched the open pull requests for
Dialogand each library name).tools/pr_overlap.pyneedsgh, which was not available here.Tested
Ubuntu 24.04, GCC 13.3, full build (
-DBUILD_TESTING=ON). Newguest_offline_dialogslinks the five libraries and runs the whole lifecycle against each (uninitialized calls, double initialize, null param and result, result before finish, reopen, close before open, terminate twice), then checks that opening one dialog leaves the other four at STATUS_NONE. All 19-R dialogtests pass. Fullctest -j4: 1793 of 1800 pass. The 7 failures arenet_dontwait_blocking_send,_sendtoand_sendmsg(the sandbox's network stack never fills the send buffer),guest_socket_stream_options,guest_socket_address_lengthandguest_tcp(no IPv6 in the container:errno 47), andguest_named_shm_concurrency(the tests ran as root, which skips theEACCEScheck). None of their build graphs contains a file this pull request changes. No GPU, so the Vulkan tests were skipped.check_conventions.py --base upstream/mainpasses. No title tested: none is known to import these libraries.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-21T15:42:24Z.
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.
main)core/libs/prx/libSceNpProfileDialog/Export.cppL1-5, L8-10, L13-15, L18-20, L23-25, L33-35, L38-40, L43-45docs/dev/debt/libSceNpProfileDialog.mdL2, L5sceNpProfileDialogClosesceNpProfileDialogGetResultsceNpProfileDialogGetStatussceNpProfileDialogInitializesceNpProfileDialogOpenAsceNpProfileDialogTerminatesceNpProfileDialogUpdateStatuscore/libs/prx/libSceHmdSetupDialog/Export.cppL1-5, L8-10, L13-15, L18-20, L23-25, L28-30, L33-35, L38-40core/libs/prx/libSceNpFriendListDialog/Export.cppL1-5, L8-10, L18-20, L23-25, L28-30, L38-40, L43-45, L48-50core/libs/prx/libSceSocialScreenDialog/Export.cppL1-5, L8-10, L13-15, L18-20, L23-25, L28-30, L33-35, L38-40core/libs/prx/libSceVrServiceDialog/Export.cppL1-5, L8-10, L13-15, L18-20, L23-25, L28-30, L33-35, L38-40docs/dev/debt/libSceHmdSetupDialog.mdL3, L5docs/dev/debt/libSceNpFriendListDialog.mdL2, L5docs/dev/debt/libSceSocialScreenDialog.mdL3, L5docs/dev/debt/libSceVrServiceDialog.mdL3, L5sceHmdSetupDialogClosesceHmdSetupDialogGetResultsceHmdSetupDialogGetStatussceHmdSetupDialogInitializesceHmdSetupDialogOpensceHmdSetupDialogTerminatesceHmdSetupDialogUpdateStatussceNpFriendListDialogClosesceNpFriendListDialogGetResultAsceNpFriendListDialogGetStatussceNpFriendListDialogInitializesceNpFriendListDialogOpenAsceNpFriendListDialogTerminatesceNpFriendListDialogUpdateStatussceSocialScreenDialogClosesceSocialScreenDialogGetResultsceSocialScreenDialogGetStatussceSocialScreenDialogInitializesceSocialScreenDialogOpensceSocialScreenDialogTerminatesceSocialScreenDialogUpdateStatussceVrServiceDialogClosesceVrServiceDialogGetResultsceVrServiceDialogGetStatussceVrServiceDialogInitializesceVrServiceDialogOpensceVrServiceDialogTerminatesceVrServiceDialogUpdateStatusPull request closed