equalpants / pigmap

Minecraft map generator
https://github.com/equalpants/pigmap/wiki/Example-maps
GNU General Public License v3.0
129 stars 43 forks source link

Request: Nether Support #26

Open attrib opened 13 years ago

attrib commented 13 years ago

It would be very cool, if you have an option to show the Nether. Actualy i don't now how/where notch saves the nether since 1.6.

equalpants commented 13 years ago

I'll probably get around to this one day, probably along with a more general "cave mode".

dnelson commented 13 years ago

Cave mode would be awesome!

neonerz commented 12 years ago

Is this feature still unavailable? I found a MC Forums post of someone saying they did it (http://www.minecraftforum.net/topic/343189-a-typical-nether-map-rendered-using-pigmap/) but whenever I run it all I get is: no regions detected; assuming chunk-format world scanning world data... nothing to do! (no required tiles)

I used pretty much the same command I used to generate my overworld map. I tried with and without specifying -y -Y

./pigmap -B 6 -T 1 -Z 10 -i /igc/gbove/minecraft/RAC_nether -o /var/www/html/rac-map-nether -g /igc/gbove/minecraft/pigmap -h 4

./pigmap -B 6 -T 1 -Z 10 -i /igc/gbove/minecraft/RAC_nether -o /var/www/html/rac-map-nether -g /igc/gbove/minecraft/pigmap -h 4 -y 50 -Y 100

My world is in /igc/gbove/minecraft/RAC_nether, and blocks-6.png and terrain.png is located in /igc/gbove/minecraft/pigmap

jegol commented 12 years ago

@neonerz I've made Nether maps recently. They're somewhat useful, though nowhere near as useful as Overworld maps are (because the Nether is basically a world full of caves of varying sizes, the "cave" walls get in the way, and hide some map features you might need for navigation).

If you peek inside your world folder, you'll see DIM1 and DIM-1 folders. DIM-1 contains the Nether, and DIM1 contains the End. Either could be empty if you haven't visited them, or will contain a "region" folder that in turn has the .mcr and/or .mca world region files.

Point it at the DIM-1 folder to map the Nether (so use "/igc/gbove/minecraft/RAC_nether/DIM-1/", assuming "RAC_nether" is the folder containing the Overworld "region" folder). You'll need to use the -Y option (maximum Y coord) to avoid just mapping the ceiling, and perhaps the -y option if you find the lower levels confusing things (it can look a bit messy). The best way I found was to map it in slices if you're looking for a specific feature. It's not useful for a public server, or if you're using it for general gameplay in a single-player world, I found it difficult to compile a map for normal use when I tried it.

neonerz commented 12 years ago

Thanks a lot, that hit the spot. I was pointing it to the the world_nether folder, I just pointed it to world_DIM-1 like you said and it worked like a charm.

I'm using it to map out peoples portals on my server so we could figure out the best setup for nether transport.

jegol commented 12 years ago

NP, glad to have helped! Hadn't thought of mapping portals with it, though, that would make it more useful.