mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-08 10:03:51 +00:00
AssetManager::loadDBC now probes for a .json sidecar in the same directory as the binary DBC the manifest resolves to. asset_extract --emit-json-dbc writes that sidecar on extraction, so the runtime client transparently falls back to it when the binary DBC is absent (e.g. open-format-only extraction for end-to-end format testing). Order: binary DBC > JSON sidecar > custom_zones JSON > CSV > error. Servers (AzerothCore/TrinityCore) only read the binary DBC, so this change is invisible to them — the wowee runtime is the only consumer that tries the JSON path. The PNG sidecar pickup (tryLoadPngOverride) was already in place from prior work — this completes the symmetric runtime-side wiring for both BLP→PNG and DBC→JSON open-format outputs. |
||
|---|---|---|
| .. | ||
| adt_loader.cpp | ||
| asset_manager.cpp | ||
| asset_manifest.cpp | ||
| blp_loader.cpp | ||
| custom_zone_discovery.cpp | ||
| dbc_layout.cpp | ||
| dbc_loader.cpp | ||
| loose_file_reader.cpp | ||
| m2_loader.cpp | ||
| terrain_mesh.cpp | ||
| wdt_loader.cpp | ||
| wmo_loader.cpp | ||
| wowee_building.cpp | ||
| wowee_collision.cpp | ||
| wowee_model.cpp | ||
| wowee_model_fromm2.cpp | ||
| wowee_terrain_loader.cpp | ||