fix(libSceNgs2): support custom filter type 0 in Ngs2ApplyCustomParam #5898
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/5898"
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 mohammad-alosta on 2026-10-14T15:04:55Z.
What
NGS2 custom filters currently reject type
0, which stops Dead Cells (PPSA15552) after the custom sampler rack startup. This happens only after the listener-transform support from the earlier PR #5810 .This change supports type
0by clearing the destination filter, matching the existing sampler filter convention. Type1continues to configure the RBJ low-pass biquad frequency, Q and level. Other unsupported filter types still throw.Changed files:
core/libs/prx/libSceNgs2.native/src/Custom.cppdocs/dev/debt/libSceNgs2.native.mdTested
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ONngs2_custom_testsctest --test-dir build -R '^ngs2_custom$' --output-on-failurengs2_custompassed (100% tests passed, 0 failures)cmake --build build --target libsfor game testing.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-15T12:11:17Z.
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)docs/dev/debt/libSceNgs2.native.mdL28-29docs/dev/debt/libSceNgs2.native.mdL27-30Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
docs/dev/debt/libSceNgs2.native.mddocs/dev/debt/libSceNgs2.native.mdImported from boykopovar/AnyPS5. Originally posted by notaxeltv on 2026-10-15T20:38:07Z.
Verified on PPSA15552 (Dead Cells): with this change alone the title gets past custom filter type 0; next stop on current main (+ #5810 listener transforms) is
sceNgs2GeomApply not implemented(#5974).Imported from boykopovar/AnyPS5. Originally posted by mohammad-alosta on 2026-10-15T22:48:14Z.
Rebased onto current main. Tests and convention checks still pass.
AI-assisted
Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-16T18:33:24Z.
Checked the diff against
Ngs2SetFilter: type 0 already clears the filter there (Voice.cpp), so the custom path now matches the sampler convention; type 1 and other types are unchanged. Build and the Ngs2 ctest set pass, and @notaxeltv confirmed Dead Cells gets past this call.Added one commit on your branch: a test in
Ngs2Custom.cpppinning that an unsupported type (2) still throws and that type 0 after type 1 renders unfiltered output. It fails without theCustom.cppchange. Merging once CI is green.