feat(ces): implement sceCesUcsProfileInitSJis1997Cp932 #5153
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/5153"
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 Kikoarl on 2026-10-13T13:01:49Z.
What
Implement
sceCesUcsProfileInitSJis1997Cp932inlibSceCesCs.The function receives a pointer to a profile sheet, validates that it is non-null, and returns the sheet pointer to initialize Shift-JIS / CP932 profiles. The signature matches the Orbital IDA type database (
union* sceCesUcsProfileInitSJis1997Cp932(SceCesUcsProfileSheet* sheet)).Fixes fatal unresolved ELF import during Void Terrarium (
PPSA03061) startup:Unblocks: PPSA03061 #5055
Tested
libSceCesCs.prxandguest_ces_testsin RAM (/tmp/anyps5_build).ZiDCxUUGbecinlibSceCesCs.prxvianm -D.core/libs/tests/GuestCes.cppverifying non-null sheet return, null sheet rejection, and context initialization.guest_ces(100% passed).python3 tools/check_conventions.py --base origin/main --head HEADpassed with 0 errors.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 github-actions[bot] on 2026-10-13T13:02:32Z.
Progress report (
0f2683c→e5f0938)📈 System libraries: 87.83% (+0.01%, +1 implemented functions)
✅ 1 implemented
sceCesUcsProfileInitSJis1997Cp932Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-13T15:35:27Z.
Windows test: head
e5f093840merged onto currentmain60fb61870, together with 9 other open pull requests in one build (the merges were conflict-free); a failure would have been bisected per PR. Windows 10, MinGW GCC (WinLibs), Ninja Release,-j2: full build 0 errors; ctest for the tests this change adds or touches: guest_ces passed;python tools/check_conventions.py --base upstream/mainpassed for the combined tree. I did not run the new tests againstmainwithout the change.AI-assisted (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by Kikoarl on 2026-10-13T17:38:51Z.
Thanks @xXPBSXx for the Windows build and ctest verification.
Imported from boykopovar/AnyPS5. Originally posted by p3n1cillin on 2026-10-13T20:04:38Z.
Tested on Void Terrarium (PPSA03061): the export works, but on its own the game still stops on
unresolved ELF import ZiDCxUUGbec. The title'sDT_NEEDEDislibSceCesCs-module.prx, so it also needs #5425. With both PRs the import resolves; details in https://github.com/boykopovar/AnyPS5/issues/5055#issuecomment-6154121860Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-13T22:12:27Z.
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.
main)core/libs/tests/GuestCes.cppL108docs/dev/debt/libSceCesCs.mdL5core/libs/prx/libSceCesCs/Export.cppL117docs/dev/debt/libSceCesCs.mdL5Imported from boykopovar/AnyPS5. Originally posted by alexpournaras on 2026-10-13T22:42:07Z.
Confirmed with Call of Duty: Black Ops (PPSA34501).
Without sceCesUcsProfileInitSJis1997Cp932 the game does not start:
FAIL: unresolved ELF import ZiDCxUUGbecWith this PR applied that import resolves, and the game moves further.