Broken Sword Reforged (PPSA21480): scePadSetVibrationMode(handle, 3) is rejected and the title treats it as fatal #3704

Closed
opened 2026-10-11 15:40:35 +00:00 by xXPBSXx · 3 comments
xXPBSXx commented 2026-10-11 15:40:35 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-11T15:40:35Z.


AI-assisted (Claude Code), reviewed by the contributor.

Broken Sword - Shadow of the Templars: Reforged (PPSA21480, from the owner's own dump), Windows. After scePadOpen the title calls scePadSetVibrationMode(handle, 3) and treats a failure as fatal; the title's own log (observed by a helper session) says ps5_controls.cpp:19 "Sony call failed with code 80920001", which is PAD_ERROR_INVALID_ARG. scePadSetVibrationMode accepts only 0 to 2 (Export.cpp, test GuestPad.cpp asserts mode 3 is invalid).

Branch on current main (a11c8f7f7): https://github.com/xXPBSXx/AnyPS5/tree/fix/pad-vibration-mode-3 (one commit: modes up to 3 are accepted, 4 and above stay invalid; the test is adjusted; conventions check passes).

What this rests on, and what it does not: only on the title itself. A shipped title calls it with 3 and aborts on failure, so the console very likely accepts 3. I do not know what mode 3 means: SharpProspero's ScePadVibrationMode lists only Advanced = 1 and Compatible = 2, and Pad::SetVibrationMode here only stores the integer (I found no other use of it in libScePad), so 3 is stored like the others. After this the title stops elsewhere: earlier I saw sceCoredumpWriteUserString not implemented (signature unknown, no public source found).

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5802540886 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/3704). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-11T15:40:35Z. --- AI-assisted (Claude Code), reviewed by the contributor. **Broken Sword - Shadow of the Templars: Reforged (PPSA21480, from the owner's own dump), Windows.** After `scePadOpen` the title calls `scePadSetVibrationMode(handle, 3)` and treats a failure as fatal; the title's own log (observed by a helper session) says `ps5_controls.cpp:19 "Sony call failed with code 80920001"`, which is `PAD_ERROR_INVALID_ARG`. `scePadSetVibrationMode` accepts only 0 to 2 (`Export.cpp`, test `GuestPad.cpp` asserts mode 3 is invalid). Branch on current `main` (a11c8f7f7): https://github.com/xXPBSXx/AnyPS5/tree/fix/pad-vibration-mode-3 (one commit: modes up to 3 are accepted, 4 and above stay invalid; the test is adjusted; conventions check passes). **What this rests on, and what it does not:** only on the title itself. A shipped title calls it with 3 and aborts on failure, so the console very likely accepts 3. I do not know what mode 3 means: [SharpProspero's `ScePadVibrationMode`](https://github.com/SvenGDK/SharpProspero/blob/main/src/SharpProspero/Interop/Pad/Pad.cs) lists only `Advanced = 1` and `Compatible = 2`, and `Pad::SetVibrationMode` here only stores the integer (I found no other use of it in `libScePad`), so 3 is stored like the others. After this the title stops elsewhere: earlier I saw `sceCoredumpWriteUserString not implemented` (signature unknown, no public source found).
xXPBSXx commented 2026-10-11 20:59:09 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-11T20:59:09Z.


Broken Sword Reforged (PPSA21480) on main (0a8b1d32b, plain main), 120 s run: unchanged. ERROR agc_graphics.cpp:266 Sony call failed with code 8a6c9018 (the resource registration error, followed by the error dialog), then sceCoredumpWriteUserString not implemented. The pad stop after that (mode 3, ps5_controls.cpp:19) is still behind the first one, as in the report.

AI-assisted (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6113687542 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/3704#issuecomment-6113687542). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-11T20:59:09Z. --- Broken Sword Reforged (PPSA21480) on `main` (`0a8b1d32b`, plain main), 120 s run: unchanged. `ERROR agc_graphics.cpp:266 Sony call failed with code 8a6c9018` (the resource registration error, followed by the error dialog), then `sceCoredumpWriteUserString not implemented`. The pad stop after that (mode 3, `ps5_controls.cpp:19`) is still behind the first one, as in the report. AI-assisted (Claude Code).
adriadam10 commented 2026-10-11 22:14:32 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-11T22:14:32Z.


#3727 makes scePadSetVibrationMode accept mode 3; whether the title then gets past start-up is untested.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6114456438 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/3704#issuecomment-6114456438). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-11T22:14:32Z. --- #3727 makes scePadSetVibrationMode accept mode 3; whether the title then gets past start-up is untested.
oneandonlydean commented 2026-10-11 23:28:09 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-11T23:28:09Z.


Closing: #3727 accepts mode 3. The 8a6c9018 registration error and sceCoredumpWriteUserString come first for PPSA21480; please open an issue for the one that stops it on main.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6115105941 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/3704#issuecomment-6115105941). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-11T23:28:09Z. --- Closing: #3727 accepts mode 3. The `8a6c9018` registration error and `sceCoredumpWriteUserString` come first for PPSA21480; please open an issue for the one that stops it on main.
Sign in to join this conversation.
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#3704
No description provided.