Add integrity check to PSN Content, DLC and Game Update files#18669
Add integrity check to PSN Content, DLC and Game Update files#18669digant73 wants to merge 12 commits into
Conversation
b2e4a8c to
5169625
Compare
5169625 to
b5841d3
Compare
|
Needs APIs to be implemented before merge |
|
How does this work exactly? I must be missing something here. The no-intro data contains hashes for the packages and licence files. The emulator only has installed games, not package files (installers). How can you verify the integrity of an installed game like that? |
Installed data cannot be verified even for ISO or JB format. |
|
Indeed, if it's for pkg installer validation, it should not be on the game list context menu, otherwise it's misleading, makes it seem like an integrity check of the installed game |
I provided |
|
Added fallback DB for |
Co-authored-by: Megamouse <[email protected]>
Co-authored-by: Megamouse <[email protected]>

NEW FEATURE
Follow up of #18555 and #18575 extending integrity check:
Add multi-package (selecting multiple files) integrity check on context menu for:
.pkg,.rap,.edat).pkg,.rap,.edat).pkg)NOTE: For
.pkgfile, the file type and so the related target DB (e.g.PSN Content,PSN DLCorPSN Update) is auto-detected parsing the file. File type for.rapand.edatfiles cannot be detected parsing the file. So, we instead check onPSN ContentDB first and if no match is found then check onPSN DLCDB as fallback DBAdd integrity DB download on context menu
Add support to integrity check also to BD drive
NOTE FOR MAIN DEVELOPERS
The following download links for the new databases have been configured:
psn_contentas prefix on the downloadedjsonfile)psn_dlcas prefix on the downloadedjsonfile)psn_updateas prefix on the downloadedjsonfile)As done for the Redump DB, those links must be activated on the site.
Attached the official DB files used for testing:
Old
iso_integrity.h/.cpprenamed tocontent_integrity.h/.cppOld
iso_validation.h/.cpprenamed tocontent_validation.h/.cppAdded
iso_cache.hunderLaodercategory (despite the.cppwas present,.hwas missing)closes #18575