mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-11 11:33:52 +00:00
Recursively walks a directory, identifies every recognized .w* file by 4-byte magic, and parses the standard catalog header (magic + version + length-prefixed name + entryCount) to confirm the file isn't truncated, corrupted, or otherwise malformed at the header level. Reports per-file PASS/FAIL + extension-mismatch warnings (when a file's actual extension doesn't match what its magic says it should be). Exits 1 on any FAIL — designed as a CI gate that runs after content build to catch truncations / write-failures / disk-full mid-emit. World/asset formats (WOM/WOB/WHM/WOT/WOW) are recognized by magic but the catalog-header probe is skipped since their layouts differ. Implausibility caps: catalog-name length > 1MB or entryCount > 1M trigger failure as likely corruption signals. --quiet hides the per-file PASS/FAIL list (summary line only); --json variant for tooling integration. |
||
|---|---|---|
| .. | ||
| 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 | ||