A BYOND language smartness provider, map renderer, and more.
Find a file
2018-03-20 21:01:30 -07:00
src Use the reference as the location of builtins 2018-03-18 14:33:15 -07:00
.gitignore Initial commit 2017-10-18 18:00:12 -07:00
appveyor.yml Add CI 2018-03-20 15:40:59 -04:00
Cargo.lock Disable editor and qt-extras packages 2018-03-20 21:01:30 -07:00
Cargo.toml Disable editor and qt-extras packages 2018-03-20 21:01:30 -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.