Got one saying "YOUR OPINION MATTERS" trying to get me to take a survey. I didn't get a screenshot of it before it went away. Ads on the page were for Gillette and J.Jill.
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.
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.
Believe it or not, asking for a tutorial on making an incredibly complex mod is asking for more than the mod alone. If you are serious, google "minecraft modding tutorial" and get in to it. With the exception of a few well-established mod types (adding blocks, crafting recipes), a question like "how do I do X" is going to require hours of research by the tutor, and then who knows how long to explain it to you, depending on how smart you are. It's asking too much.
If you really are serious, there's enough info out there to dig in. Just be warned: it's pretty damn hard even for the most experienced of us.
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.
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 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.
The text log only tells me that it didn't discover any minecraft classes in the minecraft.jar file.
If I can't reproduce the problem, I can't help. OS? Java version? What texture pack? Did you use a special texture pack loader? I need every detail you can think of that might differ from my test systems (stock minecraft, mac os x 10.6, Windows XP, Windows 7 pro, all US versions.
This is one of the reasons I'm not releasing any mods I've made.
1.) I don't want to have to handle all the support requests (SCREEN IS BLACK! HELP!)
2.) I don't want the fun of making mods to turn into a job were I'm obligated to update for every single automatic update that breaks everything.
3.) Notch openly disapproves.
That said, I'm sure most mods aren't too hard to port. On a couple of my server mods after 3 updates, I ended up structuring the mod so that none of my mod code accesses the obfuscated functions directly. I just make a small set of 1 or 2 line functions that access all the features I need. Takes about 2 minutes to port.
Like a mini version of the mod coder pack for the jg class:
// Deobfucsation functions
//------------------------
public String get_name()
{
return this.e.as;
}
public double get_xpos()
{
return this.g;
}
public double get_ypos()
{
return this.h;
}
public double get_zpos()
{
return this.i;
}
public void setposition(double setx, double sety, double setz)
{
a(setx,sety,setz, 0.0F, 0.0F);
}
public void consolemessage(String msg)
{
a.info(msg);
}
public void playermessage(String msg)
{
b(new bh(msg));
}
//------------------------
Yes I'm using 0.4, I just downloaded and tried to use it. I've never used any mods, only texture packs.
Well, if I can't reproduce the problem, I can't help. OS? Java version? What texture pack? Did you use a special texture pack loader? I need every detail you can think of that might differ from my test systems (stock minecraft, mac os x 10.6, Windows XP, Windows 7 pro, all US versions.
First of all, make certain you are using v0.4. That's the newest version.
Minecraft client updated today, I forgot to check if the deobfuscation was still working stock, let alone with mods...
Ok, yeah, it's still working like it should without mods installed. I'll need to know what mod you're using. If you recompiled with the mod creator pack, I have no idea what that would do. One thing you can try is drag your modded jar to the desktop, run the client to get a fresh copy, run the extractor, then put your custom one back.
Output should look like this:
Minecraft Biome Extractor (v0.4 beta)
By Donkey Kong
Discovering minecraft.jar interface...
Removed MOJANG signatures.
Match strength: 87.26114649681529% Save class is: cx
Match strength: 76.47058823529412% Biome Gen class is: pm
Ready!
Edit:
Ok, I looked into it a little more. What I thought was weird is that it reports a match percentage but no match class name! What's happening exactly is that the function to match class signatures is literally doing nothing. Its class listing is empty. That means your minecraft.jar has a different package layout than the original. I don't know what would cause that. Apparently something with whatever mod thing you guys are using. With more details, I can probably just tweak how it discovers classes no problem.
If it were up to me, I'd go shorter. And I'd get rid of the scroll bar. It would just clip at the edges, no scroll. Makes everything look so much neater.
0
0
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.
0
0
If you really are serious, there's enough info out there to dig in. Just be warned: it's pretty damn hard even for the most experienced of us.
0
0
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.
0
Does Minecraft even run on a PowerBook G4?
Edit: And no, Inside Job cannot run on a Powerbook G4. It requires Mac OS X 10.6, which is not available for that machine.
0
Link Removed
0
How did you install the pack? Just putting it in the texturepacks folder? Did you mess with minecraft.jar at all.
0
The text log only tells me that it didn't discover any minecraft classes in the minecraft.jar file.
If I can't reproduce the problem, I can't help. OS? Java version? What texture pack? Did you use a special texture pack loader? I need every detail you can think of that might differ from my test systems (stock minecraft, mac os x 10.6, Windows XP, Windows 7 pro, all US versions.
0
1.) I don't want to have to handle all the support requests (SCREEN IS BLACK! HELP!)
2.) I don't want the fun of making mods to turn into a job were I'm obligated to update for every single automatic update that breaks everything.
3.) Notch openly disapproves.
That said, I'm sure most mods aren't too hard to port. On a couple of my server mods after 3 updates, I ended up structuring the mod so that none of my mod code accesses the obfuscated functions directly. I just make a small set of 1 or 2 line functions that access all the features I need. Takes about 2 minutes to port.
Like a mini version of the mod coder pack for the jg class:
0
Well, if I can't reproduce the problem, I can't help. OS? Java version? What texture pack? Did you use a special texture pack loader? I need every detail you can think of that might differ from my test systems (stock minecraft, mac os x 10.6, Windows XP, Windows 7 pro, all US versions.
0
Minecraft client updated today, I forgot to check if the deobfuscation was still working stock, let alone with mods...
Ok, yeah, it's still working like it should without mods installed. I'll need to know what mod you're using. If you recompiled with the mod creator pack, I have no idea what that would do. One thing you can try is drag your modded jar to the desktop, run the client to get a fresh copy, run the extractor, then put your custom one back.
Output should look like this:
Edit:
Ok, I looked into it a little more. What I thought was weird is that it reports a match percentage but no match class name! What's happening exactly is that the function to match class signatures is literally doing nothing. Its class listing is empty. That means your minecraft.jar has a different package layout than the original. I don't know what would cause that. Apparently something with whatever mod thing you guys are using. With more details, I can probably just tweak how it discovers classes no problem.
0
[How to] Advanced modding and mods list (Now with Tutorial!)
[TOOLKIT] Minecraft Coder Pack 2.2a [reob-beta2]
[Tutorial] How to create a jump block (Mod Creator Pack)
0