mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-07 17:43:51 +00:00
Standalone DBC <-> JSON converters. asset_extract --emit-open already does this in bulk during extraction, but designers often need to refresh ONE sidecar after a hand-edit, or push an edited JSON back to binary DBC for private-server compat: wowee_editor --convert-dbc-json Spell.dbc # -> Spell.json wowee_editor --convert-json-dbc Spell.json # -> Spell.dbc wowee_editor --convert-dbc-json Spell.dbc out.json # custom output DBC -> JSON: uses the wowee-dbc-json-1.0 schema (matches asset_extract output exactly so the editor's runtime overlay loader picks it up). Same string/float/uint heuristic the existing emitter uses. JSON -> DBC: builds a Blizzard-format-compatible binary DBC with: - 20-byte WDBC header (magic + recordCount + fieldCount + recordSize + stringBlockSize) - Records as little-endian uint32 fields (always LE per spec) - Deduped string block with leading NUL so offset=0 = empty string - Tolerates JSON numeric types (string/float/int/bool/null) and derives fieldCount from row size if header omits it Verified with a hand-built 3-record/2-field DBC: DBC->JSON->DBC->JSON round-trips with identical records[] arrays, no data loss. Output is byte-loadable by the existing DBC parser. |
||
|---|---|---|
| .. | ||
| 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 | ||