Giter VIP home page Giter VIP logo

mapeditr's Introduction

MapEditr

MapEditr is a command-line tool for fast manipulation of Minetest worlds. It can replace nodes and items, 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 within Minetest. Since it is mainly optimized for speed, MapEditr lacks some of the more specialty features of WorldEdit.

MapEditr was originally based on MapEdit, except written in Rust rather than Python (hence the added "r"). Switching to a compiled language will make MapEditr more robust and easier to maintain in the future.

Compilation/Installation

Option 1: Pre-built releases

If you are using Windows and don't have Rust installed, you can download a build of the latest release of MapEditr from the Releases page. Only 64-bit Windows builds are currently available.

To run the mapeditr command from anywhere, the path to the executable file must be included in your system's Path variable. Here is one article explaining how to edit the Path variable on Windows.

Option 2: Install using Cargo

This method works on any operating system. To use Cargo, you must have Rust installed first, which can be downloaded from the Rust website. Then, simply run:

cargo install --git https://github.com/random-geek/MapEditr.git

This will download MapEditr and install it to $HOME/.cargo/bin. After installing, you should be able to run MapEditr from anywhere with the mapeditr command.

Option 3: Build normally

If you don't wish to install MapEditr, you can build it normally using Cargo. In the MapEditr directory, run:

cargo build --release

The --release flag is important, as it produces an optimized executable which runs much faster than the default, unoptimized version. The compiled executable will be in the target/release directory.

Usage

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

These are just a few of the 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.
  • Selectively delete entities and/or dropped items using deleteobjects.
  • Combine multiple worlds or map saves with overlay.

License

MapEditr is under the terms of the MIT license as defined in LICENSE.txt.

Additionally, if you use code from MapEditr in another project, I would greatly appreciate a reasonable acknowledgement/attribution of MapEditr in your project's readme or documentation.

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.

mapeditr's People

Contributors

random-geek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

takaaptech

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.