Repository navigation
Releases
v0.1.6 - Enable auto-battle vs neutrals/guards
Fix
Converted maps were emitting every neutral/guard stack with isAutobatle=false, so Olden disabled auto-combat on essentially all creature fights.
This release flips that for stock translator output:
propRandomSquads.isAutobatle=trueon neutrals/guardssettings.disableAutoBattleAgainstEnemyHeroes=true(enemy-hero auto stays blocked)- Map validation fails closed if those flags regress
Upgrade
Replace your previous unzip with homm3-olden-stock-translator-0.1.6.zip (or git pull + tag v0.1.6), then re-convert scenarios. Already-installed .map files keep the old flag until reconverted.
Proof boundary
Source/static + generated-artifact validation only. Runtime auto-battle UI in Olden is not proven by this release.
Full Changelog: v0.1.5...v0.1.6
v0.1.5 - Ownership, access clearing, fingerprint regression
Highlights
This release ports the campaign-side ownership and access contracts into the stock translator, and adds a golden fingerprint regression suite for RoE / AB / SoD sample maps (HotA soft-optional).
Converted maps now finish player seats the way stock Olden expects: compact owners 1..N with the human as owner 1, after town faction splits and orphan-town binding. Victory and map-event audiences follow those final seats.
Proof boundary: generated-artifact + validator/fingerprint only. This does not claim Olden runtime load or gameplay proof.
Ownership and spawn binding
- Stop treating HoMM3 color+1 as the final Olden owner.
- Build city/spawn property bindings first, then:
- AI multi-faction town split — when one H3 side owns towns of different factions, minority towns move to new Olden seats (or demote to neutral if seats
1..8are full). - Orphan AI / playable bind — sides with heroes but no town can claim a nearby unbound neutral town.
- Compact renumber — rewrite property owners so the human is
1and AI seats are contiguous2..N.
- AI multi-faction town split — when one H3 side owns towns of different factions, minority towns move to new Olden seats (or demote to neutral if seats
- Derive
meta.spawnsonly after those mutations (faction/free-choice/hero choices stay tied to city object ids). - Fail closed when a seat has no spawn, a city has no legal faction, or the split cannot fit native owners.
Victory and map events
- WINSTANDARD quest player references use final compact owners.
- Event
playersMaskbits translate through the H3→final-owner map; a split source color expands to every matching final seat. - Unrepresentable audiences fail closed (unbound H3 mask bits that never owned anything may be dropped with diagnostics rather than inventing seats).
- Blank-message unguarded events that cannot host Dialog text are omitted with a named gap.
- HotA-unknown guard creatures omit via the existing map-event guard classifier instead of writing illegal squads.
Stock-safe access clearing
- Clear blocking scenery on subterranean portal GATE cells and town south-approach cells using stock ObjectConfig footprints.
- Does not port Golden Era barracks, dialog relocation, or
homm3_*overlay objects.
Serialization and scenery
- Preserve existing stock
campaignInfo. - Emit additional proven-empty native
objectsPropertiesfamilies (resource/reward/variant/growth/squad/AI-interaction/no-combine-geometry) where stock evidence supports them. - Optional scenery diversify post-pass:
--enable-scenery-canon-postpass(off by default; fail-closed on non-stock SIDs / pathability loss).
Regression framework
New contributor gate (requires your own HoMM3 maps + stock Core.zip paths in the manifest):
python tools/build_vanilla_stock_regression.py
python tools/validate_vanilla_stock_regression_contract.py
- Sample: 4 RoE + 5 AB + 4 SoD required; HotA soft-optional (
Claws,Challenge, fan Mysterious Island). - Committed baselines under
scenarios/vanilla_stock/regression_baselines/. - Fingerprints pin owners, spawns, victory mode, omit histograms, access clear counts, event tallies, and serialization keys — not absolute paths or object-id lists.
- After intentional emit changes:
python tools/update_vanilla_stock_regression_baselines.py.
Stock object mapping notes
- Stock artifact pickups continue to use
random-item(no GEhomm3_artifact_*SIDs). - Seer huts remain omitted where stock cannot represent them.
- Concrete monsters with unknown creature types omit rather than emit illegal squads.
Known gaps
- Victory modes beyond the piloted set (e.g. ARTIFACT / CAPTURECITY) still refuse emit.
- Some RoE maps still fail H3 decode (unsupported seer-hut reward types, corrupt walks).
- HotA-only creature/event budgets remain incomplete; Mysterious Island stays build-optional.
- Ocean basins / underground remain stock approximations (sand basins, dirt tunnels) — same as prior releases.
Upgrade
Replace your previous unzip of the translator with this release zip (or git pull + tag v0.1.5). Re-convert scenarios if you need the new owner/access behavior. Re-run convert after Olden patches if you rely on Core.zip dialog/LocKit merges.
Full Changelog: v0.1.4...v0.1.5
v0.1.4
Fixes
- Witch Hut (RoE): skill-mask bytes are AB+ only; RoE maps with Witch Huts no longer desync the object walk.
- Two-way monoliths (RoE/AB/SoD): same-color monoliths now pair across surface and underground instead of requiring the same layer.
Full Changelog: v0.1.3...v0.1.4