Skip to content

feat(libScePlayerInvitationDIalog): Implement player invitation dialog HLE stub - #68

Merged
boykopovar merged 2 commits into
boykopovar:mainfrom
julienlgy:feat/player-invitation-dialog
Sep 29, 2026
Merged

boykopovar merged 2 commits into
boykopovar:mainfrom
julienlgy:feat/player-invitation-dialog

Conversation

@julienlgy

Copy link
Copy Markdown
Contributor

Implement an HLE stub for libScePlayerInvitationDialog

Why

Games that load libScePlayerInvitationDialog currently have no HLE implementation for the invitation dialog. This can prevent startup or leave games waiting indefinitely for the dialog to finish.

Changes

  • Add the PRX module and its Initialize, Open, UpdateStatus, GetStatus, Close, and Terminate exports.
  • Simulate the None -> Initialized -> Running -> Finished lifecycle: the first UpdateStatus after Open finishes the dialog without displaying UI or starting a network operation.
  • Handle repeated or out-of-order calls and protect shared state with a mutex.
  • Log calls and available arguments to the console without dereferencing the opening parameters, whose ABI layout has not been confirmed.
  • Add a focused test covering opening, polling, closing, reopening, and out-of-order calls.

Verification

cmake --build build_ninja --target player_invitation_dialog_tests
ctest --test-dir build_ninja -R "^player_invitation_dialog$" --output-on-failure
ninja -C build_ninja core/libs/libs/libScePlayerInvitationDialog.prx

The focused test passes, and the NID-patched PRX builds successfully.

Limitations

This stub does not display system UI or send invitations. ScePlayerInvitationDialogParam is opaque; its exact layout and any additional exports still need to be confirmed against traces or a compatible SDK.

@boykopovar

Copy link
Copy Markdown
Owner

Please move PR_DESCRIPTION.md from the repository to this PR (preferably a force push). And add one item to https://github.com/boykopovar/AnyPS5/blob/main/docs/TechnicalDebt.md#silent-stubs

@julienlgy julienlgy changed the title Implement player invitation dialog HLE stub feat(libScePlayerInvitationDIalog): Implement player invitation dialog HLE stub Sep 28, 2026
@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Sep 28, 2026
@boykopovar

Copy link
Copy Markdown
Owner

Apparently, conflicts arose in docs/TechnicalDebt.md due to other mergers. Can you resolve them?

@boykopovar
boykopovar force-pushed the feat/player-invitation-dialog branch from 839c1bb to a7b22a6 Compare September 29, 2026 16:10
@github-actions

Copy link
Copy Markdown

Progress report (83358be → a7b22a6)

📈 System libraries: 72.7% (+0.05%, +6 implemented functions)

✅ 6 implemented
Library Name
libScePlayerInvitationDialog scePlayerInvitationDialogClose
libScePlayerInvitationDialog scePlayerInvitationDialogGetStatus
libScePlayerInvitationDialog scePlayerInvitationDialogInitialize
libScePlayerInvitationDialog scePlayerInvitationDialogOpen
libScePlayerInvitationDialog scePlayerInvitationDialogTerminate
libScePlayerInvitationDialog scePlayerInvitationDialogUpdateStatus

@boykopovar
boykopovar merged commit d5af15f into boykopovar:main Sep 29, 2026
3 checks passed
Celegans12 pushed a commit to Celegans12/AnyPS5-Ghost-of-Yotei that referenced this pull request Nov 19, 2026
fix(kyty): emit Vulkan host reports for native frame replay
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build docs needs rebase Conflicts with main, rebase needed prx

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants