mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-09 18:43:51 +00:00
Moves the four bulk format-conversion handlers out of main.cpp: --convert-m2-batch (M2 → WOM) --convert-wmo-batch (WMO → WOB) --convert-blp-batch (BLP → PNG) --convert-dbc-batch (DBC → JSON) These all share the same pattern: walk srcDir recursively for files of the input extension and fan out to the single-file --convert-* counterpart via subprocess (preserving the existing per-file logic as the source of truth, no duplication). Single-file converters (--convert-m2, --convert-wmo, etc.) and the --migrate-* meta-commands still live in main.cpp; they're in dedicated argv-rescan loops that need a different extraction approach. main.cpp drops 18,396 → 18,198 lines (-198). Behavior verified by re-running --convert-blp-batch with a missing directory and confirming the same error message. |
||
|---|---|---|
| .. | ||
| asset_extract | ||
| auth_login_probe | ||
| auth_probe | ||
| blp_convert | ||
| dbc_to_csv | ||
| editor | ||
| asset_pipeline_gui.py | ||
| backup_assets.sh | ||
| diff_classic_turtle_opcodes.py | ||
| gen_opcode_registry.py | ||
| generate_ffx_sdk_vk_permutations.sh | ||
| m2_viewer.py | ||
| opcode_map_utils.py | ||
| validate_opcode_maps.py | ||