feat(editor): add WPSP JSON round-trip (--export/--import-wpsp-json)

Closes the editing loop on the player-spawn-profile catalog: dump
a .wpsp to JSON, hand-edit raceMask / classMask / spawn coords /
bind point / starting items + counts / starting spell ids
(e.g. move Northshire's spawn coords, swap a Hunter's starter
weapon, give every Warrior a Hearthstone, retune a DK's spell
loadout to include Frost Strike), re-import to a byte-identical
binary.

Verified byte-identical round-trip on all three presets
(alliance / horde / dk). CLI flag count 956 -> 958.
This commit is contained in:
Kelsi 2026-05-09 22:24:19 -07:00
parent 082ee495dc
commit 9a09831957
3 changed files with 155 additions and 0 deletions

View file

@ -236,6 +236,7 @@ const char* const kArgRequired[] = {
"--export-wmat-json", "--import-wmat-json",
"--gen-psp", "--gen-psp-horde", "--gen-psp-dk",
"--info-wpsp", "--validate-wpsp",
"--export-wpsp-json", "--import-wpsp-json",
"--gen-weather-temperate", "--gen-weather-arctic",
"--gen-weather-desert", "--gen-weather-stormy",
"--gen-zone-atmosphere",