Repository navigation
Use initial 1.0 resource bundles for Player HUD plugins - #1222
Merged
Merged
Conversation
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.
Player HUD plugins now use a source directory with manifest.json, hud.json and ordinary resource files, built into a canonical
.plxhudarchive. Package and HUD formats start at 1.0, example plugins at 1.0.0, and report/catalog/index protocols remain 1.The shared loader validates bounded ZIP32 STORE containers, both JSON documents, exact resource inventories and SVG roles, and binds the full archive SHA to immutable parsed metadata and owned resources. Installation, confirmation, storage, runtime compilation and authoring commands consume that same artifact. The source packer preserves payload bytes and condition order; all seven examples preserve their original layout/palette and retained SVG content.
The native CLI adds packing and explicit schema/export output commands. SDK packaging carries both generated schemas and an indexed source/archive corpus; preview tools freeze one bundle for the entire matrix. Storage uses a strict initial installed.json v1 contract with both format fields, conservative handling of unreadable indexes, and verified archive metadata.
The ARM normal/build dependency graph grows from 86 to 92 packages for both feature sets:
zip 9.2.2,getrandom 0.4.3,typed-path 0.13.0,indexmap 2.14.2,hashbrown 0.17.1andequivalent 1.0.3. The maintained ZIP reader/writer supplies container/CRC handling after bounded preflight. Default features are disabled, so compression, encryption and extraction dependencies remain excluded. The measured graph budget is now exactly 92 with zero additional headroom; normal-edge duplicate versions remain zero. The before/after build table below records the cost. The stripped ARM binary remains within its existing size budget.Validation on
017ff3ad29443e5ecf47e7c3d3b93f4625cf5c2c:make checkpassed with default and hostsim passes, structural/C/Python gates and the 550-test harness. Relevant libtest results:make check-nodefand the actual ARM release-profile cross-build passed.03d0ec7da76054c828b2cf69ba8017ee8576faeapasses CI, Simulator CI, and HUD SDK CI. The local current-head ARM rebuild also passes all ELF assertions and firmware inventories; its SHA-256 is1f317a4f1381f52995e170f9830887460647e341ba5b476ac990f4d7b5a1199c.One run per scenario on the same Apple M4 / pinned Rust toolchain. Baseline source
3b651de0a69c; final source017ff3ad2944. Both runs started clean and restored the tree. Baseline had two load warnings; these samples do not establish a performance improvement.Target cache footprint: before 2185.5 MB; after 5678.3 MB. The after cache also contains the default, hostsim and shipping-feature gate variants; this is cache coverage, not application binary size. Incremental and ARM rows were unavailable in both runs.
Combined PR review found no functional blocker. Two minor documentation follow-ups remain:
icon.assetstill refers to the oldassetsname, and the price-pass comment still describes reparsing rather than the shared decoded package. Physical TV acceptance remains unverified.