This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # shiftmca.py - shift Minecraft region files (.mca) by a fixed number of regions | |
| # Useful to combine multiple worlds into one world, with a region-level granularity | |
| # You can't simply rename the r.#.#.mca files, because they contain embedded location | |
| # information (which will cause "relocating" errors). This script fixes that. | |
| # To use: | |
| # 1. rename each r.<x>.<z>.mca adding 20 (or whatever needed to avoid overlap) to each <x> | |
| # 2. edit the variables below appropriately to match your setup | |
| # 3. run this script |
OlderNewer