Repository navigation
HBHT alpha 2
An early build of HBHT: expect rough edges. HBHT doesn't include the game. When it first runs, you import your own ROM of Aidyn Chronicles: The First Mage.
Windows: the .msi installs HBHT for everyone on the PC. The -portable.zip runs from wherever you unzip it and keeps its data there. Linux: unpack the .tar.gz and run hbht. macOS: open the .dmg and drag both apps to Applications. They aren't notarized, so macOS asks before it opens them the first time: what to do.
v2
The headline for this release is combat parity (2.9): every formula the original uses in battle — melee, ranged, flask throws, spellcasting, effects, potions, enemy AI, morale, turn order, arena setup, and rewards — has been run against the original's own code and verified draw-for-draw. Thirteen combat scenarios built from written saves were played through the original under a logging harness, then replayed through the port on the same random draws, and all player actions pass. The replay framework, the formula vector harness, and all thirteen setups are available in source.
Bug fixes
Several places where the original's behaviour contradicts its own design or description have been corrected. These are deliberate divergences from 1.0, noted in the docs.
- Wind now holds bad weather clear while it lasts, as its description says. The original did nothing while it lasted and set fog on expiry. A throw's weather penalty now reads the world's current weather class (not whatever Wind had set), so natural fog and storms correctly penalise thrown weapons again.
- Stamina spell now raises Stamina, as its description says. The original lowered it through the weakening path.
- Teleportation now refuses to cast at a point it couldn't land — one blocked by an occupied footprint or off the floor. The original spent the turn and moved no one.
- Aura of Death and Solar Wrath no longer leave ghost records on party members (who have no morale). The leftover record blocked a second cast of the same spell and consumed a slot.
- Large casters (2-cell footprint) no longer freeze when their targets lie toward +X or +Z. The AI was scoring from a grid with the caster's footprint lifted, then acting on a grid with it on — finding no target and resting every turn. The Hobgoblins in setup 11 demonstrated this.
- Combat bodies are now set down after the turn order is built, matching how 1.0's
Combat.CreateBodyruns fromCombat.Init. The previous order caused bodies that missed the floor to draw out of sync with the original. - Fleeing enemies now leave the field correctly. A fleeing combatant with a blocked first corner no longer stays on the field and takes extra turns; the port stops after
FleeAdvance, which differs from 1.0 only in timing. - Spell damage through a weakness now triggers the target's morale check, as a blow does. The Tomb Rats' fire weakness under Fireball and Dragon Flames was not triggering it.
- A body pushed against another now slides on rather than sticking. The original's rounding let the push land the two bodies exactly touching, and its varying frame lengths then retried from a slightly different position; the port's fixed 2-tick frames would retry identically and lock up.
- Acid flask corrosion no longer wraps the protection byte. A target at 3 protection taking 5 corrosion would wrap to 254.
- Healing potions now report the HP actually restored in the battle log. The original reported the random roll before capping at full.
- A spell cast while a flask is in hand now does its damage. The original dropped the action while the caster's action slot was 3, for as long as the party still held that flask.
- Heals over rounds now apply their margin as a byte, matching
AgeEffects' implementation. - Spell timing is now per-spell and configurable: each spell lands at a share of the caster's cast animation (
castStrike), no sooner than 30 ticks. The importer sets each spell to approximately when 1.0 would land it for a typical caster. Mods can adjust this per effect. - One-shot sounds now apply the sound volume once. The original multiplied by it twice (once in
PlaySoundand again inUpdateSound), so at half volume the menu sounds played at a quarter volume. - The battle pause no longer opens skill popups;
Restoreis available only in trek, matching observed 1.0 behaviour. - Video and Enhancements settings pages now scroll correctly past eight rows, keeping the cursor centred and showing arrows, matching the Controls page.
Smoother movement (optional enhancement)
Bodies move smoothly anchored to the ground, they don't bounce when climbing slopes, and the animation speed is adjusted so Alaron's footfalls line up with terrain he's climbing.
Mesh seam welding (importer 62)
The importer now welds open edges between adjacent meshes — chunk borders, scenery-to-scenery, water-to-water — closing the cracks visible in the original geometry. The most visible example is a crack of sky along a path in K08. Welding is on by default; --keep-seams or the import page's option preserves the ROM's meshes as-is.
Every change since v1, with the commits' full messages.