Repository navigation
Tests: adapt upstream's unsigned-IPA tests to the fork's slim default - #137
Merged
Merged
Conversation
…, as a patcher The sync brought dm/ios/tests/test_ipa_unsigned.py, which asserts upstream's default: game files and DLC packed into the package. The fork's default is the slim package (the app reads Documents/games/<id>/, with romfs.id for the identity check) and DM_FULL_ROMFS=1 packs them — the tests now start from that default, still checking the mapping rules. Registered as a patcher so the next sync keeps the adaptation.
v0lumehi
added a commit
to v0lumehi/NX2Apple
that referenced
this pull request
Oct 28, 2026
, LNPANDY#137, LNPANDY#138) The pin is the one main took in LNPANDY#130. Every patch is re-derived from the diff between that commit's tree and main's vendored tree, one per logical change, 19 patches (was 22). Dropped, because upstream has it at the pin: - ios-entitlements: build_ipa.sh has the ad-hoc entitlement block (32ae3b1); the fork's ENTITLEMENTS.md moves to fork-docs. - nsp-exfat-appledouble: the rmtree hook and the AppleDouble skip are upstream (a0b8bdb); main's remaining difference was Python 3.9 compatibility, below the script's 3.12 floor. - nsp-early-checks: the iOS SDK, Rosetta and glslang checks are upstream (c464cb2); the fork's duplicates (check_glslang, a second Rosetta check) go. - nro-code-start: patch_nso.py has code_start (3e77816). - hle-time-adjustable-clock: hle_time.c has it (4d2dc7d). Carried from main's newer knowledge: the unsigned-IPA test adaptation (LNPANDY#137) joins ios-slim-ipa; the DOTNET_ROOT check and the pruning of intermediate extractions, which the old series did not carry, are patches of their own; romfsarc takes main's handle-shift fix in hle_fs.c. patches.py: apply, bump and check regenerate docs/agents/game-patches.md and symptoms.md on the patched tree (upstream's test_docs.py requires them to equal their tools' output), and check/export keep patches away from them. Tests for it. The vendored tree differs from main's only by what is retired (sync_upstream.py and its test, game.fork.tsv, the dropped duplicates) and by the stamp patch.
v0lumehi
added a commit
to v0lumehi/NX2Apple
that referenced
this pull request
Oct 28, 2026
, LNPANDY#137, LNPANDY#138) The pin is the one main took in LNPANDY#130. Every patch is re-derived from the diff between that commit's tree and main's vendored tree, one per logical change, 19 patches (was 22). Dropped, because upstream has it at the pin: - ios-entitlements: build_ipa.sh has the ad-hoc entitlement block (32ae3b1); the fork's ENTITLEMENTS.md moves to fork-docs. - nsp-exfat-appledouble: the rmtree hook and the AppleDouble skip are upstream (a0b8bdb); main's remaining difference was Python 3.9 compatibility, below the script's 3.12 floor. - nsp-early-checks: the iOS SDK, Rosetta and glslang checks are upstream (c464cb2); the fork's duplicates (check_glslang, a second Rosetta check) go. - nro-code-start: patch_nso.py has code_start (3e77816). - hle-time-adjustable-clock: hle_time.c has it (4d2dc7d). Carried from main's newer knowledge: the unsigned-IPA test adaptation (LNPANDY#137) joins ios-slim-ipa; the DOTNET_ROOT check and the pruning of intermediate extractions, which the old series did not carry, are patches of their own; romfsarc takes main's handle-shift fix in hle_fs.c. patches.py: apply, bump and check regenerate docs/agents/game-patches.md and symptoms.md on the patched tree (upstream's test_docs.py requires them to equal their tools' output), and check/export keep patches away from them. Tests for it. The vendored tree differs from main's only by what is retired (sync_upstream.py and its test, game.fork.tsv, the dropped duplicates) and by the stamp patch.
lucaszhongsj
pushed a commit
to lucaszhongsj/nxnative
that referenced
this pull request
Nov 19, 2026
… data) Maps the RomFS and add-on content into the IPA only with DM_FULL_ROMFS; the app reads them from Documents/games/<id>/. The unsigned-IPA tests (test_ipa_unsigned.py, test_profile_pack.py) start from the slim default and check DM_FULL_ROMFS=1 for the packed form (LNPANDY/NX2Apple#137). Upstream-Status: fork-only (upstream has the opt-in DM_COPY_ROMFS=NO since 32ae3b1; the fork's slim default differs) Reason: Default slim IPA: the RomFS and aoc/ stay out unless DM_FULL_ROMFS=1 (a full package of a large game is many GB and iOS refuses it). Upstream took the opt-out DM_COPY_ROMFS=NO and kept the full package as its default Issue: LNPANDY/NX2Apple#123
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.
The last red check on the synced tree.
dm/ios/tests/test_ipa_unsigned.py(new from upstream) asserts upstream's packing default; the fork's is the slim IPA withromfs.id, andDM_FULL_ROMFS=1packs the game files. The three assertions now start from the fork's default, the mapping rules are still covered, and the change is a registered patcher so the next sync keeps it.