feat(libSceMsgDialog): implement interactive message dialogs #1801

Closed
MyleAtaraxia wants to merge 1 commit from upstream-pr/1801 into main
MyleAtaraxia commented 2026-10-08 19:32:24 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MyleAtaraxia on 2026-10-08T19:32:24Z.


What

Add interactive SDL/Vulkan dialogs to both libSceMsgDialog variants, replacing automatic completion. Supports keyboard/controller input, custom buttons, progress updates, and selection/cancellation results without blocking game threads.

Remaining limitations are documented in TechnicalDebt.md. System message type 5 is unsupported; full SDK compatibility and common-dialog arbitration remain unverified.

Tested

  • Linux: 12 focused tests and packaged PRX checks passed; broader non-AGC run passed 242 tests. The full GPU suite stopped after resource-related kills.
  • After rebasing: standard/native dialog state tests passed on macOS. Conventions and whitespace checks passed.

Physical controllers and Windows presentation remain untested.

Checklist

  • Based on current main; no overlapping PRs — rebased; overlapping PRs not checked
  • One topic per PR
  • No code comments added
  • Unimplemented paths throw; silent stubs documented — unsupported paths currently return NOT_SUPPORTED
  • No investigation files or images added
  • No new third-party dependencies
  • Generic behavior
  • Depends on: none
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4791834348 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1801). Originally posted by [MyleAtaraxia](https://github.com/MyleAtaraxia) on 2026-10-08T19:32:24Z. --- ### What Add interactive SDL/Vulkan dialogs to both libSceMsgDialog variants, replacing automatic completion. Supports keyboard/controller input, custom buttons, progress updates, and selection/cancellation results without blocking game threads. Remaining limitations are documented in TechnicalDebt.md. System message type 5 is unsupported; full SDK compatibility and common-dialog arbitration remain unverified. ### Tested - Linux: 12 focused tests and packaged PRX checks passed; broader non-AGC run passed 242 tests. The full GPU suite stopped after resource-related kills. - After rebasing: standard/native dialog state tests passed on macOS. Conventions and whitespace checks passed. Physical controllers and Windows presentation remain untested. ### Checklist - [x] Based on current `main`; no overlapping PRs — rebased; overlapping PRs not checked - [x] One topic per PR - [x] No code comments added - [ ] Unimplemented paths throw; silent stubs documented — unsupported paths currently return `NOT_SUPPORTED` - [x] No investigation files or images added - [x] No new third-party dependencies - [x] Generic behavior - [x] Depends on: none - [x] AI-assisted: yes
github-actions[bot] commented 2026-10-08 20:18:38 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-08T20:18:38Z.


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
#1819 docs/dev/TechnicalDebt.md L354
#1831 docs/dev/TechnicalDebt.md L354
#1873 core/libs/prx/libSceVideoOut/src/VideoOutDriver.cpp L211-212
#1916 docs/dev/TechnicalDebt.md L354
#1931 docs/dev/TechnicalDebt.md L354
#1969 docs/dev/TechnicalDebt.md L354
#2001 core/libs/prx/libSceAgcDriver/Execution/src/Driver/EntryPoints.cpp L112-122
core/libs/prx/libSceMsgDialog.native/Export.cpp L1-90
core/libs/tests/GuestMsgDialogNative.cpp L7-16, L31-61
docs/dev/TechnicalDebt.md L14-16, L345-354
#2052 docs/dev/TechnicalDebt.md L354
#2053 docs/dev/TechnicalDebt.md L354
#2054 docs/dev/TechnicalDebt.md L354
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6068291305 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1801#issuecomment-6068291305). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-08T20:18:38Z. --- <!-- 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 | |---|---|---|---| | #1819 | `docs/dev/TechnicalDebt.md` [L354](https://github.com/boykopovar/AnyPS5/blob/f145139676a48306681d3a4d5fabf83938759daf/docs/dev/TechnicalDebt.md#L354) | | | | #1831 | `docs/dev/TechnicalDebt.md` [L354](https://github.com/boykopovar/AnyPS5/blob/f145139676a48306681d3a4d5fabf83938759daf/docs/dev/TechnicalDebt.md#L354) | | | | #1873 | `core/libs/prx/libSceVideoOut/src/VideoOutDriver.cpp` [L211-212](https://github.com/boykopovar/AnyPS5/blob/f145139676a48306681d3a4d5fabf83938759daf/core/libs/prx/libSceVideoOut/src/VideoOutDriver.cpp#L211-L212) | | | | #1916 | `docs/dev/TechnicalDebt.md` [L354](https://github.com/boykopovar/AnyPS5/blob/f145139676a48306681d3a4d5fabf83938759daf/docs/dev/TechnicalDebt.md#L354) | | | | #1931 | `docs/dev/TechnicalDebt.md` [L354](https://github.com/boykopovar/AnyPS5/blob/f145139676a48306681d3a4d5fabf83938759daf/docs/dev/TechnicalDebt.md#L354) | | | | #1969 | `docs/dev/TechnicalDebt.md` [L354](https://github.com/boykopovar/AnyPS5/blob/f145139676a48306681d3a4d5fabf83938759daf/docs/dev/TechnicalDebt.md#L354) | | | | #2001 | `core/libs/prx/libSceAgcDriver/Execution/src/Driver/EntryPoints.cpp` [L112-122](https://github.com/boykopovar/AnyPS5/blob/f145139676a48306681d3a4d5fabf83938759daf/core/libs/prx/libSceAgcDriver/Execution/src/Driver/EntryPoints.cpp#L112-L122)<br>`core/libs/prx/libSceMsgDialog.native/Export.cpp` [L1-90](https://github.com/boykopovar/AnyPS5/blob/f145139676a48306681d3a4d5fabf83938759daf/core/libs/prx/libSceMsgDialog.native/Export.cpp#L1-L90)<br>`core/libs/tests/GuestMsgDialogNative.cpp` [L7-16](https://github.com/boykopovar/AnyPS5/blob/f145139676a48306681d3a4d5fabf83938759daf/core/libs/tests/GuestMsgDialogNative.cpp#L7-L16), [L31-61](https://github.com/boykopovar/AnyPS5/blob/f145139676a48306681d3a4d5fabf83938759daf/core/libs/tests/GuestMsgDialogNative.cpp#L31-L61)<br>`docs/dev/TechnicalDebt.md` [L14-16](https://github.com/boykopovar/AnyPS5/blob/f145139676a48306681d3a4d5fabf83938759daf/docs/dev/TechnicalDebt.md#L14-L16), [L345-354](https://github.com/boykopovar/AnyPS5/blob/f145139676a48306681d3a4d5fabf83938759daf/docs/dev/TechnicalDebt.md#L345-L354) | | | | #2052 | `docs/dev/TechnicalDebt.md` [L354](https://github.com/boykopovar/AnyPS5/blob/f145139676a48306681d3a4d5fabf83938759daf/docs/dev/TechnicalDebt.md#L354) | | | | #2053 | `docs/dev/TechnicalDebt.md` [L354](https://github.com/boykopovar/AnyPS5/blob/f145139676a48306681d3a4d5fabf83938759daf/docs/dev/TechnicalDebt.md#L354) | | | | #2054 | `docs/dev/TechnicalDebt.md` [L354](https://github.com/boykopovar/AnyPS5/blob/f145139676a48306681d3a4d5fabf83938759daf/docs/dev/TechnicalDebt.md#L354) | | |
oneandonlydean commented 2026-10-09 08:55:32 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-09T08:55:32Z.


Closing: no title is shown to need an interactive dialog (the current auto-answer gets titles past sceMsgDialogOpen), and this adds a host UI to VideoOut and the presenter where unsupported cases return NOT_SUPPORTED instead of throwing. Please reopen with the title ID and what it does wrong on main if you find one.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6077716787 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1801#issuecomment-6077716787). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-09T08:55:32Z. --- Closing: no title is shown to need an interactive dialog (the current auto-answer gets titles past `sceMsgDialogOpen`), and this adds a host UI to VideoOut and the presenter where unsupported cases return `NOT_SUPPORTED` instead of throwing. Please reopen with the title ID and what it does wrong on main if you find one.

Pull request closed

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!1801
No description provided.