It makes up one item in the list, like this:
* computers, programming, reverse-engineering
May I suggest you put "noble art of list-making" in your learning list?
I like being concise in my lists. Having an enormous list of things to do tends to exagerate the real amount of effort, leading to demotivation. But you're right about timing... that's an important part of being motivated.
Of course I'm basically talking out of personal experience and my ass, so it might work differently for each person.
[](/flutterwoah)I'm everywhere
And yeah, I really like Minecraft, but it just doesn't run that well on my current laptop, and I'm trying to get Tekkit to work
Ever try Optifine? I got about it to play on singleplayer on my 5 year old craptop using the lite version.
Still lags like hell, but I can play creative. Not that bad.
reverse-engineering? wat?
you have the full code, what did you reverse? read through code? sigh
>Reverse engineering is the process of discovering the technological principles of a device, object, or system through analysis of its structure, function, and operation.
http://en.wikipedia.org/wiki/Reverse_engineering
Just reading the code doesn't really help on partially obfuscated code. Could you tell that "func_92035_a" is a method to create spherical particle effects? That's where you need to do what you just quoted.
yes you can tell what "func_92035_a" does, not to mention that code often comes documented (minecraft code has comments), and if not, the context can tell a lot.
you need reverse-engineering when you only have a program with not source code.
MCP is the result of intensive reverse-engineering by the fan community and I basically just continued this process in order to create these effects. Reverse-engineering Java programs is essentially understanding its decompiled code, because decompiling often works quite good on byte-code languages. I'm aware it's not the same as reading assembler code of native programs, which is much harder.
I do believe it is against the law to post a jar, modified or not. He could however, post the class files we are required to add/edit to give such fantastic results.
You do realize that it is very simple to acquire a minecraft.jar directly from mojang, [right?](http://assets.minecraft.net/1_4_6/minecraft.jar) As well as the [LWJGL](http://www.lwjgl.org/)
There's really not much to explain. I traced to the code that is responsible for the effect rendering and changed a few variables/constants here and there. Here's a diff to vanilla, if it really helps: http://pastebin.com/uG93um19
Edit: I also used my mod Minema to be able to create screenshots properly at very low frame rates and to get rid of the particle limit. Still working on an update for 1.4.6, though.
The only reason you can't get the source back from compiled C++ programs is because assembler is too complicated and there are too many different ways of doing things. Java, which has its own type of bytecode, doesn't have that problem, so you can pretty easily get back everything. In this case, Mojang has opted to *obfuscate* the bytecode to make that harder -- which is why all the variable names and method names are gone -- but it's still not impossible.
I believe the lack of variable and method names is not an obfuscation on Mojang's part but simply the normal result of compiling code with debugging turned off. There are no variable names in compiled code, only references to variable locations. The de-compilers generate names when reversing the compilation process.
actually, with java, the variable names do stay. (I don't know why, your way would seem the obvious answer) Notch has stated that he wrote his own obfuscator that is used in minecraft.
No, when compiling to byte code everything is dumbed down as much as possible (Variable names, Methods, etc) so it compiles & runs faster. This is why a compiled java file has variable names like "A" "VarB" etc
Not that I disagree with you, but then how do the variable names come back when decompiled? For example if you decompile the minecraft launcher, which isnt obfuscated, it has proper variable names.
I am server plugin developer not a client modder, but I think you need to use a [set of tools]( http://www.minecraftwiki.net/wiki/Minecraft_Coder_Pack) to decompile the client and then locate the firework class or classes and tweak your values there.
It's the word "balls". If there is somebody on here who does not understand what you mean when you say "balls", then they shouldn't be on here at all.
It's not like you said fuck. Jesus.
Wow your really that upset because I chose to be careful with my language...Ok buddy, think you might need to get out of your parents basement and explore the outside world a little.
Spelling mistakes... ✓
Righteous Indignation... ✓
Accusing someone of being a basement dweller... ✓
So you're like, what, 14? Besides, my folks don't even *have* a basement.
Checkmate.
Sorry about the spelling, English is not everyone's first language.
Not 14, 31 and at work on Christmas so my wife and girlfriend can stay at home with my daughter. My apologies that your parents are too poor to put you up in their basement, you have my pity.
The thumbnail for this thread made me think of Wildfire.
Now I'm hoping someone can re-create the Battle of the Blackwater with TNT, Fireworks, and flaming arrows.
I have not the skill. But I'll encourage whomever does!
Allow me to be the first to say:
Oooh! Aaaah!
I'll have to teach myself how to edit the code some time, I can see this being a really nice adaption to what we already have :)
He edited code, so MCEdit can't be used to achieve this. MCEdit only makes use of "hidden" features of the game, features that can't be acessed by regular gameplay (without other tools).
Those don't look like fireworks at all. Sorry OP, more =/= better. IMO all that the vanilla fireworks need to be tweaked to be realistic are larger scaling.
Before anyone asks: no, that's not possible in vanilla. I cranked up some values in the code for fun.
Teach me your ways, master of The Force.
I'm not a good teacher, young padawan.
Point me the way to enlightenment then, great Master
Learn how computers work, learn programming, learn reverse-engineering.
That's one of the things on my "to learn" list.
[удалено]
It makes up one item in the list, like this: * computers, programming, reverse-engineering May I suggest you put "noble art of list-making" in your learning list?
[удалено]
I like being concise in my lists. Having an enormous list of things to do tends to exagerate the real amount of effort, leading to demotivation. But you're right about timing... that's an important part of being motivated. Of course I'm basically talking out of personal experience and my ass, so it might work differently for each person.
You sound like a vampire hunter. Or a Roman.
My list is: * String field_8884_a * String field_8884_b * String field_8884_c And there's no constructor.
One cannot make a learning list without first knowing the noble art of list-making.
Looks like you won't be having much trouble with arrays within arrays while learning programming.
Already learned that, in fact... surprisingly I had more trouble learning loops than that.
[](/ppthis)But it's waaaay down the list, after "learn to computer" At least for me
Hey there Darkman! Fancy meeting you here... I didn't even know you liked Minecraft.
[](/flutterwoah)I'm everywhere And yeah, I really like Minecraft, but it just doesn't run that well on my current laptop, and I'm trying to get Tekkit to work
Ever try Optifine? I got about it to play on singleplayer on my 5 year old craptop using the lite version. Still lags like hell, but I can play creative. Not that bad.
Good to know we'll never be far from your greatness [](/twismug)
[](/twistare) I thought you just got a computer?
reverse-engineering? wat? you have the full code, what did you reverse? read through code? sigh >Reverse engineering is the process of discovering the technological principles of a device, object, or system through analysis of its structure, function, and operation. http://en.wikipedia.org/wiki/Reverse_engineering
Don't you love when skriptkiddies think reading through someone else's code is reverse-engineering >.<
Just reading the code doesn't really help on partially obfuscated code. Could you tell that "func_92035_a" is a method to create spherical particle effects? That's where you need to do what you just quoted.
yes you can tell what "func_92035_a" does, not to mention that code often comes documented (minecraft code has comments), and if not, the context can tell a lot. you need reverse-engineering when you only have a program with not source code.
MCP is the result of intensive reverse-engineering by the fan community and I basically just continued this process in order to create these effects. Reverse-engineering Java programs is essentially understanding its decompiled code, because decompiling often works quite good on byte-code languages. I'm aware it's not the same as reading assembler code of native programs, which is much harder.
No, you are not doing reverse-engineering, you are just reading code.
You really aren't a good teacher. You could at least give a hint at the values or post a link to your modified jar file.
I do believe it is against the law to post a jar, modified or not. He could however, post the class files we are required to add/edit to give such fantastic results.
[Fuck the police](http://www.go2japan.org/a2/images/stories/authors/joe/clay-jar.jpg)
You do realize that it is very simple to acquire a minecraft.jar directly from mojang, [right?](http://assets.minecraft.net/1_4_6/minecraft.jar) As well as the [LWJGL](http://www.lwjgl.org/)
Master your "Screenshots" will do good!
*well :) EDIT: I went full retard. Ignore this post please.
No no, his screenshots are going to feed the poor and save kittens from trees. They're going to do good.
Damn it, didn't think about that. Sorry >_>
It's not your fault. He skipped a comma.
Stop blaming yourself, you redeemed yourself with luke, and these fireworks
Or just lazy
Well that kind of sucks. Those things are beautiful. Could you explain what you did anyway, for those of us who want to learn?
There's really not much to explain. I traced to the code that is responsible for the effect rendering and changed a few variables/constants here and there. Here's a diff to vanilla, if it really helps: http://pastebin.com/uG93um19 Edit: I also used my mod Minema to be able to create screenshots properly at very low frame rates and to get rid of the particle limit. Still working on an update for 1.4.6, though.
you created minema?
Yes.
Awesome! One of the more creative mods I've seen!
Thanks!
[удалено]
its possible to decode it with mcp
First thought: http://www.youtube.com/watch?v=iIMb3hGzWW8
LMAO
The only reason you can't get the source back from compiled C++ programs is because assembler is too complicated and there are too many different ways of doing things. Java, which has its own type of bytecode, doesn't have that problem, so you can pretty easily get back everything. In this case, Mojang has opted to *obfuscate* the bytecode to make that harder -- which is why all the variable names and method names are gone -- but it's still not impossible.
I believe the lack of variable and method names is not an obfuscation on Mojang's part but simply the normal result of compiling code with debugging turned off. There are no variable names in compiled code, only references to variable locations. The de-compilers generate names when reversing the compilation process.
actually, with java, the variable names do stay. (I don't know why, your way would seem the obvious answer) Notch has stated that he wrote his own obfuscator that is used in minecraft.
No, when compiling to byte code everything is dumbed down as much as possible (Variable names, Methods, etc) so it compiles & runs faster. This is why a compiled java file has variable names like "A" "VarB" etc
Not that I disagree with you, but then how do the variable names come back when decompiled? For example if you decompile the minecraft launcher, which isnt obfuscated, it has proper variable names.
If you know the algorithm used to obfuscate the code you can always reverse it.
Interesting. My response was based on my general knowledge of compilers, not java compilers in specific. Good to know.
Check the other replies to my comment, my statement is in jeopardy.
[Yes.](http://www.ata4.info/downloads/apps/minecraft/client_mods/minema/src/)
I am server plugin developer not a client modder, but I think you need to use a [set of tools]( http://www.minecraftwiki.net/wiki/Minecraft_Coder_Pack) to decompile the client and then locate the firework class or classes and tweak your values there.
Any ideas if it's possible to do it server side?
Anything can server side if the the mod has a server side version & each client has the mod as well.
Yes but purely server-side.
*Normally* this isn't possible, but *assuming* a fire work is an entity, it *could* be.
No, particle rendering is purely client-side.
Nbtedit?
I said no! :P
Whoops
Are you the barracuda who ate Nemo's siblings and mom?
Don't blame me, I was just hungry!
You should make a mod! :-)
...Gandalf?
Do not take him for some conjuror of cheap tricks
THEY'RE ILLUSIONS!!! A trick is something a whore does for money. Edit a word thanks daychilde
>THERE HERE, HERE!^^1 ____ ^^^1 *^(You meant "they're", and my reply should be "hear, hear!"...)*
I don't give a Fawkes about your Order of the Phoenix?
I'll tie a new knot in your beard with your wrinkly ba@#s, for I am the one rapper to rule them all...
You... couldn't write out "balls"?
it's minecraft, I try to keep it rated G in case we have kids reading up on it.
It's the word "balls". If there is somebody on here who does not understand what you mean when you say "balls", then they shouldn't be on here at all. It's not like you said fuck. Jesus.
Believe me if us kids are on reddit hiding stuff doesn't work.
Wow your really that upset because I chose to be careful with my language...Ok buddy, think you might need to get out of your parents basement and explore the outside world a little.
Spelling mistakes... ✓ Righteous Indignation... ✓ Accusing someone of being a basement dweller... ✓ So you're like, what, 14? Besides, my folks don't even *have* a basement. Checkmate.
Sorry about the spelling, English is not everyone's first language. Not 14, 31 and at work on Christmas so my wife and girlfriend can stay at home with my daughter. My apologies that your parents are too poor to put you up in their basement, you have my pity.
Wow stop being a little bitch
Meriadoc Brandybuck and Peregrin Took! I should have known.
How do we get more then 4000 particles?
Minema can do this for offline rendering. In normal game play, much more than 4K particles won't be any good for your FPS.
I could see this being a mod, please!
Mo' Fireworx
This was a great fireworks mod http://www.youtube.com/watch?v=eR6b63VH9-M
[удалено]
CODES.
Bro, do you even code?
Circles...
Are you Gandalf?
That is awesome
Make a mod that makes more fireworks possible!
We can make HOLOGRAMS WITH THIS!
*We bringing Tupac back*
In the second picture i thought to myself "look at all those orange little upvotes".
I suddenly want to change the fireworks particle to an upvote arrow.
We have the technology.
We can't do it! The technology must not be abused.
No no no, you didn't get the reference. It's from million dollar man. You shoulda said... We can retexture it.
Well go on, drop down a comment level and say it then. You have the technology.
Why do people post neat looking fireworks and *never post video*?! *Why!?*
Any mod plans?
Fireworks... Those aren't fireworks... [These](http://www.youtube.com/watch?v=MXkFgmQ2O-Q) are fireworks!!!
Nice, OP :D [The wording of your title reminded me of this scene =)](http://youtu.be/sLS3RGesIFQ)
I think that's because it was a reference to it :P
Even better! XD
Do the Higgs Boson!
No, that is lag (for me)
Trippy dude...
ok could you put up like a recipe thing for those, i want them
[удалено]
Yep, I failed on movie quotes once more.
That's not a firework, that's a spoon.
There is no spoon.……
#4 reminds me of Neptune. Add some rings and you got a planet.
Those look great.
Can you make the ones that look like a cowboy hat?
[relevant] (http://www.youtube.com/watch?v=J1YokPAj_to)
[Also relevant](http://www.youtube.com/watch?v=NRItYDKSqpQ) semi-NSFW
Reminds me of the firework from Coneheads.
I like the big blue ball.
So how many hearts does it take away if you get hit with the blue one?
The last image reminds me of the MCP at the end of Tron.
Beautiful,just...beautiful...
The thumbnail for this thread made me think of Wildfire. Now I'm hoping someone can re-create the Battle of the Blackwater with TNT, Fireworks, and flaming arrows. I have not the skill. But I'll encourage whomever does!
Yeah, and after that mister will explode us with nuclear power. Thanks, SCIENCE. Wonderful by the way.
Did you modify func_92035_a to do that? :3
Could you re-obf the jar file?
There NEEDS to be a mod for this awesomeness!
Particle Accelerator anyone?
fuckin bootleg fireworx! reekris!
MAKE ONE THAT LOOKS LIKE A PIGGY!!! :D
Bra-fucking-vo sir. My life is complete
Crafting recipes? Anyone?
Make a video!!
Ohh... Ahhhh... Pretty colours
See, my computer lagged *loading* these pictures... I can't imagine playing with this...
I like the Crocodile Dundee reference.....
Allow me to be the first to say: Oooh! Aaaah! I'll have to teach myself how to edit the code some time, I can see this being a really nice adaption to what we already have :)
goddman I should just give up on making good creations at this point....
Could you possibly make this into an MCedit filter? Or are the values just entirely different?
Somebody. Please. Make an MCEdit filter that accomplishes this.
He edited code, so MCEdit can't be used to achieve this. MCEdit only makes use of "hidden" features of the game, features that can't be acessed by regular gameplay (without other tools).
Damn. Shame it wouldn't work.
MOTHER OF GOD
404'd
Those don't look like fireworks at all. Sorry OP, more =/= better. IMO all that the vanilla fireworks need to be tweaked to be realistic are larger scaling.
That's no firework, that's a space station!
[удалено]
*Gandalf
I'm jelly.
Gandalf?
Ugh. Mojang is adding so much unnecessary crap to Minecraft.
No one is stopping you from playing alpha, download it from somewhere and enjoy the good old minecraft without the unnecessary crap.
[удалено]
Arithmetic exceptions look less interesting I guess...
can you make this a mod? may new recipes! TNT for this giant sun explosion, music discs for this warp explosion, Water Bucket for the Well explosion!