Skip to content

PlayStation game folders are found by their title ID - #368

Merged
elripalda merged 5 commits into
elripalda:mainfrom
Xarishark:feat/ps4-rom-detection-6128e2
Nov 20, 2026
Merged

elripalda merged 5 commits into
elripalda:mainfrom
Xarishark:feat/ps4-rom-detection-6128e2

Conversation

@Xarishark

@Xarishark Xarishark commented Nov 20, 2026 •

Copy link
Copy Markdown
Collaborator

A PS4 folder like PS4/Diablo 3 Reaper of Souls Ultimate Evil Edition/CUSA00242 wasn't found for SanctuaryPort. The folder reads fine as a PS4 game, but PlayStation folders were matched by title only. "Diablo III" (the catalog's name) covers just 2 of the 7 words in "Diablo III: Reaper of Souls – Ultimate Evil Edition", which is too few to match. Listing the IDs didn't help either: the launcher couldn't read a PS4 folder's ID, and the ID search skipped PlayStation folders.

What

  • copy_id reads an extracted PS3, PS4 or PS5 game's title ID from the same param.sfo (or PS5 param.json) its title comes from.
  • A game whose game.check.ids or catalog copy_ids lists that ID finds the folder, whatever its title says. A folder with another game's ID is refused, by name or when picked (check_copy now applies ids to folders, as it already did to disc images).
  • Games that list no IDs are matched by name, as before. Going ID-only would lose every PlayStation project that hasn't added ids yet.
  • The developer check warns when a check by eboot.bin or param.sfo lists no ids, and says to add each region's title ID, instead of saying the copy is found.
  • docs/DEVELOPERS.md documents check.ids (it wasn't in the list), with a PS4 example. The schema's ids description names PlayStation title IDs.

SanctuaryPort still needs "ids": ["CUSA00243", "CUSA00242", "CUSA00433", "CUSA00434"] in its game.check for the folder to be found. Its label already names them.

Tests

  • cargo test on Windows, after merging main: 840 passed, 0 failed (schema parity tests included).
  • New: PS4 ID read from param.sfo; catalog copy_ids match despite the title; unlisted ID not matched by name; check_copy refuses another game's folder and takes a listed one; copies_for finds a folder by check.ids and not by eboot.bin alone; the developer check's warning (PS4, PS3 USRDIR/EBOOT.BIN, with IDs, with a game's own file).
  • Checked once against a real Diablo III param.sfo (CUSA00242): today's manifest doesn't find it, and with the IDs listed it does.

Patch notes (Beta 67)

For docs/PATCH-NOTES-0.90-beta-67.md, under Game pages:

  • Extracted PS3, PS4 and PS5 games are found by their title ID, so the game page offers your folder even when its name or full title (like an "Ultimate Evil Edition") doesn't match. — Improved by @Xarishark (#368).

For the website (SDK guide): check.ids now also takes an extracted PS3, PS4 or PS5 game's title ID from its param.sfo ("CUSA00242"), and the launcher uses it to find the player's folder. The SDK guide should say to list every region's title ID next to file: "eboot.bin", and that the developer check warns when a check by eboot.bin or param.sfo has no ids.

An extracted PS3, PS4 or PS5 game's title ID is now read from its
param.sfo (param.json on PS5), so copy_id knows it. A game whose
check.ids (or catalog copy_ids) lists that ID finds the player's folder
even when the game's own title carries an edition or subtitle the
catalog name doesn't ("Diablo III: Reaper of Souls - Ultimate Evil
Edition" for "Diablo III", 2 of 7 words, too few to match by name).
A folder with another listed game's ID is refused when picked, as a
disc image already was.

Schema and DEVELOPERS.md document check.ids, with a PS4 example.
A game.check by eboot.bin or param.sfo, which every PlayStation game
folder has, can only find the player's folder by its title. The check
now says so, and to add "ids" with each region's title ID, instead of
saying the copy is checked and found.
The schema and developer guide gained title IDs for PS3, PS4 and PS5 folders, so the website's SDK guide needs the same, per AGENTS.md.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants