MapEditr: The Fastest Command-Line World Editor

Post Reply
random_geek
Member
Posts: 55
Joined: Wed Jun 20, 2018 18:55
GitHub: random-geek
In-game: Techy5 random_geek

MapEditr: The Fastest Command-Line World Editor

by random_geek » Post

Image

MapEditr is an external command-line world editor for Minetest. It shares much of the functionality of WorldEdit, but is significantly faster and can edit areas as large as an entire world. MapEditr is designed for server administrators, mod developers, and anyone else who wants to quickly edit large portions of Minetest maps.

Déjà vu? MapEditr is the successor to MapEdit (without the 'r'). Although the two are similar, MapEditr is faster, more advanced, and hopefully easier to use.

Features:
  • 12 subcommands: set, replace, or modify nodes; copy areas; combine multiple worlds; replace items in chests and other nodes; selectively delete entities; delete mapblocks; and vacuum (shrink) map files.
  • Target specific nodes or entities, include or exclude a given area, or do both or neither.
  • Edit any size area (even the entire map, if you want).
Downloads, details, and full documentation are available in the GitHub repository. Feel free to ask questions, and please submit any bug reports on GitHub (or here, if you don't have a GitHub account).

GitHub: https://github.com/random-geek/MapEditr
License: MIT

twoelk
Member
Posts: 1482
Joined: Fri Apr 19, 2013 16:19
GitHub: twoelk
IRC: twoelk
In-game: twoelk
Location: northern Germany

Re: MapEditr: The Fastest Command-Line World Editor

by twoelk » Post

sounds pretty cool (havn't tested yet though)

looking at the replace/delete nodes functions, maybe being able to read from an input file might be useful. It might be easier to create a list of nodes to be manipulated in a file than typing every node name into a command line.
Thinking about that - how about using input files for coordinates as well.
Imagine defining several sets of coordinates that the tool works on in series like some batch command file.

User avatar
rubenwardy
Moderator
Posts: 6978
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: MapEditr: The Fastest Command-Line World Editor

by rubenwardy » Post

MapEditr sounds like a dating site for cartographers

Looks cool though
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

DOOM_possum
Member
Posts: 172
Joined: Sat Mar 27, 2021 22:06
In-game: DOOM_possum

Re: MapEditr: The Fastest Command-Line World Editor

by DOOM_possum » Post

cool, it's good to focus on Map Editors, every now and then

random_geek
Member
Posts: 55
Joined: Wed Jun 20, 2018 18:55
GitHub: random-geek
In-game: Techy5 random_geek

Re: MapEditr: The Fastest Command-Line World Editor

by random_geek » Post

twoelk wrote:
Fri May 28, 2021 10:16
sounds pretty cool (havn't tested yet though)

looking at the replace/delete nodes functions, maybe being able to read from an input file might be useful. It might be easier to create a list of nodes to be manipulated in a file than typing every node name into a command line.
Thinking about that - how about using input files for coordinates as well.
Imagine defining several sets of coordinates that the tool works on in series like some batch command file.
That's an interesting thought, although I can see it getting complicated pretty fast. Maybe some sort of JSON or YAML type file would be needed?
rubenwardy wrote:
Fri May 28, 2021 12:35
MapEditr sounds like a dating site for cartographers

Looks cool though
Yeah, I figured I'd jump on the bandwagon of dropping random vowels from names. 😉

User avatar
DrFrankenstone
Member
Posts: 231
Joined: Tue May 24, 2016 05:36
GitHub: treer
Location: Australia
Contact:

Re: MapEditr: The Fastest Command-Line World Editor

by DrFrankenstone » Post

<wrongheaded request deleted>

c56
Member
Posts: 307
Joined: Wed Apr 21, 2021 03:05
GitHub: tigercoding56
In-game: bm5 or bemo5 also sell_her_on55

Re: MapEditr: The Fastest Command-Line World Editor

by c56 » Post

DrFrankenstone wrote:
Tue Aug 10, 2021 03:12
<wrongheaded request deleted>
this makes forums so much less readable just make the text a spoiler with the title <wronghead request deleted >
this is a signature not a place to post messages also if i could change my username i would change it to sell_her_on55

Hop1701
New member
Posts: 2
Joined: Sun Oct 09, 2022 20:37

Re: MapEditr: The Fastest Command-Line World Editor

by Hop1701 » Post

Hello, Mapeditr does not work correctly with Maps from 5.50 or newer... no Zstd Compression.
No Errors, but newly generated (Zstd-compressed) Blocks could not be read by mapeditr and are simply missing.
It would be really nice if this could be updated.

random_geek
Member
Posts: 55
Joined: Wed Jun 20, 2018 18:55
GitHub: random-geek
In-game: Techy5 random_geek

Re: MapEditr: The Fastest Command-Line World Editor

by random_geek » Post

Hop1701 wrote:
Sun Oct 09, 2022 21:03
Hello, Mapeditr does not work correctly with Maps from 5.50 or newer... no Zstd Compression.
No Errors, but newly generated (Zstd-compressed) Blocks could not be read by mapeditr and are simply missing.
It would be really nice if this could be updated.
Thanks, I wasn't aware of the mapblock serialization version bump. I will add this to my list.

random_geek
Member
Posts: 55
Joined: Wed Jun 20, 2018 18:55
GitHub: random-geek
In-game: Techy5 random_geek

Re: MapEditr: The Fastest Command-Line World Editor

by random_geek » Post

Update: MapEditr v1.1.0 released! Now works with maps from Minetest 5.5.0 and later. Check the GitHub page for changes, downloads, etc.

User avatar
Mr. Rar
Member
Posts: 111
Joined: Tue Oct 04, 2016 20:13
GitHub: MrRar
In-game: MrRar

Re: MapEditr: The Fastest Command-Line World Editor

by Mr. Rar » Post

I was able to prune my old world from 800MB to 30MB!
This program solved my problem: viewtopic.php?f=12&t=28828

This software is the bomb!
"Only in Christ do we find real love, and the fullness of life. And so I invite you today to look to Christ." - St. John Paul II

random_geek
Member
Posts: 55
Joined: Wed Jun 20, 2018 18:55
GitHub: random-geek
In-game: Techy5 random_geek

Re: MapEditr: The Fastest Command-Line World Editor

by random_geek » Post

Mr. Rar wrote:
Thu Nov 03, 2022 14:28
I was able to prune my old world from 800MB to 30MB!
This program solved my problem: viewtopic.php?f=12&t=28828

This software is the bomb!
Thank you, I'm glad you found it helpful!

Hop1701
New member
Posts: 2
Joined: Sun Oct 09, 2022 20:37

Re: MapEditr: The Fastest Command-Line World Editor

by Hop1701 » Post

Thank you so much! I cant live without this great Tool anymore...
My Map - I am playing it since 2014 - has a large "Core Area" and some far away "Colonies", and i dont want to let it get bigger than 1,2GB or so.

User avatar
mtvisitor
Member
Posts: 157
Joined: Sun Jul 10, 2022 08:54
IRC: mtvisitor
In-game: mtvisitor
Location: East China

Re: MapEditr: The Fastest Command-Line World Editor

by mtvisitor » Post

This command line tool (v1.1.0) which was written in Rust computer language is interesting. 🙂

I have installed in my laptop and I will try this tool (MapEditr) later.

Thank you very much for your help. 🤝
Crane Zhou | My mt. world, my mt. dream | No money, no happy.

jolpar
New member
Posts: 3
Joined: Sun Dec 04, 2022 13:50

Re: MapEditr: The Fastest Command-Line World Editor

by jolpar » Post

Really impressed by this tool, thanks a lot !

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 7 guests