Restitutor is the pride of <SUBJECT HOMETOWN HERE>

Farlands Map Upgrade Process

No replies
RestitutorOrbis's picture
Name: RestitutorOrbis (Restitutor)
Joined: Aug 24 2014

An idea was given to translate the existing farlands map 128 blocks upwards and then paste a vertically reflected map below to create a 10 layer map.

First, a separate farlands map was opened in MCEdit and block replacements for the layers 6 - 10 performed.
Iron, gold, diamond, lapis, coal, redstone ores became their solid blocks after 5 replacements (15 mins each).
Pine logs and pine leaves became mushroom blocks and then all data types for remaining logs and leaves were made the other type of mushroom.
A schematic was then taken of this farlands map.

Afterwards, MC9 was shutdown and the nudge tools used in MCEdit to select the bottom 0 - 127 blocks by Y-coord and Cut as a schematic. The schematic was then repasted, but the nudge tool was again used to translate the schematic as high as possible to get to 0 - 127 range to 128 - 255.
A prior attempt involved taking the map and using the nudge tool, but with 16 block increments it took too long and was cancelled.

With the map now elevated, the schematic of the layer 6 - 10 map was pasted into the current and now elevated map, but with the schematic vertically flipped.

Lastly, a block replace was done from bedrock to obsidian.

Porting plugin data took a bit more effort.
A python program was written to take all the y-values on a yml file and add 128 which helped with Essentials' userdata and warps. The Essentials and Multiverse Core spawn data was manually incremented.

To port the CoreProtect db data so that all y-coords got incremented by 128 the following was run on the sqlite database.
Update co_block SET y = (SELECT y FROM co_block LIMIT 1) + 128;
The same was done for co_container and co_session.

To port positions of users, NBT data was editted and manually incremented with MCEdit.