• v0.7.0 4ba1dd0106

    v0.7.0
    All checks were successful
    CI / msrv (1.90) (pull_request) Successful in 29s
    CI / audit (pull_request) Successful in 19s
    CI / stable (pull_request) Successful in 57s
    CI / python bindings (3.11) (pull_request) Successful in 26s
    CI / msrv (1.90) (push) Successful in 28s
    CI / audit (push) Successful in 20s
    CI / stable (push) Successful in 57s
    CI / python bindings (3.11) (push) Successful in 29s
    Release / wheel + c bundle (manylinux x86_64) (push) Successful in 2m10s
    Release / build (cli + windows wheel + c bundle) (push) Successful in 2m53s
    Release / publish (push) Successful in 13s
    Release / publish (npm) (push) Successful in 1m45s
    Release / publish (crates.io) (push) Successful in 1m50s
    Release / publish (PyPI) (push) Successful in 17s
    Stable

    jqueuniet released this 2026-10-31 11:02:11 +01:00 | 40 commits to main since this release

    Signed by jqueuniet
    SSH key fingerprint: SHA256:hjUxou9yR5AKBQ8zK2FkTEp12iDlEomvb63VBpXVwN4

    Added

    • Magic map — unfilled maps: Layout::unfilled leaves out solid
      rock no room touches and nothing references, as the DMDC2 World Atlas
      does; layout_chips reports any layout's chips;
      RenderOptions::fill and dm2 extract --no-fill for images.

    • Magic map — Layer::objects: the records an item or creature
      layer draws, a creature group's members included.

    • Graphics — Archive::creature_text: a creature type's name.

    • Convert / wasm / FFI / Python — GraphicsArchive: a
      graphics.dat parsed once (in wasm, copied once: about 9× faster over
      every DOS image), its records addressed by index:

      • entries: every record with its class tuple, kind, category, size
        or inline value, image size and transparency, text language;
        find: a tuple's index, per language among variants;
      • image (with console lighting style / light, as dm2 extract),
        icon, sound (WAV), music (MIDI), font, text, palette:
        one record as dm2 extract exports it; the CLI shares the sound,
        music and font code;
      • labels: the game's name for every item, champion and creature
        type, in a language.
      • item_catalog: every item kind SaveGame::create_item accepts;
        skill_title: the inventory panel's title of a skill level.

      Every method takes one options object: JS objects in wasm, JSON text
      in C, keyword arguments in Python; unknown options are errors, and a
      new option changes no signature. The npm build frees forgotten
      handles (--weak-refs).

    • Convert / wasm / FFI / Python — DungeonFile: a dungeon.dat
      parsed once, with to_json, skproject_json, map_layout,
      level_layout, and map_png, level_png, map_chips,
      level_chips drawn through a GraphicsArchive; options objects as
      GraphicsArchive's; from_json and to_bytes for its lossless
      dump. Images and chips take fill, off leaving out unreferenced
      solid rock; chips take a language and name item and creature layers
      (name, glyph_name, group count).

    • Convert / wasm / FFI / Python — SaveGame: a save decoded once
      against a DungeonFile and a GraphicsArchive, which it keeps, read
      and edited in place, so the full dump no longer passes in and out per
      edit: to_json, to_bytes, gameplay / set_gameplay, inventory,
      container, the item moves, container puts and takes, create_item,
      preview_item and field_limits; a refused edit changes nothing.
      SaveGame::limited opens a save without its files, gameplay only,
      until attach gives them.

    • Saves — SaveDump::set_gameplay: replace a dump's gameplay
      section, refused unless it encodes.

    • Graphics — Archive::decode_image_ctx,
      Archive::decode_image_record, Ent1::find_index,
      Ent1::find_index_in_language.

    Changed

    • wasm — option keys are camelCase: IconOptions.frameMs, not
      frame_ms (breaking); C and Python keep frame_ms.
    • Dungeon / convert / CLI — DungeonDump::reconstruct (dm2 build,
      DungeonFile::from_json) rejects champion's bones (misc #0): they
      exist only in saves.

    Removed

    • Convert / wasm / FFI / Python — graphics_header_json,
      graphics_decode_png, graphics_decode_png_transparent and
      graphics_decode_icon_png (breaking): GraphicsArchive's header,
      image (with transparent) and icon replace them, the image
      addressed by find(cls1, cls2, 0x01, cls4).
    • Convert / wasm / FFI / Python — dungeon_to_json,
      dungeon_skproject_json, dungeon_map_png, dungeon_level_png,
      dungeon_map_chips_json, dungeon_level_chips_json,
      dungeon_map_layout_json, dungeon_level_layout_json and
      dungeon_from_json (breaking): DungeonFile's methods replace
      them, DungeonFile::from_json rebuilding a dungeon from its dump.
    • Convert / wasm / FFI / Python — save_to_json_full,
      save_from_json_full, save_inventory_json, the
      save_inventory_* edits, save_container_json,
      save_container_put_json, save_container_take_json,
      save_item_create_json and save_item_preview_json (breaking):
      SaveGame's methods replace them, champion field edits going
      through gameplay / set_gameplay; item_catalog_json and
      skill_title_json (breaking): GraphicsArchive's item_catalog
      and skill_title replace them; save_to_json, save_from_json
      and save_field_limits_json (breaking): a limited SaveGame
      replaces them.
    Downloads