Skip to content

feat(libSceUserService): add status and first 137 getter export placeholders - #13422

Closed
Celegans12 wants to merge 1 commit into
boykopovar:mainfrom
Celegans12:feat/userservice-getter-inventory-exports-20261030
Closed

Celegans12 wants to merge 1 commit into
boykopovar:mainfrom
Celegans12:feat/userservice-getter-inventory-exports-20261030

Conversation

@Celegans12

Copy link
Copy Markdown
Contributor

What

Adds 150 throwing export placeholders to libSceUserService: the 13 lifecycle and status exports (sceUserServiceLogin, sceUserServiceIsLoggedIn, sceUserServiceRegisterEventCallback and others) and the first 137 of the 257 getters, alphabetically, that the PS5 13.60 export inventory names and main does not define. The remaining getters and the 242 setters follow in later PRs to stay under 150 stubs per PR. Each NID was recomputed from its name and is listed for libSceUserService in the pinned ps5-nid-map module map. Signatures are unknown, so each placeholder is a parameterless int that throws through NotImplemented_nid_no_patch, and docs/dev/debt/libSceUserService.md records the gap.

Tested

Not tested on a title. python3 tools/check_conventions.py --base origin/main passes, and clang++ -std=c++20 -fsyntax-only on the library's Export.cpp is clean. Searched main and the heads of PRs #11000 to #13406 for the names and NIDs, and none define them.

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 under Silent stubs in their library's technical debt file
  • 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
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes

@github-actions

