feat(libSceSystemService): handle parameter 100 in sceSystemServiceParamGetInt #9591
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/9591"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by christophermonterocortes-cr on 2026-10-22T03:33:26Z.
What
In
core/libs/prx/libSceSystemService/Export.cpp, handle parameter 100 insceSystemServiceParamGetIntby writing 0 and returningSYSTEM_SERVICE_OK.SYSTEM_SERVICE_PARAM_ID_100 = 100inSystemService.hpp.sceSystemServiceParamGetIntwith default value 0, narrowing the registry-backed throwing range from 100–111 to 101–111.core/libs/tests/GuestSystemServiceLanguage.cppverifyingsceSystemServiceParamGetInt(SYSTEM_SERVICE_PARAM_ID_100, &value)returnsSYSTEM_SERVICE_OKand writes 0.docs/dev/debt/libSceSystemService.mdto document that parameter 100 writes 0.Tested
python tools/check_conventions.py --base upstream/main: All conventions checks passed.python -m unittest discover -s tools/tests -p "test_check_conventions*.py": all passed.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T03:41:44Z.
Review: CHANGES_REQUESTED
The implementation is internally consistent and the test covers the returned status, output value, and removal of parameter 100 from the throwing registry-backed range. The debt entry is narrowed accordingly. The open issue #9458 says the parameter's meaning and the console's answer are unknown; the report that a title once continued when the old default path wrote zero does not establish that zero is the correct general behavior. Please link primary evidence for this value (for example, a console observation or authoritative SDK/source evidence) before treating the return as implemented. Otherwise, keep the export throwing and record the investigation separately rather than converting the title's observed call into a general default.
The checklist also says
Unblocks: PPSA11386without a Game bring-up discussion number. The repository requires both the title ID and discussion link for this field. Please add the relevant discussion or change the checklist tononeif this does not unblock a reported stop.Eligibility, conventions, intake, labels, and report checks pass. Product build/test jobs are skipped. The convention unit tests listed in the description are author-reported; I did not run them locally.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T04:10:05Z.
Review: CHANGES_REQUESTED
The current implementation makes
sceSystemServiceParamGetInt(100)return success and write zero, but issue #9458 explicitly says the console meaning and answer for parameter 100 are unknown. The title continuing after the previous default path wrote zero establishes one observed caller outcome, not the general console contract this export must implement. Please provide primary evidence for the returned value (a console observation or authoritative SDK/source evidence), or keep the parameter throwing and leave the investigation unresolved until that evidence exists. The unit test currently codifies the unsupported value, so it should change with the implementation/evidence.The checklist has
Unblocks: PPSA11386without the required Game bring-up discussion. The matching discussion is #6722 (007 First Light, PPSA11386); please listUnblocks: PPSA11386 #6722if this is intended to fix the reported stop, otherwisenone.Imported from boykopovar/AnyPS5. Originally posted by Scramblrrrr on 2026-10-22T07:49:06Z.
Windows paired cross-test of #9591 head1c445538d, integrated on main
d6eafa54d(cc9da1ac6, later b36dea0ab with an unrelated host-import fix).guest_system_service_languagepasses with the fix, fails at the registry-backed parameter100 throw after rebuilding only libSceSystemService with main's Export.cpp, and passes after exact positive restoration (0.10s). Fixture EXE SHA256 stayed unchanged and the source hash was restored. The broader final integration has177passing native checks plus2expected skips; this is not a standalone full-suite run of this PR.Console provenance for the zero result is reported in #7965 (PS5 firmware13.40, measured2026-10-19 inside a retail process); those are @frankea's measurements, not ours. Please coordinate the overlapping parameter100 case. Current 007 Windows startup gets past these boot-library calls and is still compiling changed pipelines; no menu/gameplay/FPS claim yet.
AI-assisted: yes (Codex). Raw title data stays local.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T10:02:03Z.
Review: CHANGES_REQUESTED
The new evidence resolves my earlier question about the value: #7965 records a PS5 firmware 13.40 measurement from inside GT7 in which parameter 100 returned success and wrote 0. The independent Windows report also gives a red/green test on integrated current main
d6eafa54d(the exact fixture passes with this case and fails at the old throwing range without it). The implementation/test/debt changes in this PR match that measured case, and exact-head conventions plusgit diff --checkpass. Hosted policy checks pass; product build jobs are skipped. I did not rerun runtime tests locally.There is a direct duplicate implementation with open #7965: both add
SYSTEM_SERVICE_PARAM_ID_100, return 0, remove 100 from the throwing range, and update the same test/debt entries. Please coordinate with Frankea and the #7965 reviewers which PR lands first, and leave only one implementation of this case on main. If #9591 lands first, #7965 should drop/rebase its duplicate; if #7965 lands first, close this PR or make it a distinct remaining fix. Record aDepends ononly if the agreed plan truly stacks one on the other.The current head is 100 commits behind
main, so rebase and rerun the focused test after the integration order is settled. For the title checklist, the matching Game bring-up discussion is #5714 (007 First Light, PPSA11386); #6722 is Yakuza 0. Please linkUnblocks: PPSA11386 #5714if this resolves the parameter-100 boot stop and update that discussion's PR list. KeepFixes: #9458only while the issue still describes this exact remaining stop; #9459 has already addressed its earlier NetCtl stop.Pull request closed