feat(libSceNgs2): build libSceNgs2 from the libSceNgs2.native implementation #962
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/962"
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 JAB-dev on 2026-10-06T20:25:22Z.
What
#247 reduced
libSceNgs2toAPS5_DUMMY_FUN, following the review in #228: "if a game imports libSceAjm, it also imports libSceAjm.native … In the case of Font, a game was indeed found that only loads one of them." NGS2 is such a case.libSceNgs2.prxinDT_NEEDEDwithoutlibSceNgs2.native.prx. PPSA22520 does, while importinglibSceSaveData.native.prxandlibSceSaveDataDialog.native.prxunder their.nativenames.FAIL: unresolved ELF import i0VnXM-C9fc(sceNgs2SystemRender).This follows the Font precedent:
libSceNgs2.native/Ngs2Library.cmakedefinesadd_sce_ngs2_library(target)with the source list, include directories,atrac9link and visibility settings, asFontLibrary.cmakedoes forlibSceFontandlibSceFont.native.libSceNgs2/Export.cpp(the dummy) is removed.ngs2_core_renderruns the render suite againstlibSceNgs2to show the unsuffixed module loads and renders. The other suites stay on.native, since the code is the same.Tested
ngs2_core_renderand the.nativesuites pass. Both PRX files are NID-patched.main): 358/358.savedata_memory_metadata, which this PR doesn't touch, failed once under-j4and passed on three reruns, as it does onmain.libSceNgs2.prxand startup continues to the next missing pieces.Ngs2Library.cmake, so whichever merges second needs a one-line rebase.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-07T00:44:32Z.
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/prx/libSceNgs2.native/CMakeLists.txtL1-20