Kelsidavis-WoWee/tools/asset_extract
Kelsi 57b81a2344 feat(extract): --purge-proprietary --json for machine-readable purge report
Schema:

  asset_extract --purge-proprietary Data --json
  {
    "dir":         "Data",
    "confirmed":   false,
    "candidates":  21570,
    "removed":     0,
    "totalBytes":  17175328768
  }

"candidates" = files where a sidecar exists and is at least as
new (would be deleted on --confirm-purge). "removed" reflects the
actual delete count when --confirm-purge is set; 0 in dry-run.

Lets CI scripts gate on the dry-run candidate count before actually
purging:

  count=$(asset_extract --purge-proprietary Data --json | jq .candidates)
  [ "$count" -gt 1000 ] && asset_extract --purge-proprietary Data --confirm-purge

The asset_extract --json flag now applies to both upgrade and purge
modes.
2026-05-06 11:32:42 -07:00
..
extractor.cpp feat(extract): emit WHM+WOT+WOC for ADT terrain tiles 2026-05-06 10:36:14 -07:00
extractor.hpp feat(extract): emit WHM+WOT+WOC for ADT terrain tiles 2026-05-06 10:36:14 -07:00
main.cpp feat(extract): --purge-proprietary --json for machine-readable purge report 2026-05-06 11:32:42 -07:00
manifest_writer.cpp Replace MPQ runtime with loose file asset system 2026-02-12 20:32:14 -08:00
manifest_writer.hpp Replace MPQ runtime with loose file asset system 2026-02-12 20:32:14 -08:00
open_format_emitter.cpp feat(extract): incremental --upgrade-extract skips up-to-date sidecars 2026-05-06 11:00:20 -07:00
open_format_emitter.hpp feat(extract): incremental --upgrade-extract skips up-to-date sidecars 2026-05-06 11:00:20 -07:00
path_mapper.cpp refactor path mapper 2026-04-04 14:34:23 -03:00
path_mapper.hpp refactor path mapper 2026-04-04 14:34:23 -03:00