Repository navigation
Bundle zbic and require it in the dependency probe - #258
Merged
Merged
Conversation
The release app's Python lacked zbic, so a game with system 22.0.0+ modules stopped with 'ZBIC (zstd) segments need the zbic package'. zbic is now pinned in the bundle, checked by check_bundle.sh, part of the launcher's Python probe and venv install, and a failed build with this message gets a failure row with an install button (Swift and Qt, English, Chinese, Swedish).
3 tasks done
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.
What and why
Fixes #251. Thanks @vandriesadrien for the report.
Building EA Sports FC 27 with the release app (v0.7.2) stopped with
ZBIC (zstd) segments need the zbic package (python3 -m pip install zbic).dm/tools/nso.pyimports the optionalzbicpackage for the modules of system 22.0.0 and later (Nintendo's zstd variant), and the bundled Python had lz4, capstone, fontTools and nsz but not zbic.zbic==1.0.1.post1(frontend/tools/bundled-python-requirements.txt, a macOS arm64 wheel exists for CPython 3.13).bundle_tools.shandcheck_bundle.shimport it, so a release build without zbic fails in the workflow's check step.pipPackages) now include zbic, in the SwiftUI and the Qt front end. It is a regular required package: the launcher cannot know before the extraction whether a game has system 22+ modules.zbic) with an "Install zbic" button, which runs the venv install. Texts in English, Chinese and Swedish, no semicolons (there is no German table on main).Nothing under
dm/,scripts/,docs/,ref/orpatches/is touched.Checked
cd frontend && swift build && swift test(472 tests, 0 failures), new tests for the probe (a stub Python without zbic fails it, with zbic passes it),pipPackages, and the failure row matcher and texts. Qt:python3 -m unittest discover -s frontend-qt/testsOK.python3 scripts/patches.py checkOK.Screenshots
None.
Scope
dm/,scripts/,docs/,ref/,AGENTS.md) is edited directlyNote for @LNPANDY: this changes the release build. The next release app grows by the zbic wheel (about 270 KB), and the release workflow's check step now fails if zbic is missing from the bundled Python.