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...
28
96 recipes
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:
b.0.0.biome
b.-1.0.biome
b.0.-1.biome
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):
-jar minecraft_server.jar
This part tells MBE not to draw an interface, good for headless servers:
-nogui
This part says where the world folder is that you want to process:
world
Output will look like this:
143 recipes
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
Ready!
Opening world...
Locating Minecraft save...
Level Loaded!
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.
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.
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
Link Removed
MaxTemperature=1.0
MinTemperature=0.0
MaxMoisture=1.0
MinMoisture=0.0
I really need to be able to controll the biomes.
As you can see in my sig.
viewtopic.php?f=1020&t=138722&p=2004768#p2004768
Discovering minecraft.jar interface...
28
96 recipes
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.
The volume of a pizza of thickness a and radius z can be described by the following formula: pi*z*z*a
The volume of a pizza of thickness a and radius z can be described by the following formula: pi*z*z*a
Thank you for your work.
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:
b.0.0.biome
b.-1.0.biome
b.0.-1.biome
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
Link Removed
Damn. Let me see what I can do.
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):
-jar minecraft_server.jar
This part tells MBE not to draw an interface, good for headless servers:
-nogui
This part says where the world folder is that you want to process:
world
Output will look like this:
Right below the screenshot.
Admittedly, it doesn't show the manual jar selection.
Thanks, mate.
The volume of a pizza of thickness a and radius z can be described by the following formula: pi*z*z*a