mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-07 09:33:51 +00:00
Extends asset_extract with two more open-format emitters: --emit-wom foo.m2 (+ foo00.skin) → foo.wom --emit-wob foo.wmo (+ foo_NNN.wmo groups) → foo.wob --emit-open now also turns these on Originals are preserved so private servers still load .m2/.wmo through the manifest path; the wowee runtime/editor pick up the .wom/.wob next to them via the existing open-format search rules. Implementation: - New WoweeModelLoader::fromM2Bytes(m2Data, skinData) shares the conversion body with fromM2(path, am) via a static helper (convertM2ToWom). Lets the extractor convert without standing up an AssetManager. - fromM2(path, am) moved to a separate translation unit (wowee_model_fromm2.cpp) so asset_extract doesn't have to link the AssetManager dependency. - WoweeBuildingLoader::fromWMO already takes a WMOModel directly, so emitWobFromWmo just needs to read root + group files and call save(). - Group sub-files (<base>_NNN.wmo) are skipped during the walk since they're merged into the root WMO. |
||
|---|---|---|
| .. | ||
| adt_loader.hpp | ||
| asset_manager.hpp | ||
| asset_manifest.hpp | ||
| blp_loader.hpp | ||
| custom_zone_discovery.hpp | ||
| dbc_layout.hpp | ||
| dbc_loader.hpp | ||
| loose_file_reader.hpp | ||
| m2_loader.hpp | ||
| terrain_mesh.hpp | ||
| wdt_loader.hpp | ||
| wmo_loader.hpp | ||
| wowee_building.hpp | ||
| wowee_collision.hpp | ||
| wowee_model.hpp | ||
| wowee_terrain_loader.hpp | ||