[Tool] mtmapprune [mtmapprune] Prune your map.sqlite fast!

Posts: 1255
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

[Tool] mtmapprune [mtmapprune] Prune your map.sqlite fast!

by sofar » Mon Oct 02, 2017 20:17

Project website: https://github.com/minetest-tools/mtmapprune
License: LGPL-2.1+ MIT
Binaries: Linux X86_64: https://github.com/minetest-tools/mtmapprune/releases

Prunes your map.sqlite and deletes blocks outside a specified range.


Code: Select all
mtmapprune map.sqlite x_limit [y_limit] [z_limit]

If omitted, y_limit and z_limit default to the value of the x_limit. The limits are node positions, not "block positions".

Example: to prune all nodes with x and z > 1000, and x and z < -1000 and y > 200, and y < 200, use:

mtmapprune map.sqlite 1000 200

mtmapprune works really fast by marking all the blocks outside the reserve region as deleted, and then vacuuming the sqlite db. This makes sqlite do all the work and removes all the empty unused space from your sqlite db file.

Return to Minetest-related projects

Who is online

Users browsing this forum: No registered users and 2 guests