overviewer / Minecraft-Overviewer

Render high-resolution maps of a Minecraft world with a Leaflet powered interface
https://overviewer.org/
GNU General Public License v3.0
3.35k stars 480 forks source link

Empty Map on CubicChunks/TerraMap worlds #1879

Open KarmCraft opened 3 years ago

KarmCraft commented 3 years ago

I am trying to create a render of a map that was generated with the CubicChunks and Terramap mod (for the BuildTheEarth.net Project). The output is empty. Here is the relevant config:

renders["north"] = { "world": "BTE-Test", "title": "NORTH", "dimension": "overworld", "rendermode": "smooth_lighting", "northdirection": "upper-right", "showspawn": "false", "imgformat": "jpg", "changelist": "../../output/changelists/changes.txt", "crop": (3023400, 3023500, -4794400, -4794500), "bgcolor": "#343A40" }

Can you point me in the right direction?

KarmCraft commented 3 years ago

By forking and analyzing the code I realize how naïve I was in thinking that a BTE world (generated with OpenCubicChunks mod) could be rendered with this. I'm still pretty green on the topic..

OpenCubicChunks is used to disable the height limit (because the real world is higher than 256m 😉) and generates .3dr files instead of .mca. I have edited the code so that I'm trying to read not just .mca, but also .3dr files. Overviewer then throws because of corrupted chunks. It would have been too nice if this would have worked on first try 😄

The naming schema of .3dr files is "-1.-1.-1.3dr" instead of "r.-1.-1.mca" so it look like they have 3 coordinates instead of 2. Before I deep down into the details of the 3dr format in OpenCubicChunks, I want to ask if anyone has experience with it or if I could be pointed into the right direction on how to extract the right information from the .3dr file so that they can be interpreted correctly by Overviewer?

Thanks in advance