Skip to content

chore: Pass the OBB files of a split archive to patches - #1404

Open
LisoUseInAIKyrios wants to merge 3 commits into
devfrom
feat/obb-files
Open

LisoUseInAIKyrios wants to merge 3 commits into
devfrom
feat/obb-files

Conversation

@LisoUseInAIKyrios

Copy link
Copy Markdown
Contributor

Matching changes for MorpheApp/morphe-patcher#281

LisoUseInAIKyrios and others added 3 commits November 8, 2026 10:01
A split archive such as .xapk can carry the OBB files of an app next to
its APK modules. SplitApkPreparer now extracts them with
ApkMerger.extractObbFiles after merging, and Session passes them to
PatcherConfig, so patches can read them through
packageMetadata.obbFiles. They are removed with the rest of the
preparation.

The merged APK lacks the OBB files, so it is not kept for repatching
when the archive has any. The archive is kept instead, both for a
single run and in batch patching, so a repatch extracts them again.

Needs a morphe-patcher release with PatcherConfig.obbFiles.
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