Skip to content

Add Persona 5 Royal Asian release profile - #1897

Open
giftederic wants to merge 2 commits into
igawa6:devfrom
giftederic:support-p5r-asia
Open

giftederic wants to merge 2 commits into
igawa6:devfrom
giftederic:support-p5r-asia

Conversation

@giftederic

@giftederic giftederic commented Dec 5, 2026 •

Copy link
Copy Markdown

What and why

Adds the Persona 5 Royal Asian-release profile for title ID 01004B10157F2000, update 1.0.2 (v65536). Fixes #1850.

The Pocket S2 dump contains CPK/ALL_ASIA.CPK, CPK/PATCH1.CPK, and app_config/region_asia.txt (ASIA). The profile uses PATCH1.CPK for the Apple packaging presence check and ALL_ASIA.CPK for the shader source paths. A read-back of the nine GSC entries from the device matched all 30,418 archive rows by stage, shader key and descriptor offset. The complete 30,646-key inventory and shader facts and pairs are preserved.

Device validation

  • AYANEO Pocket S2 (Snapdragon G3 Gen 3 / Adreno 750, 8 GB, Android 14), Peanuts Native 0.1.11 Usagi with Turnip T30 26.3.0. The earlier complete on-device build reached the Simplified Chinese Thieves' Union prompt. The session recorded 8,100 frames, 59.9 displayed FPS, zero failed graphics or compute pipelines, and a 2,687 MiB process footprint. The documented conditional-render fallback was logged.
  • Independent testing by Xue-Chaos on Motorola XT2611-1 (Snapdragon SM8845 / Adreno 829, 16 GB, Android 16). The matching 1.0.2 release reached the opening casino in Traditional Chinese on Qualcomm's system driver and Turnip T30. Each run reported 60.1 FPS, 300 of 300 presents and zero drops. The system run lasted about one minute and the Turnip run about four.
  • Main build ID: d4b150b29a931cd381e2a30318fc299f.

Checks and remaining verification

  • dm/tools/tests/test_docs.py passed (11 tests). peanuts/scripts/check-profiles.sh and peanuts/scripts/check-publish.sh origin/dev passed. The branch merges cleanly into current dev.
  • The broader Windows Android game tests reported the same 9 failures and 4 errors on dev and this branch.
  • Remaining verification includes the revised profile in a full Android preparation run on the current runtime and shader chain, longer gameplay and save/load, and Apple packaging and runtime for the Asian release.

The game-table entry is in dm/games/README.md. The release catalog and ship-list entry can be handled through the maintainer's catalog workflow.

@Xue-Chaos

Copy link
Copy Markdown

😄 I was adapting this exact release when #1897 appeared — you beat me to it! No hard feelings; happy to see it land. Since I had already built and validated the same profile independently, here is the extra evidence and one finding that may matter:

Device run on both drivers. Motorola XT2611-1 (Snapdragon SM8845, Adreno 829, 16 GB RAM, Android 16, 60.11 Hz panel). Pack + full shader library built on a PC; RomFS read in place from the release's own XCI (direct NSP/XCI), Traditional Chinese.

  • System driver (Qualcomm, driver ID 8, version 0x8034a02b): boot, the casino scene, about a minute — 60.1 fps ([vk] fps: 60.1 game frames a second), 300/300 presents, 0 dropped, p99 frame interval 16.64 ms, no crash.
  • Turnip T30 (PurpleVK 26.3.0-devel, driver ID 18, Vulkan 1.4.359): about four minutes — 60.1 fps, 300/300 presents, 0 dropped, p99 16.71–16.78 ms, no crash.

Build ID from the log matches: D4B150B29A931CD381E2A30318FC299F2B0EE36D000000000000000000000000. This covers the "Android system driver not tested" gap in the description.

There may be a second RomFS variant under this title ID. My dump has the same title ID and the same 1.0.2 build IDs, and its shader tables agree with this PR's: shader_map.tsv's package/index/stage/key columns are byte for byte identical to this PR's (30,646 keys), as are shader_facts.tsv and shader_pairs.tsv. But its RomFS differs: CPK/ALL_ASIA.CPK (13.6 GB) plus app_config/region_asia.txt ("ASIA"), with NACP languages ko / zh-Hant / zh-Hans — there is no CPK/ALL_USEU.CPK in it (my split's shader_files.tsv lists CPK/ALL_ASIA.CPK). romfs_marker is checked by the Apple build (dm/ios/tools/build_ipa.sh stops on a missing marker), so Android plays either way, but CPK/ALL_USEU.CPK would fail an iOS/Mac build from the ALL_ASIA dump — and CPK/ALL_ASIA.CPK would fail one from the ALL_USEU dump. A path both variants carry (mine has CPK/PATCH1.CPK) might serve as a marker that accepts both; that is of course the maintainer's call.

Minor, for completeness: per peanuts/docs/NEW-GAME.md the PR should also add the peanuts/games.tsv row (e.g. "Persona 5 Royal (Asian release)") next to the dm/games/README.md one — this PR doesn't have it yet.

I can push my branch (profile, game note, catalog row, and both drivers' vk_pipelines.keys) if anyone wants to compare; otherwise please disregard the duplication.

The Pocket S2 dump has ALL_ASIA.CPK and PATCH1.CPK. Match the archive source paths to the verified keys and offsets, use the patch archive as the packaging marker, and record the independent Qualcomm and Turnip runs.
@giftederic

giftederic commented Dec 6, 2026 •

Copy link
Copy Markdown
Author

@Xue-Chaos Thanks for testing both Android drivers and catching the RomFS marker issue! In 63b115e, I switched the marker to CPK/PATCH1.CPK and corrected the shader source paths to use CPK/ALL_ASIA.CPK. I verified all 30,418 CPK shader records against my Asian 1.0.2 dump.

I then rebuilt the Android pack from scratch on Windows. All 30,646 shaders compiled successfully, and that exact pack reached the Simplified Chinese Thieves’ Union prompt on my AYANEO Pocket S2 with Turnip T30 at around 60 FPS. I’ve linked your independent test results in the PR description.

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