Commit Graph
8 Commits
Author SHA1 Message Date
Dean b6e3f68173 Merge pull request #11371 from Terminev/feat/npwebapi-response-reads
feat(libSceNpWebApi): return the measured errors from ReadData and the header getters
2026-11-02 10:50:10 +13:00
KernelPanicNT 7a0fe8bde1 feat(libSceNpWebApi): implement handle aborts, request options and timeouts
Give sceNpWebApiAbortHandle, sceNpWebApiAddHttpRequestHeader,
sceNpWebApiCheckTimeout, sceNpWebApiCreateMultipartRequest,
sceNpWebApiSendRequest2, sceNpWebApiSetHandleTimeout,
sceNpWebApiSetMultipartContentType and sceNpWebApiSetRequestTimeout
their prototypes and the offline behaviour of the existing model.

Requests keep a multipart flag and a timeout whose timer starts on the
first send; CheckTimeout aborts expired requests at most once per
millisecond. The timeout unit is unverified: shadPS4 logs it as
milliseconds but adds it to microsecond process time, which is what
is done here. Handles created from SDK 3.00 get a timer slot. Headers
and multipart content types are validated and dropped, since nothing
is sent. Multipart parts and UtilityParseNpId still throw.
2026-10-30 15:29:17 +00:00
ntamas94andClaude Opus 5.5 51a08caab8 test(libSceNpWebApi): pin method 99 at SDK 5.05 and name the 2.50 source
Adds the measured row to guest_np_web_api (method 99 at SDK version
0x05050001 is INVALID_ARGUMENT and leaves the request id alone), as
rooklz suggested in review, and says in the debt entry that the 2.50
threshold comes from shadPS4.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-29 16:12:10 +01:00
AlexandreandClaude Opus 5.5 a7b51a0b88 feat(libSceNpWebApi): return the measured errors from ReadData and the header getters
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RoucYS7mQpV23WDUEwXLuU
2026-10-27 11:02:18 +01:00
AlexandreandClaude Opus 5.5 0435d0b254 test(libSceNpWebApi): pin the results measured on a PS4 Pro
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RoucYS7mQpV23WDUEwXLuU
2026-10-25 17:40:59 +01:00
AlexandreandClaude Opus 5.5 c889c1c742 feat(libSceNpWebApi): add user contexts, requests and push event callbacks offline
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RoucYS7mQpV23WDUEwXLuU
2026-10-25 17:40:59 +01:00
boykopovar f38d29fd08 refactor(sdk): add canonical headers for remaining libraries 2026-10-24 23:17:42 +03:00
Get-fix f04d16d702 feat: PS4 NpTrophy, save data v1, NpWebApi offline and Limbo's other imports
NpTrophy reads the trophy count and icons from the title's trophy
package (names are encrypted and stay not implemented), PS4 v1 save data
calls wrap the native v2/v3 ones, and NpWebApi library contexts, handles
and push event filters work offline (service filters fail without a
signed-in user). libSceAjm is built from the libSceAjm.native sources
for PS4 titles. Limbo's (CUSA01664) remaining PS4 imports, including the
synchronous PS4 TUS calls and the Facebook dialog calls next to the
existing libraries, are exported as not implemented.
2026-10-22 00:35:09 +03:00