Hmm. It appeared to work ok the second time. (The first time, I had minecraft running in the background, without any worlds loaded.) Apologies for the noise.
Hey Donkey, when you make a new version, could you save one copy like you do now (with the version in the name), and another without? It is a lot more convenient for us (the server admins) if there is a single URL that just contains the newest version, and doesn't change when you update. Like http://dl.dropbox.com/u/107712/MCMap/Minecraft-Biome-Extractor-Latest.zip.
You don't have to do this, I know it's an extra step to annoy you, but just so you know I'd appreciate it if you did. Thank you for this app, it has improved the look of my maps a lot.
So I want to run this on a Linux VPS. How do I get this to run without actually installing minecraft on this machine. I tried copying the minecraft.jar from my windows machine into the same folder as the minecraftbiomeextractor.jar and no luck. How do I get around this?.....
java -jar MinecraftBiomeExtractor.jar -nogui /home/likwidtek/minecraft/world-offline/
Discovering minecraft.jar interface...
Failed to locate minecraft.jar
Path: /home/likwidtek/.minecraft/bin/minecraft.jar
Minecraft doesn't appear to be installed!
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.
EDIT... for those of you retarded like me... you have to create the folder...
/home/username/.minecraft/bin/ then copy the minecraft.jar from your windows machine to the bin folder and it runs fine.
The next version will work off minecraft_server.jar too and allow you to specify the jar location of the command line. I'll look into keeping a stable location with the latest version but I don't want people polling the URL to look for updates.
The next version will work off minecraft_server.jar too and allow you to specify the jar location of the command line. I'll look into keeping a stable location with the latest version but I don't want people polling the URL to look for updates.
Create an maintain an easily processable text file that people can use to detect updated versions instead, then.
A format such as JSON is easily usable for this for many different languages. Just have an entry for version stamp, release date, whatever.
Why does it modify the minecraft.jar?
I have a huge problem with anything modifying the client files.
It deletes the mojang signature file so that it can link against the jar file without throwing a security exception. It doesn't modify anything that executes, just a little JVM book keeping thing. There is no effect of any kind on the function of minecraft.
$ java -jar biomeextract/MinecraftBiomeExtractor.jar -nogui ./rsyncworld
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment
it doesn't open a GUI but the fact that it still errors out if there is not one available makes it not scriptable...
Make sure you have the newest version in the first post. In old versions, the command line stuff still called the GUI classes. That's all been abstracted out now.
If it still does that, then there is a fix in the latest google code stuff, which lets you use minecraft_server.jar to generate the biomes, but I'm not sure if that's stable. I'll check later and make another official release.
where does it search for minecraft_server.jar and/or is there a way to specify what file it uses? I'd like for it not to use/modify the server jar file as I am hosting the server off of it
where does it search for minecraft_server.jar and/or is there a way to specify what file it uses? I'd like for it not to use/modify the server jar file as I am hosting the server off of it
You specify it on the command line with a -jar path/to/minecraft_server.jar
java -jar MinecraftBiomeExtractor.jar -nogui -jar minecraft_server.jar world
assuming MBE, the server jar, and the world folder are all in the current working directory.
It won't modify a server jar (no mojang signatures) but you could duplicate the server jar and point it at that one in case if you want.
I don't know if it's intended or not, but my Minecraft world has some way-off chunks that MBE doesn't seem to extract. From Overviewer:
IOError: [Errno 2] No such file or directory: '/home/minecraft/minecraft-smp/world/EXTRACTEDBIOMES/62496.62496.biome'
Not sure if that's intended or not. Generating biome data for that much zoom level is probably prohibitively expensive.
Any chunks that are more than 4096 from the origin are just ignored when calculating the bounds. That's hardcoded in exactly so that stray chunks super far away won't cause it to generate an absurd amount of data. I can't really think of a better, general solution to this problem.
Connected component is expensive and can legitimately fail if you use the nether to warp. Making sure each chunk adjoins at least one other can fail because stray chunks can be generated in sets of two or more. I guess at some point I should create some sort of data structure that hashes out what chunks exist and then generates the biome values for only those.
sorry to bother you again but I'm having problems with the new version
using 0.7 with the latest, or the b1.1 server jar makes the mapper complain that the pngs it needs are not there. If I run with the last version it works fine.
sorry to bother you again but I'm having problems with the new version
using 0.7 with the latest, or the b1.1 server jar makes the mapper complain that the pngs it needs are not there. If I run with the last version it works fine.
I can upload my world file if you need
I can confirm this, I set up your MBE for the first time today, it is generating the .biomes, but not the png color maps.
You don't have to do this, I know it's an extra step to annoy you, but just so you know I'd appreciate it if you did. Thank you for this app, it has improved the look of my maps a lot.
Myrddin
EDIT... for those of you retarded like me... you have to create the folder...
/home/username/.minecraft/bin/ then copy the minecraft.jar from your windows machine to the bin folder and it runs fine.
Create an maintain an easily processable text file that people can use to detect updated versions instead, then.
A format such as JSON is easily usable for this for many different languages. Just have an entry for version stamp, release date, whatever.
Dunno about that, but I know there's Updatr for hMod plugins which does that. :\
It doesn't- it only needs to refer to some of the code therein, and the author (rightly) doesn't want to redistribute Notch's code without permission.
It deletes the mojang signature file so that it can link against the jar file without throwing a security exception. It doesn't modify anything that executes, just a little JVM book keeping thing. There is no effect of any kind on the function of minecraft.
it doesn't open a GUI but the fact that it still errors out if there is not one available makes it not scriptable...
If it still does that, then there is a fix in the latest google code stuff, which lets you use minecraft_server.jar to generate the biomes, but I'm not sure if that's stable. I'll check later and make another official release.
I guess I'll take a look at the google code page
Link Removed
You specify it on the command line with a -jar path/to/minecraft_server.jar
java -jar MinecraftBiomeExtractor.jar -nogui -jar minecraft_server.jar world
assuming MBE, the server jar, and the world folder are all in the current working directory.
It won't modify a server jar (no mojang signatures) but you could duplicate the server jar and point it at that one in case if you want.
IOError: [Errno 2] No such file or directory: '/home/minecraft/minecraft-smp/world/EXTRACTEDBIOMES/62496.62496.biome'
Not sure if that's intended or not. Generating biome data for that much zoom level is probably prohibitively expensive.
forum: http://minecraft.novylen.net
We have cookies.
Any chunks that are more than 4096 from the origin are just ignored when calculating the bounds. That's hardcoded in exactly so that stray chunks super far away won't cause it to generate an absurd amount of data. I can't really think of a better, general solution to this problem.
Connected component is expensive and can legitimately fail if you use the nether to warp. Making sure each chunk adjoins at least one other can fail because stray chunks can be generated in sets of two or more. I guess at some point I should create some sort of data structure that hashes out what chunks exist and then generates the biome values for only those.
using 0.7 with the latest, or the b1.1 server jar makes the mapper complain that the pngs it needs are not there. If I run with the last version it works fine.
I can upload my world file if you need
I can confirm this, I set up your MBE for the first time today, it is generating the .biomes, but not the png color maps.
Glad its not just me :biggrin.gif: