Commit Graph
133 Commits
Author SHA1 Message Date
Yunus Shaikh 1928c54b4f fix(libSceSystemService): return firmware 13.42's results for the arguments it checks before a request
BunnyFl ran firmware 13.42's libSceSystemService.sprx in an emulator and
recorded the checks these calls make before they pass a request on. A
null title ID or one whose length isn't 9 makes sceSystemServiceGetAppId
and sceLncUtilGetAppId return -1 and sceLncUtilIsAppLaunched return
0x80940005. A null output, list, count or user returns 0x80940005 from
the LncUtil and SystemService calls and 0x80e30003 from
sceShellCoreUtilGetUserFocus, before the app ID is looked at, and a null
sceLncUtilLoadExec path returns 0x80940005.

What the module passes on as a request still throws: another
9-character title ID, another app ID, a list capacity of 0 and an empty
sceLncUtilLoadExec path.
2026-10-25 14:15:27 -07:00
Yunus Shaikh 7a4b965d6f feat(libSceSystemService): forward sceLncUtilLoadExec to sceSystemServiceLoadExec
sceLncUtilLoadExec takes the same path and null-terminated argument
list, which the SystemService call passes on to it on the console. It
returns sceSystemServiceLoadExec's result: the same parameter errors,
the same refusals for paths it cannot start, and "exit" ends the title
in the same way.
2026-10-25 00:15:25 +00:00
Yunus Shaikh c2eb0a2404 feat(libSceSystemService): report the running title as not suspended
sceLncUtilIsAppSuspended, sceSystemServiceIsAppSuspended and
sceLncUtilIsSpeculativeLaunch write false for the running title's app
ID. The title that calls them is running and has no shell to suspend
it. It was started from the host rather than by sceLncUtilLaunchApp,
so no LncLaunchParam asked for a speculative launch. Another app ID
and a null output still throw.
2026-10-25 00:15:25 +00:00
Yunus Shaikh f5afb8755c feat(libSceSystemService): report the running title's user
sceLncUtilGetAppLaunchedUser, sceSystemServiceGetAppLaunchedUser and
sceShellCoreUtilGetUserFocus write the initial user for the running
title's app ID. That is the user sceUserServiceGetInitialUser and
sceUserServiceGetForegroundUser report. Another app ID and a null user
pointer still throw.
2026-10-25 00:15:25 +00:00
Yunus Shaikh 695041093b feat(libSceSystemService): answer the running title's app ID lookups
sceLncUtilGetAppId and sceLncUtilIsAppLaunched accept the running
title's ID as sceSystemServiceGetAppId does, and
sceLncUtilGetAppIdOfRunningBigApp returns what
sceSystemServiceGetAppIdOfRunningBigApp returns. Both big-app lists
write the running title's app ID as their only entry, because AnyPS5
runs one title. Another title ID, a null pointer and a list capacity of
0 still throw.
2026-10-25 00:15:25 +00:00
boykopovar fdf9ca7574 fix(sdk): reconcile public headers after rebase 2026-10-24 23:17:47 +03:00
boykopovar 35cf8d56cd refactor(sdk): add canonical headers for core libraries 2026-10-24 23:17:37 +03:00
Adrià a5f13b3fd4 Merge pull request #8354 from MarrasFederico/feat/system-service-app-title-id
feat(libSceSystemService): convert between the running title's app id and title id
2026-10-24 13:53:37 +02:00
frankea 56dfc1327e fix(libSceSystemService): answer the registry-backed integer parameters with values measured on a PS5 2026-10-23 04:36:58 -04:00
Dean e14bb6f532 Merge pull request #8957 from dantdmdarealguy/test/loadexec-tracy-client
test(libSceSystemService): stage the Tracy client with the loadexec_arguments libraries
2026-10-23 14:00:20 +13:00
Dean 6a6a35fdf5 Merge pull request #7965 from frankea/ps5-measured-1340
fix(libs): values measured on a PS5 (firmware 13.40) from inside retail games
2026-10-23 06:18:10 +13:00
Federico Marras 06f25300f9 Merge commit '3ca07d086d5f44fbe3c00370e7f03953ab46ca1b' into feat/system-service-app-title-id 2026-10-22 15:43:43 +02:00
Yossi Yadgar 13d3ef8080 feat(libSceSystemService): report no background music in sceShellCoreUtilIsBgmPlaying 2026-10-22 08:25:30 +03:00
Yossi Yadgar a946073ce1 feat(libSceSystemService): report no background music in sceSystemServiceIsBgmPlaying 2026-10-22 08:25:24 +03:00
Federico Marras e0e231ef3f Merge remote-tracking branch 'upstream/main' into feat/system-service-app-title-id
# Conflicts:
#	core/libs/prx/libSceSystemService/PendingExports.cpp
#	docs/dev/debt/libSceSystemService.md
2026-10-22 07:08:48 +02:00
frankea 41d551eb60 Merge branch 'main' of https://github.com/boykopovar/AnyPS5 into ps5-measured-1340
# Conflicts:
#	core/libs/prx/libSceSystemService/Export.cpp
2026-10-21 17:37:31 -04:00
boykopovar b35e344585 fix(systemservice): restore browser launch signature and validation 2026-10-21 21:54:54 +03:00
boykopovar 991efec086 fix(systemservice): restore tournament and daemon argument slots 2026-10-21 21:53:08 +03:00
boykopovar b167045830 fix(systemservice): recover activation handles and device argument types 2026-10-21 21:49:56 +03:00
boykopovar 50c8103af2 fix(systemservice): recover launch and process status structures 2026-10-21 21:49:56 +03:00
boykopovar 67ff7609c2 fix(systemservice): define application message payload layout 2026-10-21 21:49:55 +03:00
boykopovar 1db52e3e40 fix(systemservice): reject unsupported integer parameters 2026-10-21 21:49:54 +03:00
boykopovar 9e94b0cb71 fix(systemservice): define launch and microphone status layouts 2026-10-21 21:49:54 +03:00
boykopovar a8cb8345cd fix(systemservice): validate system name buffers and termination 2026-10-21 21:49:53 +03:00
boykopovar 28fdabd59c fix(systemservice): restore float progress returns and clock arguments 2026-10-21 21:49:53 +03:00
boykopovar 9b8c8e51d5 fix(usbstorage): restore mapping callbacks and system service aliases 2026-10-21 21:49:52 +03:00
boykopovar 4e9520a9db fix(systemservice): restore state manager and modal arguments 2026-10-21 21:49:52 +03:00
boykopovar 32b7c50240 fix(systemservice): restore process control and telemetry arguments 2026-10-21 21:49:51 +03:00
boykopovar d4f2911b74 fix(systemservice): restore collapsed launcher dispatch arguments 2026-10-21 21:49:51 +03:00
boykopovar c9c8675b1d fix(systemservice): restore assembly alias signatures 2026-10-21 21:49:50 +03:00
boykopovar 46e9270dc4 fix(systemservice): restore public query payload signatures 2026-10-21 21:49:50 +03:00
boykopovar 2386ab8e84 fix(systemservice): restore activation handles and process signatures 2026-10-21 21:49:49 +03:00
boykopovar 797fb303c5 fix(systemservice): restore error dialog layout and event arguments 2026-10-21 21:49:45 +03:00
boykopovar a1e95b92ed fix(systemservice): restore shell state setter arguments 2026-10-21 21:49:44 +03:00
boykopovar c1843d1350 fix(systemservice): restore notification and error report arguments 2026-10-21 21:49:44 +03:00
boykopovar 315c4b65a1 fix(systemservice): restore shell navigation and mount arguments 2026-10-21 21:49:43 +03:00
boykopovar d34675bb21 fix(systemservice): restore telemetry and user query signatures 2026-10-21 21:49:42 +03:00
boykopovar 8b48df0b92 fix(systemservice): restore account and display query arguments 2026-10-21 21:49:41 +03:00
boykopovar 0d911b3aec fix(systemservice): restore storage and hid query signatures 2026-10-21 21:49:41 +03:00
boykopovar c13664d573 fix(systemservice): restore shell query outputs and string buffers 2026-10-21 21:49:40 +03:00
boykopovar 0cdc168bc3 fix(systemservice): restore shell application data signatures 2026-10-21 21:49:39 +03:00
boykopovar bad5fb14a2 fix(systemservice): restore launcher lifecycle arguments 2026-10-21 21:49:39 +03:00
boykopovar 85b972ee40 fix(systemservice): restore launcher query output types 2026-10-21 21:49:38 +03:00
boykopovar 1c2ed0446c fix(systemservice): restore launcher process and status signatures 2026-10-21 21:49:38 +03:00
boykopovar ef071a8a63 fix(systemservice): restore app messaging signatures 2026-10-21 21:49:37 +03:00
Federico Marras 93fb6293c4 Merge remote-tracking branch 'upstream/main' into feat/system-service-app-title-id
# Conflicts:
#	docs/dev/debt/libSceSystemService.md
2026-10-21 13:09:18 +02:00
frankea 43e5ca6edb Merge branch 'main' of https://github.com/boykopovar/AnyPS5 into ps5-measured-1340
# Conflicts:
#	docs/dev/debt/libSceAgcDriver.md
2026-10-21 03:48:32 -04:00
Dean 71401e331c Merge pull request #8303 from hypermoist/fix/systemservice-console-results
fix(libSceSystemService): return what the firmware returns from 26 calls it does not implement
2026-10-21 20:41:03 +13:00
frankea 15ed39fb98 Merge branch 'main' of https://github.com/boykopovar/AnyPS5 into ps5-measured-1340
# Conflicts:
#	docs/dev/debt/libSceSystemService.md
2026-10-21 03:30:24 -04:00
dantdmdarealguy a3dee63e26 test(libSceSystemService): stage the Tracy client with the loadexec_arguments libraries
With APS5_ENABLE_TRACY=ON libSceAgcDriver.prx imports libTracyClient.dll.
The test copies the libraries it is given into its own libs/ directory,
so on Windows the relinked app fails to load guest_loadexec_host.prx
with error 126. Pass the Tracy client along with the other libraries
when it is built.
2026-10-21 02:13:58 -05:00