PLEASE GIVE ME SOME DETAILS ABOUT YOUR SYSTEM AND ABOUT MINECRAFT IF YOU EXPECT HELP. A REPORT THAT SAYS IT DOESN'T WORK IS USELESS.
Might want to include that in your java output. Something akin to uname -a, but for your program's purposes would probably help you out more in the end. :wink.gif:
I have Windows 7.
And I've only downloaded one texture pack. It was Painterly Pack.
After I downloaded that pack, the extractor stopped working.
It may be because of the texture pack I downloaded.
I have Windows 7.
And I've only downloaded one texture pack. It was Painterly Pack.
After I downloaded that pack, the extractor stopped working.
It may be because of the texture pack I downloaded.
How did you install the pack? Just putting it in the texturepacks folder? Did you mess with minecraft.jar at all.
Minecraft Biome Extractor (v0.4 beta)
By Donkey Kong
Discovering minecraft.jar interface...
Removed MOJANG signatures.
Match strength: 0.6369426751592356% Deobfuscation of minecraft.jar failed.
Signature match for save class not found.
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.
Setup failed, cannot extract biomes. See above for more details.
Setup failed, cannot extract biomes. See above for more details.
Why do this happen??
Having the same problem here too. On windows Vista
There's a minor tweak to the classloader that might fix it and some additional error reporting that might reveal what's wrong. But basically, I'm flying blind here. I can't reproduce the problem on any systems and I don't know what's causing it aside from "Something is going wrong in the classloader".
I'm having a problem with this on server worlds. When I try to use it, I get spammed with "Could not generate biome vals for coords..." What's wrong?
EDIT: I'm getting this with all recently generated worlds, server or not.
EDIT: Turns out it didn't like my modded minecraft.jar. It works now.
EDIT: Ok, I can't for the life of me get this thing to work. At all. Just spams "Could not generate biome vals for coords..." with new worlds. With both singleplayer AND multiplayer worlds. I've even tried deleting my bin folder, still won't work!
EDIT: I generated a world on an unmodded minecraft.jar, ran the biome extractor, and it STILL gives the above error. I'm gonna say it's totally broken. Please fix it soon!
I'm having a problem with this on server worlds. When I try to use it, I get spammed with "Could not generate biome vals for coords..." What's wrong?
EDIT: I'm getting this with all recently generated worlds, server or not.
EDIT: Turns out it didn't like my modded minecraft.jar. It works now.
EDIT: Ok, I can't for the life of me get this thing to work. At all. Just spams "Could not generate biome vals for coords..." with new worlds. With both singleplayer AND multiplayer worlds. I've even tried deleting my bin folder, still won't work!
EDIT: I generated a world on an unmodded minecraft.jar, ran the biome extractor, and it STILL gives the above error. I'm gonna say it's totally broken. Please fix it soon!
Well, it's not totally broken, since it works for me and plenty of other people. Can you be more detailed about what you're doing and paste in the text output from the extractor? Obviously you can omit some of the 5 million "Could not generate biome vals for coords..." messages.
Looking at the code, here's the offending line:
try {
generateForLoaction.invoke(BiomeGenerator, arglist); // BiomeGenerator.a(i,j,1,1);
} catch (Throwable e1) {
log.append("Could not generate biome vals for coords..."+newline);
log.setCaretPosition(log.getDocument().getLength());
}
Which means that .invoke is throwing an exception, which makes no sense as long as there are no other errors ealier on.
I'm having a problem with this on server worlds. When I try to use it, I get spammed with "Could not generate biome vals for coords..." What's wrong?
EDIT: I'm getting this with all recently generated worlds, server or not.
EDIT: Turns out it didn't like my modded minecraft.jar. It works now.
EDIT: Ok, I can't for the life of me get this thing to work. At all. Just spams "Could not generate biome vals for coords..." with new worlds. With both singleplayer AND multiplayer worlds. I've even tried deleting my bin folder, still won't work!
EDIT: I generated a world on an unmodded minecraft.jar, ran the biome extractor, and it STILL gives the above error. I'm gonna say it's totally broken. Please fix it soon!
Well, it's not totally broken, since it works for me and plenty of other people. Can you be more detailed about what you're doing and paste in the text output from the extractor? Obviously you can omit some of the 5 million "Could not generate biome vals for coords..." messages.
Looking at the code, here's the offending line:
try {
generateForLoaction.invoke(BiomeGenerator, arglist); // BiomeGenerator.a(i,j,1,1);
} catch (Throwable e1) {
log.append("Could not generate biome vals for coords..."+newline);
log.setCaretPosition(log.getDocument().getLength());
}
Which means that .invoke is throwing an exception, which makes no sense as long as there are no other errors ealier on.
Well, I can't post the log, since it completely freezes up. The thing is, it works on my old worlds, but my new worlds cause the error. I used an unmodded minecraft.jar, generated a world on World 5, selected World 5 in the biome extractor, and it gave me that error. I've also tried Other world slots, and manually selecting a world folder from my server, still gives the same error. I even tried it from the command line, same thing. I'm at a loss...
EDIT: Ok I managed to get the log somehow through command line, here it is:
Minecraft Biome Extractor (v0.5 beta)
By Donkey Kong
Discovering minecraft.jar interface...
Match strength: 100% Save class is: cx
Match strength: 100% Biome Gen class is: pm
Ready!
Select a world to extract its biomes.
Opening world...
Locating Minecraft save...
Level Loaded!
Calculating biome values...
Scanning save folder...
Could not generate biome vals for coords...
From there it's fill with "Could not generate biome vals for coords..." I don't know what's wrong.
Any chance you could post one of the broken saves? Just zip it and throw it on mediafire if you have no other way.
Just tested it on another computer and it worked fine. On my normal computer, it wouldn't work with any post-halloween worlds, but they all worked on the other computer. Any idea what's wrong?
None whatsoever. Try updating java? Make sure that the biome extractor has write access to the world? Though in theory, neither of those things should cause the issue that you're having.
None whatsoever. Try updating java? Make sure that the biome extractor has write access to the world? Though in theory, neither of those things should cause the issue that you're having.
How exactly to I update Java? I kinda ignored the auto-updater, and then it disappeared.
None whatsoever. Try updating java? Make sure that the biome extractor has write access to the world? Though in theory, neither of those things should cause the issue that you're having.
How exactly to I update Java? I kinda ignored the auto-updater, and then it disappeared.
Pretty neat! I'd like to add this into Tectonicus. It seems like this is command-line-only for now? Have you considered making this available as a library as well (with javadoc)? Since Tectonicus is java as well, it'd be nice just to call your code directly (passing in the paths to minecraft.jar and the chunk file etc.) and get back a BufferedImage or similar. That should be a lot more efficient than having to write it out to a file only for me to read it back in again...
There is a gui. You can just launch the jar with no arguments and get an interface. There's a screenshot of this in the OP. Or you can run from the command line.
It's not available as a library, but you can just take the source, which comes with it, and modify it. That would be fine.
The rationale behind writing out files to read back in two-fold:
1.) The biome extractor is not particularly lightweight. It opens a new instance of Minecraft to do its thing. Startup cost is high. Biome data is static.
2.) It's really pretty hack-y. So far, so good, but there's no guarantee that you won't wake up tomorrow with it broken by an update to minecraft. So while the data it produces is really nice, you'd want to keep it at arms length from any code you plan on maintaining.
Minecraft Biome Extractor (v0.5 beta)
By Donkey Kong
Discovering minecraft.jar interface...
Removed MOJANG signatures.
Match strength: 89% Save class is: cy
Match strength: 87% Biome Gen class is: po
Ready!
Select a world to extract its biomes.
But this helps, it looks like the same bug V96 was having on the previous page. But based on the new error-reporting code, which says that tons of classes are present (including cy and po, the new classes), the error isn't what I thought it was!
I'll see what I can do about it, thanks for the report.
Might want to include that in your java output. Something akin to uname -a, but for your program's purposes would probably help you out more in the end. :wink.gif:
And I've only downloaded one texture pack. It was Painterly Pack.
After I downloaded that pack, the extractor stopped working.
It may be because of the texture pack I downloaded.
viewtopic.php?f=1020&t=138722&p=2004768#p2004768
How did you install the pack? Just putting it in the texturepacks folder? Did you mess with minecraft.jar at all.
Nope. It just extracts biome data for a specific world, so it can be used in a map generation script (e.g. mcmap).
But I fixed it later by deleting the bin folder so that it will turn the jar file back to normal.
Still doesn't work.
viewtopic.php?f=1020&t=138722&p=2004768#p2004768
Having the same problem here too. On windows Vista
Link Removed
EDIT: I'm getting this with all recently generated worlds, server or not.
EDIT: Turns out it didn't like my modded minecraft.jar. It works now.
EDIT: Ok, I can't for the life of me get this thing to work. At all. Just spams "Could not generate biome vals for coords..." with new worlds. With both singleplayer AND multiplayer worlds. I've even tried deleting my bin folder, still won't work!
EDIT: I generated a world on an unmodded minecraft.jar, ran the biome extractor, and it STILL gives the above error. I'm gonna say it's totally broken. Please fix it soon!
viewtopic.php?f=1020&t=138722&p=2004768#p2004768
Well, it's not totally broken, since it works for me and plenty of other people. Can you be more detailed about what you're doing and paste in the text output from the extractor? Obviously you can omit some of the 5 million "Could not generate biome vals for coords..." messages.
Looking at the code, here's the offending line:
Which means that .invoke is throwing an exception, which makes no sense as long as there are no other errors ealier on.
Well, I can't post the log, since it completely freezes up. The thing is, it works on my old worlds, but my new worlds cause the error. I used an unmodded minecraft.jar, generated a world on World 5, selected World 5 in the biome extractor, and it gave me that error. I've also tried Other world slots, and manually selecting a world folder from my server, still gives the same error. I even tried it from the command line, same thing. I'm at a loss...
EDIT: Ok I managed to get the log somehow through command line, here it is:
From there it's fill with "Could not generate biome vals for coords..." I don't know what's wrong.
Just tested it on another computer and it worked fine. On my normal computer, it wouldn't work with any post-halloween worlds, but they all worked on the other computer. Any idea what's wrong?
How exactly to I update Java? I kinda ignored the auto-updater, and then it disappeared.
Download from Java.com: http://java.com/en/download/manual.jsp
There is a gui. You can just launch the jar with no arguments and get an interface. There's a screenshot of this in the OP. Or you can run from the command line.
It's not available as a library, but you can just take the source, which comes with it, and modify it. That would be fine.
The rationale behind writing out files to read back in two-fold:
1.) The biome extractor is not particularly lightweight. It opens a new instance of Minecraft to do its thing. Startup cost is high. Biome data is static.
2.) It's really pretty hack-y. So far, so good, but there's no guarantee that you won't wake up tomorrow with it broken by an update to minecraft. So while the data it produces is really nice, you'd want to keep it at arms length from any code you plan on maintaining.
But this helps, it looks like the same bug V96 was having on the previous page. But based on the new error-reporting code, which says that tons of classes are present (including cy and po, the new classes), the error isn't what I thought it was!
I'll see what I can do about it, thanks for the report.