Files
AnyPS5/docs/dev/debt/libSceNpGameIntent.md
T

3.4 KiB

libSceNpGameIntent technical debt

Silent stubs

Unknown function info

  • sceNpGameIntentReceiveIntent, sceNpGameIntentGetPropertyValueString (libSceNpGameIntent) - firmware 13.42 traces report 0x80553802 before sceNpGameIntentInitialize (precedence over argument validity), and 0x80553804 for invalid arguments (null pointer, empty key, or zero buffer size); sceNpGameIntentTerminate resetting initialized state is modeled lifecycle behavior rather than hardware-verified. sceNpGameIntentReceiveIntent reportedly requires info->size == 0x4140 on firmware 13.42, while AnyPS5 NpGameIntentInfo is 0x560 bytes (matching fpPS4) and set by sceNpGameIntentInfoInit, so initialized objects are rejected by the receiver's measured size guard. Complete retail layout, output field offsets, and retail behavior of sceNpGameIntentInfoInit are unverified; expanding the type with unverified reserved bytes is not an evidence-backed solution.
  • sceNpAppLauncherLaunchApp, sceNpGameIntentGetUdsNpComId, sceNpGameIntentLaunchApp, sceNpGameIntentLaunchApp2, sceNpGameIntentNotifyAppLaunched, sceNpSessionServiceGetJoinedPartySession, sceNpSessionServiceGetRunningGamePlayerSession and sceNpSessionServiceSendPlayerSessionInvitations (libSceNpGameIntent) - names and NIDs are present in the PS5 3.20 export inventory. Call sites in a title's executable give a partial prototype: sceNpAppLauncherLaunchApp takes (user_id, uri struct, context) and returns int — throws because no launcher-service semantics are derivable. The rest are declared without parameters solely to resolve known imports and make no ABI claim.
  • sceNpGameIntentInitParamInit (libSceNpGameIntent) - struct layout matches fpPS4 SceNpGameIntentInitParam; setting size, zeroing reserved bytes, and throwing on null pointer follow Sony SDK *ParamInit conventions but are unverified on retail hardware
  • sceNpGameIntentInfoInit (libSceNpGameIntent) - struct layout matches fpPS4 SceNpGameIntentInfo; setting size = 0x560, user_id = -1, zeroing fields, and throwing on null pointer follow fpPS4 defaults, but reported firmware 13.42 behavior requires 0x4140 for sceNpGameIntentReceiveIntent, so the helper's 0x560 size does not match retail receiver defaults; the complete retail structure layout and retail behavior of sceNpGameIntentInfoInit remain unverified