Skip to content

AmiWind v0.0.36: 36 Lessons of Vivec's Cantons (And Vvardenfell Shorelines)

Choose a tag to compare

@FlyingFathead FlyingFathead released this 11 Oct 16:55
· 69 commits to main since this release

AmiWind v0.0.36 - 36 Lessons of Vivec's Cantons (And Vvardenfell Shorelines)

Spiraling into Vvardenfell: Coastal regions are now CHIM

Running on CHIM Engine v0.2.0 (CHIM's first minor step: new features since v0.1.0). The boot checklist says it the short way: "AmiWind v0.0.36 / CHIM v0.2.0".

v0.0.35 started CHIMport from the sea. In v0.0.36 the result is in the game: the whole coastline of
Vvardenfell now runs on CHIM. Every cell that touches the sea, and the next ring of cells inland, is built
from your own game data through the CHIM pipeline and streamed in small pieces from disk; the legacy region
maps are gone from those cells. CHIMport goes around the island like a spiral, from the sea inward, and this
is its first full turn.

And at the end of the shoreline lies Vivec. The whole city is now on CHIM: all of its cantons, the Arena and
the rooms inside them, in one CHIM area.

Previous release: v0.0.35.

The coast on CHIM

CHIM progress map of Vvardenfell, 2026-10-11: green cells are done, gold rings are planned for v0.0.36

CHIM progress, 11 October 2026: 1,021 of 1,292 Vvardenfell land cells done; gold = planned for v0.0.36. What the colours mean: the CHIM progress map.

  • The whole coastline: every cell of the outer ring (171 of 171) and of the second ring (160 of 160) is on
    CHIM: 325 region cells, 222 land and 103 seabed, plus 6 second-ring cells that lie inside the Seyda Neen and
    Vivec city frames. The ring is closed: one connected stretch, no gaps, no legacy pockets. Land cells that the
    legacy builder had split over several maps are on CHIM too.
  • No legacy maps under CHIM land: the builder decides first which cells are CHIM and builds only what the
    game uses; the old region maps of those cells are no longer made and thrown away.
  • Seamless borders where the CHIM coast meets the legacy inland, measured edge by edge.
  • Terrain stored once: CHIM land is built with the compiled terrain hull and terrain references by default: the
    chunks' collision is compiled from their pieces and repeated ground is stored once and placed by reference.
  • Where it stands: the CHIM Progress Tracker in the Toolkit shows every cell, and now marks the cells
    planned for the next release in gold.

Vivec on CHIM

  • The whole city: the cantons, the Foreign Quarter, the waterfront and the Arena, with 130 of its rooms
    built through the CHIM room stage. 14 rooms are left out for now (engine model and memory limits): their
    doors say "Interior unavailable".
  • The Arena Pit is back in the default build.
  • A bigger world: the engine's coordinate range was widened so the whole city fits in one CHIM frame.

Also on CHIM

  • Seyda Neen and Balmora are CHIM-native: built straight from your game data, no legacy town chain.

Everything else in v0.0.36

So far, on the development line:

  • Version lines in the console: at start-up, on every map load and with version, the console shows
    "AmiWind v0.0.36 / CHIM v0.2.0", then the AmiQuake line ("AmiQuake: VERSION 1.09"), then
    'Type: "dbg help" for help.'

  • Ready-to-run emulator files: every finished build now leaves the Python launcher, an FS-UAE
    configuration and a WinUAE configuration beside the image. Existing files you edited are kept as .bak;
    you fill in your own Kickstart ROM (none is included). Two short guides come with them, one for
    Windows with WinUAE and one for Linux with FS-UAE: what to install, controls, and how to report a bug.

  • All of Vivec, one map: the whole city is now one CHIM map: the eight cantons, the Temple, the Foreign
    Quarter, the canals and the east edge of Ebonheart, with their residents and 130 of their rooms, so you walk
    from canton to canton without a load. It replaces the Arena-only Vivec of the earlier development builds
    (vivec_city is a default CHIM area; the single-canton frames are kept for comparisons only, see
    Retired flags). Stair flights in the Temple, at Ebonheart and in three
    rooms are still blocked (known issues).

  • Wider coordinates, so all of Vivec fits one map: the engine now sends positions with 24 bits of 1/256 units
    instead of Quake's 16-bit eighths, so a CHIM map can reach +/-32,000 units from its centre instead of about
    +/-4,000. It costs one byte per coordinate in the game's messages (measured on every map of a full build: the
    largest map start message grows from 10,080 to 10,887 bytes of 16,380). --coord-range narrow builds the
    earlier engine. See Experimental flags.

  • Parallelization never regresses (perf guard): every build ends with a table of its stage sections (units,
    cores used against the cores it could use, time, the baseline from earlier runs of the same work, verdict, and
    a totals row). A section that ran in parallel before and now runs serial, or takes longer for the same work, or
    runs over a minute on a fraction of the cores, fails the build; known cases are waived by bug ID for a few days,
    visibly. See Perf guard.

  • No oversubscribed machine: builds started together share the machine's threads and memory by priority
    (release builds first, then development, then optional ones) instead of each taking every core; a build that
    does not fit waits its turn, and a build that ends hands its cores to the ones still running. See Core leases.

  • Every build cache says where its entries came from: each stored result records when it was made, by
    which build, from which version and commit, and the hash of its output; reuse and its counts are logged.
    Nothing is rebuilt for it. See Cache provenance.

  • Third person, the vanity camera and a real death scene: Tab switches between first and third person as in
    the original (held, the mouse turns the camera around you); the wheel zooms the third-person camera; after 30
    seconds without input (the game's own setting) the camera slowly circles your character, full screen with the
    interface hidden as in the original, until you touch a key or the mouse (aw_vanity_fullview 0 keeps the
    interface). When you die, nothing
    can be talked to or used any more, the camera moves out, your character falls, the death music plays and the
    original question follows: load the most recent save, or the main menu. New in AmiWind: after a lost fight a
    Retry fight button puts everyone back where the fight began (--death-retry off leaves it out). Your
    character's body is a stand-in for now: your race and sex in the new-game clothes, with walk, run and death
    animations. See Third person; console dbg camera and dbg vanitycamera (auto / off / on).

  • Block with the right mouse button: hold the right mouse button to raise your shield (the new Block
    action; Options > Controls > Blocking: Hold to block, the default, or Automatic, the original game's rule).
    The original has no block button, so this is an AmiWind addition, but each blow is still decided by the
    original formula from your Block skill, Agility, Luck and fatigue. While you guard you cannot swing. In third
    person your character raises the shield (the original block animation); first person shows "Guard" under the
    crosshair and kicks the view on a block. NPCs with a shield and a one-handed weapon block by the original rule,
    with their block animation and the shield's sound. Your new character has no shield yet: the arena loadouts
    with a shield can block. See Combat; console dbg combat block hold|auto.

  • No silent build steps: every long builder phase prints when it starts and when it ends, with its time and
    cores (CHIM stair gate: passed (...) - took TIME, N cores), and the builder prints a heartbeat line for any
    stage that has been silent for 30 seconds, naming its current phase and progress. --quiet drops only per-unit
    progress lines. The CHIM statistics no longer validate the whole world a second time at the end of the chim stage.
    See Phases and the heartbeat.

  • Build Timeline: python tools/build.py profile timeline RUN [RUN ...] --png OUT.png draws one picture of
    where a build's wall time went: every stage of one or more runs (reused, failed and still-running stages marked),
    gates and other timed jobs, and the CPU cores in use stacked by job. It reads only the files every build writes
    and works while a build runs. See Build Timeline.

  • Perf database: python tools/perf_db.py keeps every build's and gate's numbers (stage times and cores, CHIM
    heap per frame, stair walks, sizes, test counts, CPU samples) in one SQLite database whose rows are never changed,
    each source file recorded with its SHA-256, so one command compares a number across every run, even runs whose
    folders were deleted; the database can be rebuilt from the files it read. See Perf database.

  • Seyda Neen CHIM-native: Seyda Neen, its intro docks and the Census courtyard now come straight from
    your game data on CHIM, like Balmora and the Vivec Arena: the builder no longer makes 65 old-style Seyda Neen
    region maps only to throw them away before packing, so builds are faster; the town and its opening scenes are
    unchanged (same people, plants and objects). A MiniWind sandbox of Seyda Neen is new (--miniwind-seyda-chim).
    See World map manifest.

  • CHIM-native areas by default: every CHIM area in a build (Balmora and, since dev5, Seyda Neen)
    is now prepared through the CHIM pipeline from your game data, with no legacy town chain
    (--chim-native-towns on is the default). The old legacy-chain options --legacy-area and
    --chim-native-towns off, and --seyda-recorded (the recorded v0.0.31 Seyda Neen maps), are retired: a development build refuses them unless they are named with
    --override, and every use is printed and recorded in the build receipts. See
    Retired flags. The open world outside the CHIM areas is still legacy.

  • The Vivec Arena Pit is back: a CHIM town's own rooms (the Arena Pit today) are built again, in their own
    build step with the doors into and out of them linked; v0.0.35 had the Pit, the first CHIM-native Arena builds did
    not. The vivec-arena-pit MiniWind preset starts inside it.

  • A test build of one area starts you in that area: a MiniWind build whose start lies in a town builds that town
    (the Vivec Arena preset needs no extra option), a start outside what the build holds is refused before anything is
    built, and the image checks the start map and spot before it is packed. See
    Start straight in the game.

  • Build recipes: a build's options can be kept in one small file (--recipe FILE): the options by name,
    the input files by SHA-256 and the build that checked it; --save-recipe FILE writes the recipe of any build,
    a newer builder lists every option that changed since, and the MiniWind presets are now such recipes. See
    Build recipes.

  • A stuck disk read no longer freezes the game: the music is now read in the background. If the disk does not
    answer a music read, the music goes quiet (the console says so once) and the game keeps running; the music comes
    back when the disk answers, or moves on to the next track (HANG-IDLE-DUSK-35, game side).

  • Lava on the world map: the map (M) now shows the molten lava pools of Molag Amur, Sheogorad and Red
    Mountain in both map views, with a "LAVA" legend; dbg map lava 0 hides them. Only the lava you can see is
    drawn: a pool the land covers (the ground is higher than its surface) is left off the map, so the map no longer
    shows lava where you stand on grass (WORLDMAP-LAVA-MISMATCH-36). The pools come from your own
    game data at build time (the new v2 map file; --world-map v1 keeps the earlier map). See
    World map.

  • CHIM frame maps are .chim files: the small map the engine loads for a CHIM area (maps/<town>-chim.chim,
    and maps/vfNNNN.chim for a cell on CHIM inside the legacy open world) is CHIM's own map format, a modified
    BSP that cannot be played without its CHIM world, so it now has its own extension. The engine finds maps through one lookup and stops
    with a clear message instead of loading an empty map when a frame map has no CHIM world to go with it.
    --chim-frame-ext bsp keeps the earlier .bsp names (the old method). See
    WORLD_FORMAT.md.

  • dbg music on|off: background music on or off (default on, not saved); no argument shows the status. Off
    closes the music stream at once and reads nothing until it is on again (AUDIO.md).

  • dbg godmode (alias dbg god): Quake god mode with the usual on/off, true/false, 1/0; no argument
    toggles. It drives Quake's own god state (the HUD GOD indicator), prints the new state and is not saved.

  • Border audit for CHIM areas inside the legacy world (tools/chim/stitch.py audit): measures every edge
    of a CHIM area against the legacy land around it (ground height, far terrain, standing height at the
    handover, contents, objects crossing the edge) and writes a report per border cell. See
    STITCH_AUDIT.md.

  • Seamless borders between CHIM and legacy land: CHIM ground now uses the same shoreline detail as the legacy
    maps (--chim-terrain-shoreline on, the default), and a CHIM area inside the legacy world carries a terrain-only
    margin past its handover line, so there is ground all the way to the fog. Measured on the Bitter Coast test area:
    no height step and no gap on any edge.

  • Faster rebuilds: five causes of needless rebuilds fixed (stage keys that counted unused code, records lost
    when an older run was retired, absolute paths and a timestamp in stage outputs, a diagnostics file read as an
    undeclared input). A rebuild after a small code change now reuses nearly every stage.

  • NPC grounding, island-wide: every NPC placed in the open world is classified by measuring where it stands
    (tools/actor_grounding_census.py); the build stops in its preflight, in seconds, if a CHIM area holds an
    NPC that is not classified.

  • CHIMport: --retry-failed now also reruns cells that converted but failed an audit or waited on the
    collision hull rule; the door check leaves out marker doors (such as the jail destination marker).

  • The open sea on CHIM: every map cell without terrain data (no LAND record: the sea around the island
    and a margin ring for the horizon, 867 cells) is now a reference to one shared ocean chunk, water over the
    flat seabed at the original's default depth, stored once (10.5 KB). The CHIM Progress Tracker shows these
    cells as "open sea" and counts them as done; the land figures stay beside the map figures. The engine
    places the chunk once the open-world frames read it. See
    CHIMPORT.md.

  • World bounds: the sea turns you back at the edge of the world (an AmiWind extension, on by default):
    the original's sea goes on, AmiWind's world used to end in an invisible wall. Now the water near the edge
    carries a current along it, so swimming out you are turned aside and carried along the coast and slowly
    back in; out of the water, outward motion fades before the edge. dbg worldbounds on/off switches it while
    playing; the builder's --world-bounds off leaves the game as before. See World bounds.

  • CHIM cells inside the open world (experimental, off by default: --chim-regions seabed|coast|sea-ring|
    a region name or a cell file): finished CHIMport cells replace their legacy open-world maps one cell at a
    time, under the same map names, so the engine changes maps between them exactly as before. Denser cells,
    which the legacy world splits into 2 x 2 or 4 x 4 maps, can now go on CHIM too: each is one CHIM cell, so
    more than twice as many finished cells can join (661 instead of 270 with today's tracker). --chim-regions coast2 takes the whole coastline: all of
    the cells touching the sea and every finished cell of the ring behind them. See
    CHIM regions.

  • Builder command line aw (AW.md): gate numbers and run names handed out from one register,
    the entry check, and gate results read from the actual test counts (a gate with failures always reports
    failed).

  • Builds by request (aw submit / aw request): a build is asked for with a small JSON form (kind, commit,
    purpose, reason, build options, input files with their SHA-256) and answered with a JSON result (passed,
    failed or refused, stages reused and rebuilt, failed stage, logs, timings). The build server checks before
    anything slow runs: the commit's version and builder head, retired options, the input file hashes and the
    builder's own reuse preflight; it then builds that exact commit in developer mode through the shared storage
    pool and names the run. See AW.md.

  • Builder broadcast (aw announce / inbox / reply / publish): a builder error found by one worker
    becomes a call for fixes to every worker (with an optional build hold); a gated builder head is published to
    every worker with what it contains, and a worker's gates and builds on an older base are refused until it
    merged the new head or replied why and when. See AW.md.

  • Shared terrain stored once in CHIM cells (experimental, off by default: --chim-terrain-hull compiled --chim-terrain-refs on, world format 0.7): each piece of terrain a CHIM cell needs is built once and referenced
    by every cell that shows it, and the standing hull is compiled the way Seyda Neen's already is. Engines before
    this format refuse 0.7 worlds with a clear message; the default world format stays 0.5 byte for byte. Every
    compiled hull is checked against its ground and falls back to the routed hull where it would leave a gap. See
    WORLD_FORMAT.md.

  • Physics review (PHYSICS.md): how AmiWind uses Quake's physics, area by area; movement uses
    the engine's own physics loop, placed-model collision does not yet use compiled hulls, and gravity was never
    scaled to Morrowind (PHYSICS-GRAVITY-SCALE-36). The next steps are on the page.

  • AmiWind Toolkit 0.1.1:

    • the CHIM Progress Tracker follows CHIMport and builds live by default when the Toolkit is served;
    • cells with nothing placed in the original read "0 / 0 (terrain only)" instead of a bare "0 / 0";
    • coastal land cells that hold only terrain and sea are counted with their island again;
    • the release check keeps the Toolkit's version and its "Last updated with" line current;
    • the 3D Map Inspector opens CHIM maps (.chim: the entities and the CHIM frame they belong to) and
      CHIM worlds (a build's chim-world folder: a frame's ground and objects, with the memory each player
      position needs against the CHIM zone, the worst positions marked), next to Quake .bsp maps
      (details);
    • the Monitor tab follows a build as it runs, read-only: live log of the running stage, stage progress, ETA,
      cores in use, the Build Timeline and recent builds and gates (tools/toolkit_serve.py --builds DIR;
      Monitor).
  • CHIM file format overview (CHIM_FILE_FORMAT.md): what CHIM stores and why, the file
    types (.bsp, .chim, the CHIM world), the format versions so far and the roadmap of the format.

  • Test area bcoast_x7y2 (a 3 x 3 Bitter Coast block, experimental, not built by default): the first
    CHIMport cells built into the game, for inspecting the CHIM/legacy border.

More from less

CHIM stores every model, texture and terrain piece once and places it by reference, where the legacy
region maps store each object about 9.8 times across their overlapping maps
(IMAGE_SIZE.md). Measured so far on this line:

  • The open sea around the island and a margin ring for the horizon, 867 map cells, is one shared ocean
    chunk of 10,528 bytes plus a reference of about 390 bytes per cell. The legacy world never stored
    these cells at all (the water past the coast came only from the overlap of the coastal maps), so this
    is new coverage, not a size cut.

  • The seabed where it meets the open sea joins it without a step: the shared floor sits at the
    original's default depth, the same height as the deepest seabed.

  • CHIM cells inside the open world, with shared terrain stored once (--chim-terrain-refs on): 0.91 and 0.93
    times the bytes of the legacy maps they replace, measured on two test sets (7 coast and seabed cells: 1.91 MB
    against 2.11 MB; 6 coastal land cells: 2.59 MB against 2.77 MB). With every cell carrying its own copy of the
    terrain around it they took about 3.5 times.

The size comparison of the whole converted coast (legacy maps out, CHIM in, bytes on disk) comes with the
v0.0.36-dev3 playtest build.

Fixed since v0.0.35

Cause found, game side repaired, check in a soak run still to do:

  • The idle freeze with looping music (HANG-IDLE-DUSK-35): the game waited forever for a
    music stream read that never returned; the same freeze as during Seyda Neen loads in v0.0.30
    (SEYDA-LOAD-HANG-30). The music now reads in the background, so a lost read only
    silences the music. Other disk reads during play that can still wait are listed in
    ENGINE-SYNC-IO-MAIN-LOOP-36.

Known in this build

Next, v0.0.37 moves every finished (green) cell on the CHIM progress map onto CHIM (roadmap).

The open sea beyond the coast rings is not placed in the game yet: CHIMport has converted it (one shared ocean chunk), but the engine does not read it in this build; the water past the coast rings comes from the coastal maps, as before.

See the bug register.