Repository navigation
Conversation
shamonj03
force-pushed
the
pr/pmd-update-1.0.2
branch
from
November 24, 2026 15:04
bafc170 to
2872557
Compare
…ate 1.0.2 (v131072) The start-hang fix of the profile covered only the base game 1.0.0, whose main build ID is ca19d069.... Update 1.0.2 has a new main (3ab632de...), so its starts could hang with no fix. game.tsv now has a build row for it, and patches.py a second key with the same 131 ldr to ldar cuts. They are the same sites as in 1.0.0, found again by shape in the update's main: every one is 0x40 higher than in 1.0.0. The rewriter checks each cut's original word before applying it. subsdk0 and sdk are the same build IDs. Splitting 1.0.0 and 1.0.2 together with shader_split.py gives the same 9,817 programs with the same keys as 1.0.0 alone (only the main#GLSLC@ offsets in the source column of the 180 programs in main differ when 1.0.2 is split alone), so the shader tables are unchanged and shader_versions lists v0 v131072. package says v131072. The game note, the row in dm/games/README.md, UPSTREAM-EDITS.md and the Found-on entry in docs/reference/threads.md name both builds; game-patches.md is regenerated. The threads.md line now carries a PEANUTS marker, which upstream-update.sh --check main asks for. Checked on an AYN Thor (Adreno 740, Android 13), 2026-11-24: pack from a .nup of the base .nsp and the update, cuts 131, 9,913 shader modules valid for spirv-val. On Turnip 27.0.0-R2, PN_BUILD_ID 3AB632DE..., 1.0.2 was played as far as the entrance of Thunderwave Cave, with fights and a save, in two sessions (logs 01003D200BAA2000-20261124-083926.log and -090219.log): 29.9 fps median in both, no watchdog line, no crash. test_game_profile 22 OK, test_patches 16 OK, check-profiles.sh 172 titles OK, check-runtime-profile.sh 172 profiles OK, upstream-update.sh --check main passes, docs_patches.py current. The game note's Status line now describes both versions as played the same way.
shamonj03
force-pushed
the
pr/pmd-update-1.0.2
branch
from
November 24, 2026 15:08
2872557 to
b9abf19
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR makes Pokémon Mystery Dungeon: Rescue Team DX update 1.0.2 (
v131072) a build of the existing profile, with its own start-hang cuts. The profile in igawa6#502 covers the base game 1.0.0 only, and 1.0.2 has a differentmain, so its starts had no fix. The review of igawa6#502 asked for this.Why the same 131 cuts. 1.0.2's
main(build ID3ab632dee82d59448599b2291f30994a) has the same 91 writer and 38 reader sites of theThreadedStreamBufferhandshake as 1.0.0, found again by shape. Every site is exactly 0x40 higher than in 1.0.0.patches.pygets a second key with the 131ldrtoldarcuts, and the rewriter checks each cut's original word as before.No new shader tables. Splitting 1.0.0 and 1.0.2 together with
shader_split.pygives the same 9,817 programs and the same keys as 1.0.0 alone. Only themain#GLSLC@offsets in the source column of the 180 programs inmaindiffer when 1.0.2 is split alone.game.tsvlistsshader_versions v0 v131072;subsdk0andsdkare the same build IDs.No shader-chain change. The chain headers and
dmsh_chain.lockare untouched.Checked
test_game_profile22 OK andtest_patches16 OK (both withDM_GAME=01003D200BAA2000),check-profiles.sh172 titles OK,check-runtime-profile.sh172 profiles OK,upstream-update.sh --check mainpasses,check-publish.shclean,docs_patches.py --checkcurrent..nupof the base.nspand the update:cuts 131in the rewrite log, 9,913 shader modules valid forspirv-val.main.patched.binmd5c1d1c1b04e57bfb9b10132ba0ace25f6.PN_BUILD_ID=3AB632DEE82D5944..., started from the library with noenv.txt. 1.0.2 was played as far as the entrance of Thunderwave Cave, with fights and a save, in two sessions: logs01003D200BAA2000-20261124-083926.log(7,692 frames) and01003D200BAA2000-20261124-090219.log. Both show a 29.9 fps median (p95 34.0 and 35.2 ms, worst long frame about 1,094 ms in the first scene), nowatchdogline and noCRASH.threads.mdline for this game now carries aPEANUTSmarker, whichupstream-update.sh --check mainasks for and Add a profile for Pokémon Mystery Dungeon: Rescue Team DX (01003D200BAA2000), with the patch that fixes its start hang on 1.0.0 and 1.0.2 igawa6/peanuts-native#502's line lacked.Docs
dm/games/README.md,peanuts/UPSTREAM-EDITS.mdand the Found-on entry indocs/reference/threads.mdname both builds.docs/agents/game-patches.mdis regenerated.test_version_header_currentfails by design.Device test
dev.nxnative.android.peanutstest.python3 scripts/pack_android.py <nup> --version 131072 --shader-pkg <split>,peanuts/scripts/push-pack.py <pack> --game <nup> --dest "/sdcard/ROMs/switch/<name>",./gradlew apk -PnxApp=peanuts -PnxAppId=peanutstest -PnxLabel="Peanuts test" -PnxGames=<ids> -PnxPackEngine=fake(JDK 21),adb install -r <apk>, then a library launch.