A Minecraft map renderer written in C.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
resources
src
web
.gitignore
.gitmodules
COPYING
Makefile
README.md
map-iso-day.png
map-iso-night.png
map-ortho-day.png
map-ortho-night.png

README.md

cmapbash

A Minecraft map renderer written in C.

Uses the following libraries:

Supports orthographic and isometric rendering.

Options so far:

  • -i - Isometric mode.
  • -d - Dark mode.
  • -s - Render sunlight shadows in isometric mode.
  • -b - Render biome colours.
  • -t - Tiny mode. Renders a quick minimap of all existing chunks.
  • -n - Render nether dimension. Overrides -e.
  • -e - Render end dimension.
  • -w <directory> - The path to the Minecraft world folder (required).
  • -o <filename> - The path at which to save a single image. Defaults to map.png, unless -g is specified, in which case defaults to none.
  • -g <directory> - The directory in which to save a set of tiles, suitable for use with Google Maps. This will create subfolders for a number of zoom levels, depending on the map's size.
  • -r <#> - Rotate the map # x 90 degrees clockwise. By default, north is at the top in orthographic mode, and northwest is at the top in isometric mode.
  • -F <Y> -T <Y> - Render only the vertical slice from one height to the other.
  • -F <X>,<Z> -T <X>,<Z> - Render only the rectangular area from one corner to the other.
  • -F <X>,<Y>,<Z> -T <X>,<Y>,<Z> - Render only the cuboid from one set of coordinates to the other.

This happens to be my first C project.