Skip to content

packmigrate v0.4.0

Choose a tag to compare

@SalyyS1 SalyyS1 released this 15 Nov 14:06
· 1 commit to main since this release

Highlights in packmigrate v0.4.0

  • Dual-Era Asset Deduplication and Perceptual Hashing (--dedup, --phash, --phash-threshold): Added pure-JVM 64-bit 2D Discrete Cosine Transform (DCT-II) perceptual hash (pHash) and SHA-256 byte analysis (PerceptualHash.kt, AssetDeduplicator.kt). Automatically detects redundant overlay assets duplicating base pack files (PM012) and cross-path duplicate textures (PM013), with automatic pruning when --dedup is enabled.
  • Modern Component Override Compiler and Decision Tree Optimizer (--component-overrides, --prune-overrides): Added modern data component validation (minecraft:has_component, minecraft:custom_data, minecraft:item_model, minecraft:enchantments) and decision tree pruning (ComponentOverrideCompiler.kt). Eliminates shadowed thresholds, folds tautological conditions, and drops redundant select cases (PM014, PM015).
  • Format 97 Pack.mcmeta Overlay Generation (--overlay-format-97): Added Minecraft 26.3 / Format 97 overlay generator (Format97OverlayGenerator.kt) configuring modern min_format: [97, 0] and max_format: [97, 1] bounds and auditing format drift (PM016).
  • Expanded SARIF v2.1.0 Diagnostics: Catalog expanded to rules PM001 through PM016, mapping directly to GitHub Code Scanning via --sarif and composite GitHub Action action.yml (v0.4.0).
  • Client-Side Browser Migrator Upgrade: Updated https://salyys1.github.io/packmigrate/ with client-side redundant overlay detection, format 97 dual-era auditing, and SARIF PM001..PM016 export.

SHA-256 Checksum

packmigrate.jar: 8a5e4c132ebca79928402b53c46c9c0da78143845bc7abd3dfbe169dfb2ac011