A BYOND language smartness provider, map renderer, and more.
Find a file
2018-04-17 18:59:03 -07:00
src Improve the accuracy of the macro interpolation bug checker 2018-04-17 18:59:03 -07:00
.appveyor.yml Adjust Appveyor caching to match Travis 2018-03-21 14:46:44 -07:00
.gitignore Initial commit 2017-10-18 18:00:12 -07:00
.travis.yml Add Travis config and run tests on Appveyor 2018-03-20 23:11:01 -07:00
Cargo.lock Add an extra notification to make environment loading less noisy 2018-04-17 18:56:31 -07:00
Cargo.toml Add interval-tree crate based on theban_interval_tree 2018-03-29 23:23:31 -07:00
LICENSE Initial commit 2017-10-18 18:00:12 -07:00
README.md Fix spelling error in readme 2018-01-31 11:37:42 -08:00

SpacemanDMM

SpacemanDMM is a suite of tools for working with DreamMaker codebases and map files. Most prominently it features a map renderer which emulates many in-game graphical enhancements not usually visible in the map editor, including overlays and smoothing. These features currently assume /tg/station13, but are highly likely to work on downstreams or closely related codebases.

Installation

  1. Clone the repository to your machine.
  2. Install Rust or update your existing installation.
  3. In your SpacemanDMM directory, run cargo build -p cli.
    • -p cli is used to build only the command-line tools and not the editor, which requires Qt.
    • Add --release for a release build, with slightly more optimization flags set.

Usage

Executables are placed in target/debug or target/release depending on build type. The CLI binary is known as dmm-tools. For best results, run from the directory containing tgstation.dme.

Basic usage: dmm-tools minimap -o dir/to/save/minimap path/to/map.dmm.

More detailed usage instructions are available in the --help output.

Recommendations

The minimap output is a very large PNG (e.g. 9.3 MB for Box). You are strongly advised to run the resulting file through image optimization software such as pngcrush. The --pngcrush option to the minimap subcommand can do this automatically in many cases, but is off by default for speed reasons.