feat(msgdialog): add progress bar calls to libSceMsgDialog.native #762

Merged
merwie merged 1 commit from upstream-pr/762 into main 2026-10-05 23:17:29 +00:00
merwie commented 2026-10-05 21:34:34 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by merwie on 2026-10-05T21:34:34Z.


What

PPSA12544's Unity plugins Media/Plugins/CommonDialog.prx and PSN.prx import sceMsgDialogProgressBarInc, sceMsgDialogProgressBarSetMsg and sceMsgDialogProgressBarSetValue from libSceMsgDialog.native, which did not export them (startup stops with unresolved ELF import wTpfglkmv34). libSceMsgDialog has them already.

They now exist in libSceMsgDialog.native with libSceMsgDialog's behaviour: 0 while a dialog is running, COMMON_DIALOG_ERROR_NOT_RUNNING otherwise. The native dialog finishes inside sceMsgDialogOpen, so after an open they report not running.

  • guest_msg_dialog_native: the three calls before and after an open return COMMON_DIALOG_ERROR_NOT_RUNNING.

Tested

Windows 11, WinLibs GCC 15.2.0 r7, Ryzen 7 9800X3D, Radeon RX 9070 XT.

  • ctest: 315/317 passed, including guest_msg_dialog_native. agc_driver_lds_atomics64 and agc_driver_vopc_compare_table fail on this machine on main as well (Vulkan device tests).
  • PPSA12544 with its plugins relinked: the import resolves at startup. Bring-up notes: #726.

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 in TechnicalDebt
  • 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
  • Generic behaviour, not specific to one title
  • Depends on: none
  • AI-assisted: yes

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4751030722 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/762). Originally posted by [merwie](https://github.com/merwie) on 2026-10-05T21:34:34Z. --- ### What PPSA12544's Unity plugins `Media/Plugins/CommonDialog.prx` and `PSN.prx` import `sceMsgDialogProgressBarInc`, `sceMsgDialogProgressBarSetMsg` and `sceMsgDialogProgressBarSetValue` from `libSceMsgDialog.native`, which did not export them (startup stops with `unresolved ELF import wTpfglkmv34`). libSceMsgDialog has them already. They now exist in `libSceMsgDialog.native` with libSceMsgDialog's behaviour: 0 while a dialog is running, `COMMON_DIALOG_ERROR_NOT_RUNNING` otherwise. The native dialog finishes inside `sceMsgDialogOpen`, so after an open they report not running. - `guest_msg_dialog_native`: the three calls before and after an open return `COMMON_DIALOG_ERROR_NOT_RUNNING`. ### Tested Windows 11, WinLibs GCC 15.2.0 r7, Ryzen 7 9800X3D, Radeon RX 9070 XT. - `ctest`: 315/317 passed, including `guest_msg_dialog_native`. `agc_driver_lds_atomics64` and `agc_driver_vopc_compare_table` fail on this machine on `main` as well (Vulkan device tests). - PPSA12544 with its plugins relinked: the import resolves at startup. Bring-up notes: #726. ### 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 in TechnicalDebt - [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 - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] AI-assisted: yes 🤖 Generated with [Claude Code](https://claude.com/claude-code)
github-actions[bot] commented 2026-10-05 23:04:51 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-05T23:04:51Z.


Progress report (bc24783 → 6ffc81a)

📈 System libraries: 79.56% (+0.02%, +3 implemented functions)

✅ 3 implemented
Library Name
libSceMsgDialog.native sceMsgDialogProgressBarInc
libSceMsgDialog.native sceMsgDialogProgressBarSetMsg
libSceMsgDialog.native sceMsgDialogProgressBarSetValue
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6005023219 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/762#issuecomment-6005023219). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-05T23:04:51Z. --- <!-- progress-report --> ### Progress report (bc24783 → 6ffc81a) 📈 **System libraries**: 79.56% (+0.02%, +3 implemented functions) <details> <summary>✅ 3 implemented</summary> | Library | Name | | - | - | | libSceMsgDialog.native | `sceMsgDialogProgressBarInc` | | libSceMsgDialog.native | `sceMsgDialogProgressBarSetMsg` | | libSceMsgDialog.native | `sceMsgDialogProgressBarSetValue` | </details>
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!762
No description provided.