Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add integrity check to PSN Content, DLC and Game Update files#18669

Draft
digant73 wants to merge 12 commits into
RPCS3:masterfrom
digant73:add_content_integrity_check
Draft

Add integrity check to PSN Content, DLC and Game Update files#18669
digant73 wants to merge 12 commits into
RPCS3:masterfrom
digant73:add_content_integrity_check

Conversation

@digant73
Copy link
Copy Markdown
Contributor

@digant73 digant73 commented May 1, 2026

NEW FEATURE

Follow up of #18555 and #18575 extending integrity check:

  • Add multi-package (selecting multiple files) integrity check on context menu for:

    • PSN Content (.pkg, .rap, .edat)
    • PSN DLC (.pkg, .rap, .edat)
    • PSN Game Update (.pkg)

    NOTE: For .pkg file, the file type and so the related target DB (e.g. PSN Content, PSN DLC or PSN Update) is auto-detected parsing the file. File type for .rap and .edat files cannot be detected parsing the file. So, we instead check on PSN Content DB first and if no match is found then check on PSN DLC DB as fallback DB

  • Add integrity DB download on context menu

  • Add support to integrity check also to BD drive

NOTE FOR MAIN DEVELOPERS



closes #18575



image

image

image

@digant73 digant73 force-pushed the add_content_integrity_check branch from b2e4a8c to 5169625 Compare May 1, 2026 21:17
@digant73 digant73 force-pushed the add_content_integrity_check branch from 5169625 to b5841d3 Compare May 1, 2026 21:28
Comment thread rpcs3/rpcs3qt/content_integrity.cpp Outdated
Comment thread rpcs3/rpcs3qt/game_list_frame.h
Comment thread rpcs3/Loader/content_validation.cpp Outdated
Comment thread rpcs3/Loader/content_validation.cpp
Comment thread rpcs3/rpcs3qt/game_list_context_menu.cpp Outdated
@AniLeo AniLeo self-assigned this May 1, 2026
@AniLeo
Copy link
Copy Markdown
Member

AniLeo commented May 1, 2026

Needs APIs to be implemented before merge

@AniLeo
Copy link
Copy Markdown
Member

AniLeo commented May 1, 2026

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?

@digant73
Copy link
Copy Markdown
Contributor Author

digant73 commented May 1, 2026

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.
Currently you need to select and check the .pkg and .rap one by one. The same for DLC and game update. I was thinking to allow multiple selection (e.g. to select all the update files) in another PR. Just to make this PR light

@ChwaraeTeg
Copy link
Copy Markdown

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?

It looks like it just pops up a menu asking the user to select the PKG file they want to verify - it doesn't seem to be connected in any way to the entry that was selected in the game list (as expected I guess, because there isn't any link between the installed game and the installer for digital titles):

Screenshot 2026-05-03 113125

I think this feature would be better placed if offered on the Install Packages screen (verify before install or something?) and/or available from the Utilities dropdown menu rather than the game list.

@AniLeo
Copy link
Copy Markdown
Member

AniLeo commented May 3, 2026

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

@AniLeo AniLeo marked this pull request as draft May 3, 2026 14:36
@digant73
Copy link
Copy Markdown
Contributor Author

digant73 commented May 3, 2026

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 Check Package Integrity under a unique context submenu Check Integrity. Here you will find the ISO check, the JB check (when I'll do that) and this general package check. I think that a unique container in the most used menu (context menu) is overall the best place. IMO, moving this feature on another menu will remain an hidden feature for the majority of users. There are also other non contextual features on the context menu (e.g. a general compatibility DB download, config DB download and integrity DB download

@digant73
Copy link
Copy Markdown
Contributor Author

digant73 commented May 7, 2026

Added fallback DB for .rap and .edat. PSN Content DB is used first and if no match is found then PSN DLC DB is used.
Added support to multi pkg / rap / edat selection.
Added also support to integrity check for BD drive.
From my side, the PR is complete

Comment thread rpcs3/rpcs3qt/game_list_actions.cpp
Comment thread rpcs3/rpcs3qt/game_list_actions.cpp Outdated
Comment thread rpcs3/Loader/content_validation.h Outdated
Comment thread rpcs3/rpcs3qt/game_list_actions.cpp
Comment thread rpcs3/rpcs3qt/game_list_actions.cpp Outdated
Comment thread rpcs3/rpcs3qt/game_list_actions.cpp Outdated
Comment thread rpcs3/rpcs3qt/game_list_actions.cpp Outdated
Comment thread rpcs3/rpcs3qt/game_list_actions.cpp Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature request] No Intro integrity check (for digital content)

5 participants