Copy link
Copy Markdown

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
PR 6584 core/libs/prx/libSceUserService/Export.cpp L364 sceUserServiceDestroyUser
sceUserServiceGetA11yControllerADeviceUniqueIds
sceUserServiceGetA11yControllerAName
sceUserServiceGetA11yControllerBDeviceUniqueIds
sceUserServiceGetA11yControllerBName
sceUserServiceGetA11yControllerInitialSetupProgress
sceUserServiceGetA11yControllerLedBrightness
sceUserServiceGetAccessibilityKeyremapData
sceUserServiceGetAccessibilityKeyremapDataAston
sceUserServiceGetAccessibilityKeyremapEnableAston
sceUserServiceGetAccountRemarks
sceUserServiceGetAgeVerified
sceUserServiceGetAppSortOrder
sceUserServiceGetAppearOfflineSetting
sceUserServiceGetAutoLoginEnabled
sceUserServiceGetCaptureStatus
sceUserServiceGetCaptureStatus2
sceUserServiceGetCaptureStatus3
sceUserServiceGetChatStatus
sceUserServiceGetControlCenterFunctionControlSettings
sceUserServiceGetControlCenterStatus
sceUserServiceGetCreatedVersion
sceUserServiceGetCurrentUserGroupIndex
sceUserServiceGetDefaultNewUserGroupName
sceUserServiceGetDeletedUserInfo
sceUserServiceGetDiscPlayerFlag
sceUserServiceGetEventCalendarType
sceUserServiceGetEventFilterTeamEvent
sceUserServiceGetEventSortEvent
sceUserServiceGetEventSortTitle
sceUserServiceGetEventUiFlag
sceUserServiceGetEventVsh
sceUserServiceGetFaceRecognitionDeleteCount
sceUserServiceGetFaceRecognitionRegisterCount
sceUserServiceGetFriendCustomListLastFocus
sceUserServiceGetFriendFlag
sceUserServiceGetGazeActivate
sceUserServiceGetGazeCalibData
sceUserServiceGetGlsAccessTokenNiconicoLive
sceUserServiceGetGlsAccessTokenTwitch
sceUserServiceGetGlsAccessTokenUstream
sceUserServiceGetGlsAnonymousUserId
sceUserServiceGetGlsBcTags
sceUserServiceGetGlsBcTitle
sceUserServiceGetGlsBroadcastChannel
sceUserServiceGetGlsBroadcastService
sceUserServiceGetGlsBroadcastUiLayout
sceUserServiceGetGlsBroadcastersComment
sceUserServiceGetGlsBroadcastersCommentColor
sceUserServiceGetGlsCamCrop
sceUserServiceGetGlsCameraBgFilter
sceUserServiceGetGlsCameraBrightness
sceUserServiceGetGlsCameraChromaKeyLevel
sceUserServiceGetGlsCameraContrast
sceUserServiceGetGlsCameraDepthLevel
sceUserServiceGetGlsCameraEdgeLevel
sceUserServiceGetGlsCameraEffect
sceUserServiceGetGlsCameraEliminationLevel
sceUserServiceGetGlsCameraPosition
sceUserServiceGetGlsCameraReflection
sceUserServiceGetGlsCameraSize
sceUserServiceGetGlsCameraTransparency
sceUserServiceGetGlsCommunityId
sceUserServiceGetGlsFloatingMessage
sceUserServiceGetGlsHintFlag
sceUserServiceGetGlsInitSpectating
sceUserServiceGetGlsIsCameraHidden
sceUserServiceGetGlsIsFacebookEnabled
sceUserServiceGetGlsIsMuteEnabled
sceUserServiceGetGlsIsRecDisabled
sceUserServiceGetGlsIsRecievedMessageHidden
sceUserServiceGetGlsIsTwitterEnabled
sceUserServiceGetGlsLanguageFilter
sceUserServiceGetGlsLfpsSortOrder
sceUserServiceGetGlsLiveQuality
sceUserServiceGetGlsLiveQuality2
sceUserServiceGetGlsLiveQuality3
sceUserServiceGetGlsLiveQuality4
sceUserServiceGetGlsLiveQuality5
sceUserServiceGetGlsMessageFilterLevel
sceUserServiceGetGlsOverlayPosition
sceUserServiceGetGlsStreamingMode
sceUserServiceGetGlsTtsFlags
sceUserServiceGetGlsTtsPitch
sceUserServiceGetGlsTtsSpeed
sceUserServiceGetGlsTtsVolume
sceUserServiceGetHearingAssistAdjustmentLevelLeft
sceUserServiceGetHearingAssistAdjustmentLevelRight
sceUserServiceGetHearingAssistAudiogramData
sceUserServiceGetHearingAssistMakeVoicesClearer
sceUserServiceGetHearingAssistPresetType
sceUserServiceGetHearingAssistSeparateLR
sceUserServiceGetHearingAssistUseAudiogramData
sceUserServiceGetHearingAssistUsePreset
sceUserServiceGetHearingAssistWeakenAdjustment
sceUserServiceGetHintShowFlag
sceUserServiceGetHintShowFlag2
sceUserServiceGetHintShowFlag3
sceUserServiceGetHmd2Brightness
sceUserServiceGetHmd2CinematicAudioRotation
sceUserServiceGetHmd2GazeActivate
sceUserServiceGetHmd2GazeTarget
sceUserServiceGetHmd2HideCameraImage
sceUserServiceGetHmd2MuteAssign
sceUserServiceGetHmd2PlayAreaShape
sceUserServiceGetHmd2ScreenSize
sceUserServiceGetHmd2Vibration
sceUserServiceGetHmuBrightness
sceUserServiceGetHmuZoom
sceUserServiceGetHoldAudioOutDevice
sceUserServiceGetHomeDirectory
sceUserServiceGetHrtf
sceUserServiceGetIPDLeft
sceUserServiceGetIPDRight
sceUserServiceGetImeInputSettings
sceUserServiceGetImeInputType
sceUserServiceGetImeLastUnit
sceUserServiceGetImePointerMode
sceUserServiceGetIsCronosEnabled
sceUserServiceGetIsFakePlus
sceUserServiceGetIsFakePremium
sceUserServiceGetIsHrtfEnabled
sceUserServiceGetIsPersonalizedHrtfEnabled
sceUserServiceGetIsQuickSignup
sceUserServiceGetIsRemotePlayAllowed
sceUserServiceGetIsSpartacusEnabled
sceUserServiceGetKeyRepeatSpeed
sceUserServiceGetKeyRepeatStartingTime
sceUserServiceGetKratosPrimaryUser
sceUserServiceGetLastLoginOrder
sceUserServiceGetLightBarBaseBrightness
sceUserServiceGetLoginFlag
sceUserServiceGetMicLevel
sceUserServiceGetMonoOutput
sceUserServiceGetMouseHandType
sceUserServiceGetMousePointerSpeed
sceUserServiceGetNotificationBehavior
sceUserServiceGetNotificationSettings
sceUserServiceIsGuestUser
sceUserServiceIsKratosPrimaryUser
sceUserServiceIsKratosUser
sceUserServiceIsLoggedIn
sceUserServiceIsLoggedInWithoutLock
sceUserServiceIsSharePlayClientUser
sceUserServiceIsUserStorageAccountBound
sceUserServiceLogin
sceUserServiceLogout
sceUserServiceRegisterEventCallback
sceUserServiceUnregisterEventCallback
sceUserServiceUpdateCronosCountryList
PR 12860 docs/dev/debt/libSceUserService.md L14

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 9345 core/libs/prx/libSceUserService/Export.cpp
core/libs/prx/libSceUserService/UserService.hpp

