Empty PNG - Does minecraft need to be installed for this to work? #83
-
Trying to run this on a server on DigitalOcean on an ubuntu machine and it was outputting an empty png (no errors though). So before creating an issue i just wanted to know if we need Minecraft installed for this to work because it worked fine on my windows machine. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
It does not, all mcmap requires is a save file ! This might be a format error, which version are you running ? |
Beta Was this translation helpful? Give feedback.
-
I have tried both cloning the repo and compiling the solution myself and v3.0.1 pre-compiled from the releases. They both have the same empty png output. And the savefile is from minecraft version 1.18.1. Let me know if there is an info i can provide to get this working thanks! |
Beta Was this translation helpful? Give feedback.
-
Hey so what you need to do first is check the map is not empty. I know this sounds dumb, but if it is a server, maybe the files have not been written; just make sure the region folder is not empty and the files contain data. Then, run |
Beta Was this translation helpful? Give feedback.
-
Hey so that was the issue. We just needed to roam around the map to load all the .mca files in the region folder. So i had a follow up question. I see that you just need the region files and the level.dat file. I just was curious why you use the level.dat file? Is it just to check the minecraft version or is there some more need? |
Beta Was this translation helpful? Give feedback.
Hey so what you need to do first is check the map is not empty. I know this sounds dumb, but if it is a server, maybe the files have not been written; just make sure the region folder is not empty and the files contain data.
Then, run
mcmap
with the-vv
flag. This enables the heavy debug and might provide explanations for this behaviour. Please paste it here so that I can look at it and we will open an error accordingly.