Skip to content

brarchive-extractor v0.2.0

Choose a tag to compare

@LPaicen LPaicen released this 14 Aug 22:40
· 2 commits to main since this release

v0.2.0 - Schema Compatibility and Extraction Tooling

Highlights

  • Added --json-only to extract restored MCB content and existing JSON files while ignoring other file types.
  • Added full-task progress reporting with processing speed.
  • Improved compatibility with schemas exported by LLClientSchemaExporter.
  • Added Python utilities for preparing test data, copying client schemas, and merging schema exports.

Schema Compatibility

  • Read the Minecraft version from LLClientSchemaExporter export-report.json.
  • Resolve LL client schema references when title-based $id values differ from underscore-based physical filenames.
  • Show real schema file paths in missing-reference errors.
  • Support schema roots without exist.json, contents.json, or a metadata directory.
  • Improved schema discovery, document mappings, beta format-version handling, and JSON document restoration.
  • Added semantic schema merging with reference rewriting and validation.

CLI Improvements

  • Added --json-only.
  • Added processing speed to the current and total progress bars.
  • Suppressed the use --list for details hint when --list or --list-all is already active.
  • Added filtering and reporting improvements for failed files, empty directories, archive splitting, JSON formatting,
    and in-place extraction.
  • Improved result classification and concise/listed output modes.

Helper Tools

  • prepare_test_data: copies Minecraft packs and optionally downloads schemas.
  • copy_client_schemas: copies LLClientSchemaExporter output from LeviLauncher installations.
  • merge_schemas: combines schema trees with semantic replacement and reference validation.
  • Minecraft discovery now checks registered packages and common installation paths without recursively scanning entire
    drives.

Documentation and Testing

  • Expanded English and Chinese documentation for CLI usage, brarchive structure, and MCB binary layouts.
  • Renamed the local test tree to tests/ and the schema fixture directory to tests/schemas/.
  • Added regression coverage for LL schema references, JSON-only extraction, progress speed, schema metadata, and
    helper tools.