Commit graph

231 commits

Author SHA1 Message Date
Kelsi
4fc0361f7a feat: complete client integration for all 6 open formats
- Wire WOB buildings into WMO render pipeline (loads→converts→renders)
- Implement JSON DBC loading in DBCFile::loadJSON() with nlohmann/json
- Wire JSON DBC override into AssetManager (custom_zones/output scan)
- Add WMO→WOB conversion with full geometry (fromWMO)
- Replace placeholder WOB export with real WMO→WOB conversion in editor
- Add --convert-wmo CLI flag for batch WMO→WOB conversion
- Store discovered custom zones on Renderer with getCustomZones() accessor
- Add isCustomZone_ member to TerrainManager

All 6 Blizzard format replacements now fully load in the client:
  ADT→WOT/WHM, WDT→zone.json, BLP→PNG, DBC→JSON, M2→WOM, WMO→WOB
2026-05-05 12:41:19 -07:00
Kelsi
d8f2388635 milestone(editor): commit #200 — v1.0.0 complete, 11.5k lines, all formats open
200 commits building a complete world editor with novel open file
formats from scratch in a single development session.

Final stats:
- 11,532 lines across 55 files
- 6 editor modes, 30+ terrain tools, 3 noise types
- 5 novel binary formats: WHM1, WOM1, WOB1, WCP1, WOT
- All 6 Blizzard formats replaced with open alternatives
- 4/6 formats fully loading in client (terrain, textures, models, buildings)
- CLI: --help, --version, --list-zones, --convert-m2
- Project system with git collaboration
- Full content pipeline: create → export → pack → share → load

By Kelsi Davis
2026-05-05 12:21:00 -07:00
Kelsi
0fce340aa0 docs(editor): add --list-zones and --version to CLI help output 2026-05-05 12:19:53 -07:00
Kelsi
8ac36e2f05 feat(editor): --list-zones CLI flag to discover custom zones without GUI 2026-05-05 12:18:31 -07:00
Kelsi
c75337ed2c fix(editor): sync --version CLI output to v1.0.0 2026-05-05 12:16:21 -07:00
Kelsi
f20e602d32 fix(editor): minor README formatting improvement in export 2026-05-05 12:14:31 -07:00
Kelsi
71b06826b1 milestone(editor): v1.0.0 — complete world editor with full open format pipeline
191 commits, 11.5k lines, 55 files. Both targets clean, zero warnings.

World Editor v1.0.0 feature-complete:
- 6 modes: Sculpt, Paint, Objects, Water, NPCs, Quests
- 30+ terrain generators and tools
- Full painting, object placement, NPC, and quest pipelines
- Project management with git collaboration
- Content pack import/export with validation

All 6 Blizzard formats replaced with novel open alternatives:
- ADT → WOT/WHM (WHM1 magic)
- WDT → zone.json
- BLP → PNG (auto-converted)
- DBC → JSON (auto-converted)
- M2 → WOM (WOM1 magic, auto-converted)
- WMO → WOB (WOB1 magic)

Client integration: auto-loads WOT/WHM terrain + WOM models
Content pipeline: Editor → Export → WCP Pack → Share → Client loads