@oneandonlydean

Copy link
Copy Markdown
Collaborator

@Celegans12 Thanks for the careful work on these: I recomputed all 150 NIDs from the names against the 13.60 export inventory and they are correct, none collide with anything on main, and the header declarations match.

The problem is overlap: every one of the 150 names is already added by #6584 (open since 15 Oct, 515 libSceUserService stubs including all of these, clean with main). That PR is older than the #11000 to #13406 range the description says was searched, so it was missed. The two cannot both land: they define the same functions in Export.cpp and UserService.hpp, and a trial merge of the two conflicts in Export.cpp.

Please check with the author of #6584 and either close this PR, or, if you want the remaining getters and setters, wait until #6584 lands and then send only the names it does not define. Which of the two lands first is for the maintainers to decide; this PR should not go in alongside it as it stands.

@github-actions

Copy link
Copy Markdown

Progress report (d6401d7 → a28a4ac)

📉 System libraries: 27.08% (-0.16%, +150 declared functions)

🆕 150 declared as stubs
Library Name
libSceUserService sceUserServiceDestroyUser
libSceUserService sceUserServiceGetA11yControllerADeviceUniqueIds
libSceUserService sceUserServiceGetA11yControllerAName
libSceUserService sceUserServiceGetA11yControllerBDeviceUniqueIds
libSceUserService sceUserServiceGetA11yControllerBName
libSceUserService sceUserServiceGetA11yControllerInitialSetupProgress
libSceUserService sceUserServiceGetA11yControllerLedBrightness
libSceUserService sceUserServiceGetAccessibilityKeyremapData
libSceUserService sceUserServiceGetAccessibilityKeyremapDataAston
libSceUserService sceUserServiceGetAccessibilityKeyremapEnableAston
libSceUserService sceUserServiceGetAccountRemarks
libSceUserService sceUserServiceGetAgeVerified
libSceUserService sceUserServiceGetAppSortOrder
libSceUserService sceUserServiceGetAppearOfflineSetting
libSceUserService sceUserServiceGetAutoLoginEnabled
libSceUserService sceUserServiceGetCaptureStatus
libSceUserService sceUserServiceGetCaptureStatus2
libSceUserService sceUserServiceGetCaptureStatus3
libSceUserService sceUserServiceGetChatStatus
libSceUserService sceUserServiceGetControlCenterFunctionControlSettings
libSceUserService sceUserServiceGetControlCenterStatus
libSceUserService sceUserServiceGetCreatedVersion
libSceUserService sceUserServiceGetCurrentUserGroupIndex
libSceUserService sceUserServiceGetDefaultNewUserGroupName
libSceUserService sceUserServiceGetDeletedUserInfo
libSceUserService sceUserServiceGetDiscPlayerFlag
libSceUserService sceUserServiceGetEventCalendarType
libSceUserService sceUserServiceGetEventFilterTeamEvent
libSceUserService sceUserServiceGetEventSortEvent
libSceUserService sceUserServiceGetEventSortTitle
libSceUserService sceUserServiceGetEventUiFlag
libSceUserService sceUserServiceGetEventVsh
libSceUserService sceUserServiceGetFaceRecognitionDeleteCount
libSceUserService sceUserServiceGetFaceRecognitionRegisterCount
libSceUserService sceUserServiceGetFriendCustomListLastFocus
libSceUserService sceUserServiceGetFriendFlag
libSceUserService sceUserServiceGetGazeActivate
libSceUserService sceUserServiceGetGazeCalibData
libSceUserService sceUserServiceGetGlsAccessTokenNiconicoLive
libSceUserService sceUserServiceGetGlsAccessTokenTwitch
libSceUserService sceUserServiceGetGlsAccessTokenUstream
libSceUserService sceUserServiceGetGlsAnonymousUserId
libSceUserService sceUserServiceGetGlsBcTags
libSceUserService sceUserServiceGetGlsBcTitle
libSceUserService sceUserServiceGetGlsBroadcastChannel
libSceUserService sceUserServiceGetGlsBroadcastService
libSceUserService sceUserServiceGetGlsBroadcastUiLayout
libSceUserService sceUserServiceGetGlsBroadcastersComment
libSceUserService sceUserServiceGetGlsBroadcastersCommentColor
libSceUserService sceUserServiceGetGlsCamCrop
libSceUserService sceUserServiceGetGlsCameraBgFilter
libSceUserService sceUserServiceGetGlsCameraBrightness
libSceUserService sceUserServiceGetGlsCameraChromaKeyLevel
libSceUserService sceUserServiceGetGlsCameraContrast
libSceUserService sceUserServiceGetGlsCameraDepthLevel
libSceUserService sceUserServiceGetGlsCameraEdgeLevel
libSceUserService sceUserServiceGetGlsCameraEffect
libSceUserService sceUserServiceGetGlsCameraEliminationLevel
libSceUserService sceUserServiceGetGlsCameraPosition
libSceUserService sceUserServiceGetGlsCameraReflection
libSceUserService sceUserServiceGetGlsCameraSize
libSceUserService sceUserServiceGetGlsCameraTransparency
libSceUserService sceUserServiceGetGlsCommunityId
libSceUserService sceUserServiceGetGlsFloatingMessage
libSceUserService sceUserServiceGetGlsHintFlag
libSceUserService sceUserServiceGetGlsInitSpectating
libSceUserService sceUserServiceGetGlsIsCameraHidden
libSceUserService sceUserServiceGetGlsIsFacebookEnabled
libSceUserService sceUserServiceGetGlsIsMuteEnabled
libSceUserService sceUserServiceGetGlsIsRecDisabled
libSceUserService sceUserServiceGetGlsIsRecievedMessageHidden
libSceUserService sceUserServiceGetGlsIsTwitterEnabled
libSceUserService sceUserServiceGetGlsLanguageFilter
libSceUserService sceUserServiceGetGlsLfpsSortOrder
libSceUserService sceUserServiceGetGlsLiveQuality
libSceUserService sceUserServiceGetGlsLiveQuality2
libSceUserService sceUserServiceGetGlsLiveQuality3
libSceUserService sceUserServiceGetGlsLiveQuality4
libSceUserService sceUserServiceGetGlsLiveQuality5
libSceUserService sceUserServiceGetGlsMessageFilterLevel
libSceUserService sceUserServiceGetGlsOverlayPosition
libSceUserService sceUserServiceGetGlsStreamingMode
libSceUserService sceUserServiceGetGlsTtsFlags
libSceUserService sceUserServiceGetGlsTtsPitch
libSceUserService sceUserServiceGetGlsTtsSpeed
libSceUserService sceUserServiceGetGlsTtsVolume
libSceUserService sceUserServiceGetHearingAssistAdjustmentLevelLeft
libSceUserService sceUserServiceGetHearingAssistAdjustmentLevelRight
libSceUserService sceUserServiceGetHearingAssistAudiogramData
libSceUserService sceUserServiceGetHearingAssistMakeVoicesClearer
libSceUserService sceUserServiceGetHearingAssistPresetType
libSceUserService sceUserServiceGetHearingAssistSeparateLR
libSceUserService sceUserServiceGetHearingAssistUseAudiogramData
libSceUserService sceUserServiceGetHearingAssistUsePreset
libSceUserService sceUserServiceGetHearingAssistWeakenAdjustment
libSceUserService sceUserServiceGetHintShowFlag
libSceUserService sceUserServiceGetHintShowFlag2
libSceUserService sceUserServiceGetHintShowFlag3
libSceUserService sceUserServiceGetHmd2Brightness
libSceUserService sceUserServiceGetHmd2CinematicAudioRotation
... 50 more

Changed libraries (implemented exports)

Library Before After Change
libSceUserService 24/26 (92.31%) 24/176 (13.64%) -78.67%

@adriadam10 adriadam10 self-assigned this Oct 30, 2026
@adriadam10

Copy link
Copy Markdown
Collaborator

Closing: every export this PR adds (all 150 names) is already added by the older open #6584, as @oneandonlydean noted, and the two conflict in Export.cpp and UserService.hpp, so they cannot both land. The overlap is the whole PR, so there is nothing to split off.

If the remaining getters or setters are still wanted, please send only the names #6584 does not define once it has landed, and reopen or open a new PR then. #13438 is stacked on this one and has the same overlap.

@adriadam10 adriadam10 closed this Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants