-
v0.6.0
StableAll checks were successfulCI / msrv (1.90) (pull_request) Successful in 29sCI / audit (pull_request) Successful in 18sCI / stable (pull_request) Successful in 55sCI / python bindings (3.11) (pull_request) Successful in 25sCI / msrv (1.90) (push) Successful in 29sCI / audit (push) Successful in 19sCI / stable (push) Successful in 55sCI / python bindings (3.11) (push) Successful in 30sRelease / build (cli + windows wheel + c bundle) (push) Successful in 2m31sRelease / wheel + c bundle (manylinux x86_64) (push) Successful in 5m13sRelease / publish (push) Successful in 14sRelease / publish (npm) (push) Successful in 1m39sRelease / publish (crates.io) (push) Successful in 1m47sRelease / publish (PyPI) (push) Successful in 16sreleased this
2026-10-30 10:10:20 +01:00 | 63 commits to main since this releaseAdded
- Graphics —
GAME_TICK_MS, the game tick length (134 ms, measured on
DOS EN). - Dungeon — accessors for bits the engine reads:
Map::use_invisible_lower_pitfall,
Map::use_message_board,Scroll::gdat_text,Creature::important,
Creature::keeps_possession_positions, and the shooter word 3
Actuator::shot_energy/shot_energy_decay,Teleporter::blocks_passage
andTeleporter::activation. - CLI —
dm2 build <json> -o <file>rebuildsdungeon.datfrom a
dump --format dungeon-losslessdump, rejecting out-of-range values. - Dungeon —
Map::num_leading_creature_typesexposesw12bits 11:8,
which no known engine code reads; the format doc records the observed pattern. - Graphics —
Archive::creature_ai_indexand the free function
creature_ai_is_static: a creature type's AI descriptor and its static flag. - Magic map — new
dm2-magicmapcrate: draws eachdungeon.datmap
as the in-game magic map does (terrain, ornaments, teleporter swirls,
creatures) from any retail port'sgraphics.dat, as PNG or looping
APNG (render_map_png). - Graphics — map chips (
cls4 = 0xf9) on Amiga, FM-Towns and Sega CD
resolve to the UI palette(0x01, 0x00, 0x09, 0x00), as in game. - CLI —
dm2 extract dungeon.dat --gdat <graphics.dat>writes
map_NN.pngbeside eachmap_NN.json;--no-creaturesleaves
creatures off,--scale Nenlarges. - Convert / wasm / FFI / Python —
dungeon_map_png(dungeonMapPng,
dm2_dungeon_map_png): one map's magic-map image. - Magic map — level images:
render_level_pngplaces a level's maps
as in game (level_layoutresolves cells several maps share);dm2 extract --gdatalso writeslevel_NN.png;dungeon_level_png
(dungeonLevelPng,dm2_dungeon_level_png) in every binding. - Graphics —
Image::to_rgb_bufferis now public. - Magic map —
Runes(MapView::with_runes) selects the creature,
reveal and items runes; items are drawn as the items rune does
(item_chips,held_item_chips,cell_chips). - Magic map — chip reports:
map_chips/level_chipsgive each
cell's owning map, tile type and layers (class tuple, frames, ticks per
frame, mirror), tagged with the rune that shows or hides them. - Convert / wasm / FFI / Python —
dungeon_map_chips_jsonand
dungeon_level_chips_json(dungeonMapChipsJson,
dungeonLevelChipsJson,dm2_dungeon_map_chips_json,
dm2_dungeon_level_chips_json): chip reports as JSON. - Magic map — layouts:
map_cells/level_cellsgive a chip
report's cells and owners fromdungeon.datalone;
dungeon_map_layout_json/dungeon_level_layout_json
(dungeonMapLayoutJson,dungeonLevelLayoutJson,
dm2_dungeon_map_layout_json,dm2_dungeon_level_layout_json) in
every binding.
Changed
- Dungeon — lossless JSON schema 3 (breaking): each map's header and
body merge into onemapsentry with decoded fields, and tiles become
tagged objects (MapEntry,TileJson). Records carry decoded fields too
(ObjectsJson); actuator word 3 is atargettaggedshotor
locatorby type and placement.
Reconstruct rejects values that overflow their bit fields, and schema 1
and 2 input. - Dungeon — the actuator catalog adds the types KKDF2 leaves blank and
the word-1 parameters it misses, from SKWINSPX's handlers
(ParamClass::PartyFacing,ParamClass::CreatureFilter,
ParamClass::Direction), including wall0x29. - Dungeon —
TileAttrfollows SKWINSPX's tile flags (breaking): walls
carry a per-siderandom_ornamentsmask, pitsopen/hidden/
imaginary, stairsnorth_south/up, doors gainnorth_south,
teleportersopen/haze, trick wallsopen/random_ornaments/
imaginary. - Dungeon — lossless JSON schema 2: the tile-data block and the
trailing checksum are rebuilt from the map bodies, so edits reload with
a valid checksum.tile_block_seedis now present only for files the
bodies do not rebuild; the storedchecksumonly when it was wrong.
Schema 1 dumps still reconstruct.
Removed
- Saves —
records::CREATURE_GIDX_ALT_TABLE(breaking); use
dm2_graphics::creature_ai_is_static.
Fixed
- Saves — animated item icons play at the game's measured 134 ms tick
(TICK_MS, nowdm2_graphics::GAME_TICK_MS), not 320 ms.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- Graphics —