By Kelsi Davis
2026-05-05 11:54:58 -07:00
Kelsi
8f7a70e8cd feat(editor): --version CLI flag shows editor version and format info 2026-05-05 11:53:12 -07:00
Kelsi
84bb31012f docs(editor): add WOM version note and future animation support plan to FORMAT_SPEC 2026-05-05 11:50:22 -07:00
Kelsi
8bf02b5880 feat(editor): zone stats.json export with open format score and content summary 2026-05-05 11:48:57 -07:00
Kelsi
5c229e9603 feat(editor): auto-export hole mask PNG alongside terrain on zone save 2026-05-05 11:44:52 -07:00
Kelsi
1a95ec9d0a feat(editor): hole mask PNG export (16x16 chunk grid, white=holes) 2026-05-05 11:43:23 -07:00
Kelsi
b65b5a758d feat(editor): zone manifest includes ISO export timestamp for tracking 2026-05-05 11:40:56 -07:00
Kelsi
053278da7c fix(editor): accurate file count in export toast (includes all PNGs and textures) 2026-05-05 11:38:56 -07:00
Kelsi
196e67dddb feat(editor): auto-export water mask PNG alongside terrain on zone save 2026-05-05 11:37:31 -07:00
Kelsi
7ce49ebe96 feat(editor): water mask PNG export (16x16 chunk grid, white=water) 2026-05-05 11:36:04 -07:00
Kelsi
235eccad88 docs(editor): expand FORMAT_SPEC with zone.json fields and IP disclaimer 2026-05-05 11:34:09 -07:00
Kelsi
e73cb466d5 feat(editor): WOT metadata includes doodad/WMO placement counts 2026-05-05 11:31:26 -07:00
Kelsi
b5a798e53a chore(editor): bump version to 0.9.0 — 180 commits, 11.4k lines 2026-05-05 11:28:22 -07:00
Kelsi
324970b866 feat(editor): WOT metadata includes editor version for compatibility tracking 2026-05-05 11:26:54 -07:00
Kelsi
8ef151a07e feat(editor): include tileSize/chunkSize constants in WOT metadata 2026-05-05 11:24:29 -07:00
Kelsi
02c2d62a02 feat(editor): comprehensive export summary log with format breakdown 2026-05-05 11:22:55 -07:00
Kelsi
ae7942ef39 feat(editor): zone thumbnail included in export for content pack browsing 2026-05-05 11:21:11 -07:00
Kelsi
6747456f48 fix(editor): improved WCP inspect toast with version and format info 2026-05-05 11:19:35 -07:00
Kelsi
539de3f5b0 docs(editor): add WHM version info and total size to FORMAT_SPEC 2026-05-05 11:18:08 -07:00
Kelsi
60048c0ee4 docs(editor): export README now lists all open format types 2026-05-05 11:16:38 -07:00
Kelsi
77a91de9f1 feat(editor): heightmap preview PNG export for zone documentation
- Exports 129x129 grayscale PNG showing terrain elevation
- Auto-normalizes to 0-255 based on actual height range
- Useful for zone documentation, thumbnails, and previews
- Auto-exported alongside WOT/WHM/normals on every save
2026-05-05 11:14:58 -07:00
Kelsi
36dd4bf141 feat(editor): WOT metadata includes alpha map presence flag per chunk 2026-05-05 11:12:36 -07:00
Kelsi
d990b2819d feat(editor): auto-export alpha maps alongside terrain on zone save 2026-05-05 11:10:08 -07:00
Kelsi
4ea09b0b8b feat(editor): alpha map export as individual 64x64 grayscale PNGs 2026-05-05 11:08:40 -07:00
Kelsi
25f1893b49 feat(editor): auto-export terrain normal map PNG alongside WOT/WHM 2026-05-05 11:03:23 -07:00
Kelsi
54b7949dd1 feat(editor): terrain normal map export as PNG (129x129 RGB) 2026-05-05 11:01:37 -07:00
Kelsi
a3b6653e15 feat(editor): quest count and open format save indicator in Info panel 2026-05-05 10:58:11 -07:00
Kelsi
126567a1d0 feat(editor): show scale and rotation info for selected objects 2026-05-05 10:56:48 -07:00
Kelsi
05d7dcd927 feat(editor): show open format indicator in placed objects count 2026-05-05 10:55:07 -07:00
Kelsi
b29aee062a chore(editor): note all 6 Blizzard formats replaced in About dialog 2026-05-05 10:53:49 -07:00
Kelsi
e7cf125fda docs(editor): improved CLI help with format info and all options 2026-05-05 10:52:17 -07:00
Kelsi
4b94640cae feat(editor): CLI batch convert mode (--convert-m2) for M2→WOM conversion
- wowee_editor --convert-m2 <path> --data <datadir> converts a single
  M2 model to WOM open format without launching the GUI
