Kelsidavis-WoWee/tools/asset_extract
Kelsi e547b4b82b feat(extract): add --purge-proprietary mode to free disk after open conversion
Walks an extracted tree and removes every BLP/DBC/M2/skin/WMO/ADT
that has a confirmed open-format sidecar at least as new. Dry-run
by default — requires --confirm-purge to actually delete:

  asset_extract --purge-proprietary Data/expansions/wotlk
  Dry-run: would purge proprietary files...
    would remove: 21570 files (16380.4 MB)
    (re-run with --confirm-purge to actually delete)

  asset_extract --purge-proprietary Data/expansions/wotlk --confirm-purge
  Purging...
    removed: 21570 files (16380.4 MB)

Pairing rules:
  .blp  → .png
  .dbc  → .json
  .m2   → .wom
  .skin → matching .m2's .wom (foo00.skin pairs with foo.wom)
  .wmo  → .wob (root)
  .wmo group sub-files (foo_NNN.wmo) → parent foo.wob
  .adt  → .whm

Servers can't run without proprietary files, so this only makes
sense for wowee-runtime-only setups. Files without a sidecar are
left untouched.
2026-05-06 11:05:10 -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): add --purge-proprietary mode to free disk after open conversion 2026-05-06 11:05:10 -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