Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 1.5 KB

README.md

File metadata and controls

47 lines (33 loc) · 1.5 KB

rmapbash

Minecraft map renderer

Reads a saved Minecraft world from disk and outputs a rendered .PNG image.

Isometric day mode

Isometric night mode

Orthographic day mode

Orthographic night mode

Features so far

  • Orthographic (top-down) or isometric (oblique) viewing angle.
  • Day or night lighting mode.
  • Nether and End supported; just point to the DIM-1 or DIM1 subdir of the save dir.
  • Render part of a world by passing coordinates at two corners of a bounding box; e.g. -b 10 20 200 400 to render only the area between (10, 20) and (200, 400).
  • Render a vertical slice by passing min/max Y values; e.g. -y 20 100.
USAGE:
    rmapbash [FLAGS] [OPTIONS] <INPATH> [OUTPATH]

FLAGS:
    -h, --help         Prints help information
    -i, --isometric    Isometric view
    -n, --night        Night lighting
    -V, --version      Prints version information

OPTIONS:
    -b, --blocks <N> <W> <S> <E>    Horizontal block limits
    -y, --yblocks <MIN> <MAX>       Vertical block limits

ARGS:
    <INPATH>     Path to either a save directory or a .dat file
    <OUTPATH>    Path to an output .png file [default: world.png]

About

This is my first project in Rust; I've been using it to learn the language.

It's a reimplementation of my first C project, cmapbash, which is what I used to learn that language.