It cannot extract grasscolor.png and foliagecolor.png from server jars because they aren't distributed with the server jar. I just double checked and it should still be fine with client minecraft.
There was a small bug I noticed when using it from the command line though. If you specified an output directory manually, it ignores the setting and puts the grass and foliage color pngs in the old default location: world folder/EXTRACTEDBIOMES.
I'll fix that and include some default images for users of the server jar. I just have to make them myself because I can't distribute stuff copyright Mojang.
Updated de-obfuscation strings (client now matches 100%)
Fixed outputDir getting ignored on the command line when saving grass,foliagecolor.png
Includes default images which will be written to extracted biomes even if you are working with the server jar
Discovering minecraft.jar interface...
Match strength: 76% Save class is: cn
Match strength: 40% Biome Gen class is: em
Could not bind BiomeGenerator Constructor
Minecraft version was incompatible
Failed to bind to Minecraft, cannot generate biomes.
Review the above messages to see if there's anything you can do about it.
If not, check online for a new version.
Biome Extractor's file format will be changing a little bit to make more sense re: mcregion saves
The folder containing the biomes is changing name. "EXTRACTEDBIOMES" is now called just "biomes" to fit in better. The files inside will now be in 32x32 chunks (instead of the old 8x8) and the naming scheme will mimic the mcregion file format:
and so on. The stuff inside will be identical though, just longer. Should mean that each file will be 512KB.
Sorry for the break in compatibility but it's a change that's badly needed and I figure now is a good time to do it. I'll post some sample output / the updated utility as soon as it's ready.
- Updated for Beta 1.3 compatibility, both client 1.3_01 and whatever server version is current
- Populates GUI menu with all named worlds (Instead of just World1, World2, etc)
- More robust reflection signatures
- New file format
- Auto generation works on regions rather than a global bounding box
- Greatly improved performance
Running an old version of minecraft? That's all that springs to mind. That error is saying that it couldn't find the save handler class at all, which would only happen if you pointed it at a pre Beta 1.3 jar.
Ok, it's not the null pointer causing problems. More likely since you are using a server, you're not quite invoking MBE properly and that's causing problems. Here's how to use it properly in a server environment:
java -jar MinecraftBiomeExtractor.jar -jar minecraft_server.jar -nogui world
To break it down, this part is how to launch MBE:
java -jar MinecraftBiomeExtractor.jar
This part tells MBE exactly which minecraft jar to use (server is fine, so is client):
This part tells MBE not to draw an interface, good for headless servers:
This part says where the world folder is that you want to process:
Output will look like this:
Match strength: 60% Handler interface is: mi
Match strength: 67% Handler class is: cw
Match strength: 84% Save class is: cp
Match strength: 93% Biome Gen class is: nc
Server software detected.
Match strength: 100% Server random class is: mn
Locating Minecraft save...
Calculating biome values...
Scanning save folder...
World Size: 9 regions
Saving biome data... (press esc to cancel)
11% ... 22% ... 33% ... 44% ... 55% ... 66% ... 77% ... 88% ...
Done! This world is now ready to be used with a biome-capable
mapping program such as mcmap. If your boundaries expand, you will need
to come back and re-process. (It will be much faster the second time)
You may now exit or select another world to process.
Thanks Donkey Kong, but next time don't make me read all the way to Page 4 to get the answer to my Null Pointer error... a lot of people run this utility on their servers, so it would be nice to have special instructions in the OP about this. :wink.gif:
The biome extractor looks like it's doing what it's supposed to do? Would you mind posting one of the .biome files here? Doesn't matter which one. I'll just check what's inside it. If it looks all right, then I guess I'd refer you to the mcmap thread.
Your biome file looks perfectly fine. There are varied biome values all across it. If your maps are coming out flat, it's the renderer. Make sure there are no obvious error messages from mcmap then ask in there. Sorry it isn't anything I can fix.
DonkeyKong, many thanks for your work on Biome Extractor. Along with MCmap it has made a wonderful difference to how I view Minecraft at the end of a big build session and the maps produced are simply stunning. Most definately one of those can't do without programmes.
Version 0.8 works perfectly with 1.4 client. No idea about server. I basically don't play minecraft anymore but I still enjoy maintaining these utilities (go figure). So if something is broken, let me know and I'll fix it. Otherwise I'll assume everything is still fine.