docs(libSceNpTrophy2): record that the skipped count statistics drive only auto-generated unlock trophies #14935
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/14935"
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 JJenkx on 2026-11-02T01:52:57Z.
What
The "Trophy progress statistics" entry in
docs/dev/debt/libSceNpTrophy2.mdends with "(whether a trophy names one is not checked)", about trophies that name a statistic AnyPS5 skips: aggregationcount,collectionoreachLatest. This PR checks it and records the result in a new entry. The existing entry is unchanged.Result, over the packages of 96 extracted titles (94 with an affected trophy):
countstatistic:definitionGroupautoGenTrophy,statName_autoGenTrophy_NNNN,maxValue1, with the trophy's comparatorgeand target 1._UnlockTrophywhose condition is$._trophy_id ==that trophy's own id.unlockCondition.progressivetrue (grades B, G and S only), soPostedUnlockRefusalaccepts each, and the direct unlock applies.collection,eachLatestorsumstatistic.sceNpUniversalDataSystemPostEventalready turns an_UnlockTrophyevent into an unlock directly (the "Trophy events" entry inlibSceNpUniversalDataSystem.md). So in these titles, the skippedcountrules change no trophy. The[trophy] ... aggregation "count"lines, which appear for almost every title, describe rules whose effect is already covered. A title with a trophy that counts other events would still not progress; none of the 96 has one.Tested
A read-only Python script over each title's
sce_sys/uds/*.ucpandsce_sys/trophy2/*.ucp. It reads the UCP container asReadUcpdoes: magic0xB228C60A, a big-endian table of 0x40-byte entries. It takes:statIdandaggregationfromstats_definition.json;udsStatIdfromtropconf.json;stats_extraction.json.udsStatIdis a string ("62") andstatIda number, so both are compared as integers.The 94 titles span PPSA01341 to PPSA36257, mostly Unity, UE4 and UE5 titles. 94 of the 96 have at least one such trophy. The script and its output are in the review reply.
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)