- Output goes to output/models/ with same path structure
- Useful for batch scripts to convert entire asset directories
- Example: wowee_editor --data Data --convert-m2 creature\\bear\\bear.m2
2026-05-05 10:50:36 -07:00
Kelsi
bf83da61d2 chore(editor): update About dialog with open format stats (11k+ lines, 6 formats) 2026-05-05 10:48:31 -07:00
Kelsi
e191f35ed0 feat(editor): content pack inspector and improved import UI 2026-05-05 10:47:18 -07:00
Kelsi
6acde0290d docs(editor): FORMAT_SPEC.md documenting all 5 novel open file formats 2026-05-05 10:45:50 -07:00
Kelsi
4148c890dc feat(editor): auto-export WMO buildings as WOB placeholders on zone save
- Zone export now creates WOB placeholder files for all placed WMO
  buildings in output/MapName/buildings/
- Full WMO→WOB conversion (with geometry) requires group file loading
  which is complex — placeholders reserve the path structure for now
- All 6 format conversions now auto-run on every zone export:
  ADT→WOT/WHM, BLP→PNG, DBC→JSON, M2→WOM, WMO→WOB, WDT→zone.json
2026-05-05 10:44:38 -07:00
Kelsi
c532a1a787 chore(editor): bump version to 0.8.0 — full open format pipeline 2026-05-05 10:41:43 -07:00
Kelsi
adfa1d7086 feat(editor): export toast shows open format completeness score (X/5) 2026-05-05 10:40:15 -07:00
Kelsi
a54ce494be feat(editor): zone validation for open format completeness scoring
- ContentPacker::validateZone() scans a zone directory and checks
  for all open format files (WOT, WHM, PNG, WOM, zone.json, etc.)
- openFormatScore(): returns 0-5 based on how many open formats present
- summary(): human-readable list of found formats
- Foundation for quality gate on WCP export: warn if zone uses
  Blizzard formats that could be converted to open versions
2026-05-05 10:38:57 -07:00
Kelsi
5e2cb6fb3c feat(editor): auto-convert placed M2 objects to WOM on zone export
- Zone export now converts all placed M2 models to WOM open format
- Deduplicates: each unique M2 path converted only once
- WOM files saved to output/MapName/models/ with original path structure
- Uses WoweeModelLoader::fromM2() for M2→WOM conversion
- Combined with PNG texture export, zones can now be fully distributed
  without any Blizzard proprietary files

Full open format export pipeline:
  Terrain: ADT→WOT/WHM | Textures: BLP→PNG | Data: DBC→JSON
  Models: M2→WOM | Buildings: WMO→WOB (manual) | Map: WDT→zone.json
2026-05-05 10:31:51 -07:00
Kelsi
176115f279 feat(editor): DBC→JSON export for open format zone data tables
- DBCExporter: converts Blizzard DBC binary data tables to JSON
- Exports zone-relevant DBCs: AreaTable, Map, Light, LightParams,
  ZoneMusic, SoundAmbience, GroundEffectTexture/Doodad, LiquidType
- Auto-detects string vs numeric vs float fields
- Zone export now includes data/ directory with JSON DBCs
- Client can load these via existing CSV/JSON fallback paths

Format replacement progress:
- DONE: ADT → WOT/WHM (terrain)
- DONE: WDT → zone.json (map definition)
- DONE: BLP → PNG (textures)
- DONE: DBC → JSON (data tables)
- TODO: M2 → open model format
- TODO: WMO → open building format
2026-05-05 10:21:14 -07:00
Kelsi
cb3de59b5c feat(editor): BLP→PNG texture export for open format zones
- TextureExporter: converts Blizzard BLP textures to standard PNG
  for fully open redistribution of custom zones
- collectUsedTextures(): finds all texture paths referenced by terrain
- exportTexturesAsPng(): loads BLP via asset manager, writes RGBA PNG
  using stb_image_write to output/MapName/textures/
- Zone export now automatically converts all used textures to PNG
- Client's PNG override system already loads these automatically
  (checks for .png alongside .blp before loading)

Format replacement progress:
- DONE: ADT→WOT/WHM (terrain)
- DONE: WDT→zone.json (map definition)
- DONE: BLP→PNG (textures — auto-exported on zone save)
- TODO: DBC→JSON, M2→open model, WMO→open building
2026-05-05 10:17:03 -07:00
Kelsi
5adb6cb364 feat(editor): export toast shows file count for better feedback 2026-05-05 10:11:50 -07:00
Kelsi
40561fbe7a fix(editor): correct noise type count in About dialog (3 types: value, voronoi, detail) 2026-05-05 10:10:17 -07:00