DMM map loader/saver

by NullQuery
Load and save DMM files dynamically [More]
To download this library for your Linux/Mac installation, enter this on your command line:

DreamDownload byond://NullQuery.nq_dmm##version=9

Emulator users, in the BYOND pager go to File | Open Location and enter this URL:


Version 1.1
Date added: Apr 29 2016
Last updated: Oct 16 2016
1 fan
Fork me on GitHub
This library allows you to load and save DMM files at runtime in your projects. It utilizes BYOND's built-in regular expression features to parse the .dmm files.

Note that this library can be slow with larger maps. It is intended primarily to handle smaller maps or to save an existing map to a .DMM file for later editing with Dream Maker.

See "" for a demo of the library.

Supplements to this library are appreciated, if you have any suggestions feel free to create a post in the Feature Requests forum of this library.

Note that this library depends on nq_commons library.

Bug reports and suggestions may be reported to the appropriate forum.

Version 1.1
  • Bug fix: Loading maps with multiple z levels did not work.
  • When loading a map you now get an associative list with z-level -> block() of turfs back.
Version 1.0
  • Initial release.


YURIRAMOS: (Jul 4 2017, 9:29 pm)
/nq_dmm/proc/SaveMap(file, turf/lb, turf/ub)
if(!file) return

If your use this command with null file the code will delete a lot of .dmi files non used in game, included used only in the skin. I recomend add this to prevent.
GreatPirateEra: (May 2 2016, 8:04 am)
NullQuery wrote:
Fork me on GitHub

I like this.
FKI: (May 1 2016, 6:55 am)
Your contributions are much appreciated.