Go to file
random-geek 6db7c73ff0 Turn area functions into methods 2021-03-09 00:14:54 -08:00
src Turn area functions into methods 2021-03-09 00:14:54 -08:00
.gitignore MapBlock caching part 2 2021-02-08 23:51:04 -08:00
Cargo.lock First commit 2021-01-19 00:00:37 -08:00
Cargo.toml First commit 2021-01-19 00:00:37 -08:00
Manual.md MapBlock caching part 2 2021-02-08 23:51:04 -08:00
README.md NameIdMap, error handling clean-up 2021-03-06 15:01:46 -08:00

README.md

MapEditr

TODO: Add a license.

MapEditr is a command-line tool for relatively fast manipulation of Minetest worlds. It can replace nodes, fill areas, combine parts of different worlds, and much more.

This tool is functionally similar to WorldEdit, but designed for large operations that would be impractical to do using WorldEdit. Since it is mainly optimized for speed, MapEditr is not as full-featured as in-game world editors such as WorldEdit.

MapEditr is originally based on MapEdit, but rewritten in Rust, hence the added "r". Switching to a compiled language will make MapEditr more robust and easier to maintain in the future.

Installation

TODO: Pre-built binaries

To compile from source, you must have Rust installed first, which can be downloaded from here. Then, in the MapEditr directory, run:

cargo build --release

The --release flag is important, as it optimizes the generated executable, making it much faster.

Usage

For an overview of how MapEditr works and a listing of commands and their usages, see Manual.md.

Some useful things you can do with MapEditr:

  • Remove unknown nodes left by old mods with replacenodes.
  • Build extremely long walls and roads in seconds using fill.
  • Combine multiple worlds or map saves with overlay.

Acknowledgments

The Minetest project has been rather important for the making of MapEdit/ MapEditr, for obvious reasons.

Some parts of the original MapEdit code were adapted from AndrejIT's map_unexplore project. All due credit goes to the author(s) of that project.

Thank you also to ExeterDad and the moderators of the late Hometown server, for partially inspiring MapEdit/MapEditr.