Mod creator pack v1.4+ [update]
+2
Tei
Searge
6 posters
Mod creator pack v1.4+ [update]
I created a small package that can help you to decompile, change and recompile the Minecraft classes. This should help mod creators to get started. Instructions included in the readme.txt file.
I should mention that the package contains all scripts and tools needed to decompile and fix the game and the server.
The file can be found here: Downloads
Sorry for switching to the minecraft forums, I don't want to update two threads all the time :/
I should mention that the package contains all scripts and tools needed to decompile and fix the game and the server.
The file can be found here: Downloads
Sorry for switching to the minecraft forums, I don't want to update two threads all the time :/
Last edited by Searge on Fri Oct 22, 2010 5:34 pm; edited 7 times in total
Searge- Posts : 15
Join date : 2010-10-17
Re: Mod creator pack v1.4+ [update]
:-O
This is AMAZING!.
Works fantastic here :-D
This is AMAZING!.
Works fantastic here :-D
Last edited by Admin on Sun Oct 17, 2010 7:54 am; edited 1 time in total
Re: Mod creator pack v1.4+ [update]
I signed up just to post this:
willempiee- Posts : 2
Join date : 2010-10-17
Re: Mod creator pack v1.4+ [update]
It will recompile into class files that are ~95% the same bytecode as the original and the functionality will be 99% the same as original.
Known bugs:
- In the MP Menu I can't use backspace to delete entered text, have not tested signs yet but they might have the same problem
- Sound not working
- TNT not working
Known bugs:
- In the MP Menu I can't use backspace to delete entered text, have not tested signs yet but they might have the same problem
- Sound not working
- TNT not working
Last edited by Searge on Sun Oct 17, 2010 8:57 am; edited 1 time in total
Searge- Posts : 15
Join date : 2010-10-17
Re: Mod creator pack v1.4+ [update]
It can't find javac.
I'm using 64-Bits, but my JDK is in my 'Program Files' instead of the usual 'Program Files (x86)'
Edit: Nevermind, I added the JDK to my System Path.
I'm using 64-Bits, but my JDK is in my 'Program Files' instead of the usual 'Program Files (x86)'
Edit: Nevermind, I added the JDK to my System Path.
willempiee- Posts : 2
Join date : 2010-10-17
Re: Mod creator pack v1.4+ [update]
A fix for the TNT bug:
In file jd.java:
Change
In file jd.java:
Change
- Code:
public jd(cn cn1, float f, float f1, float f2)
{
this(cn1);
a(f, f1, f2);
- Code:
public jd(cn cn1, float f, float f1, float f2)
{
this(cn1);
a((double)f, (double)f1, (double)f2);
Searge- Posts : 15
Join date : 2010-10-17
Re: Mod creator pack v1.4+ [update]
awesome!
another bug of this build: don't seems to save the changes ...welll not always, now works and saved the changes... weird.
another bug of this build: don't seems to save the changes ...welll not always, now works and saved the changes... weird.
Re: Mod creator pack v1.4+ [update]
This is fantastic !
I think this can be a good learning too for understanding errors in non-patched decompiled files too...
I hope you'll continue to update this
I'll post a link to this thread in my thread about advanced modding in official forum.
I'm sure it will bring some people in-here...
I think this can be a good learning too for understanding errors in non-patched decompiled files too...
I hope you'll continue to update this
I'll post a link to this thread in my thread about advanced modding in official forum.
I'm sure it will bring some people in-here...
Sage_pourpre- Posts : 6
Join date : 2010-10-15
Re: Mod creator pack v1.4+ [update]
That's a good idea.Sage_pourpre wrote:I'll post a link to this thread in my thread about advanced modding in official forum.
I'm sure it will bring some people in-here...
Searge- Posts : 15
Join date : 2010-10-17
Re: Mod creator pack v1.4+ [update]
Which exe/bat do you open?
Coupon22- Posts : 1
Join date : 2010-10-17
Re: Mod creator pack v1.4+ [update]
Read the included readme.txt, everything is explained there.
Searge- Posts : 15
Join date : 2010-10-17
Re: Mod creator pack v1.4+ [update]
This thing has made me do some minor modding, I was really reductant to it, but this make it supereasy.
Problem is.. I can't understand anything. Even with the class documentation, I have no idea what the code does. Is superobscure. I imagine people with some experience in java, and a clever mind can figure it out, or maybe doing a lot of guestwork, but anyway.
I must think of something to make modding easier. This pack "solve" the compiling usability problem, but is still superhard to do anything.
Problem is.. I can't understand anything. Even with the class documentation, I have no idea what the code does. Is superobscure. I imagine people with some experience in java, and a clever mind can figure it out, or maybe doing a lot of guestwork, but anyway.
I must think of something to make modding easier. This pack "solve" the compiling usability problem, but is still superhard to do anything.
Re: Mod creator pack v1.4+ [update]
I think that's the job of an obfuscator, to make the sourcecode unreadable to the human reader But with the information in the googledocs spreadsheet you should at least find some hotspots in the code.Admin wrote:I have no idea what the code does. Is superobscure.
Searge- Posts : 15
Join date : 2010-10-17
Re: Mod creator pack v1.4+ [update]
The people contributing to the spreadshet is fantastic.
Theres a dude documenting the "Classic Client". And a lot of pages has been re-arranged to be better described.
Is really cool to see people documenting these things in real time :-D hehe...
Theres a dude documenting the "Classic Client". And a lot of pages has been re-arranged to be better described.
Is really cool to see people documenting these things in real time :-D hehe...
Re: Mod creator pack v1.4+ [update]
Yes, it's a very valuable resource. I just finished completing the block list and item list pages. I just hope we can update it quickly after everything changes with the halloween update...Admin wrote:The people contributing to the spreadshet is fantastic.
Theres a dude documenting the "Classic Client". And a lot of pages has been re-arranged to be better described.
Is really cool to see people documenting these things in real time :-D hehe...
Searge- Posts : 15
Join date : 2010-10-17
Re: Mod creator pack v1.4+ [update]
Searge wrote:Yes, it's a very valuable resource. I just finished completing the block list and item list pages. I just hope we can update it quickly after everything changes with the halloween update...Admin wrote:The people contributing to the spreadshet is fantastic.
Theres a dude documenting the "Classic Client". And a lot of pages has been re-arranged to be better described.
Is really cool to see people documenting these things in real time :-D hehe...
I doubt we will have great problems, if Notch use the same ofuscator. Think this, we will be able to "ID" all classes, and the new classes, and compare these "ID", and this can be done programatically.
I have some test with this, and I will make some tools the next weekend.
Update:
I am going to make the tool here:
https://mcdocs.forumotion.com/source-code-f1/tool-class-id-t21.htm
Re: Mod creator pack v1.4+ [update]
Even though I couldn't get all of the functionality of the package to work, the decompiler options and source patches were a great help! I was able to recompile some classes I wasn't able to fix on my own.
Thanks!
Thanks!
KungFuHamster- Posts : 11
Join date : 2010-10-15
Re: Mod creator pack v1.4+ [update]
The new and shiny version 1.3 of this package has arrived. Contain code to decompile and recompile Minecraft.class, MinecraftApplet.class and MinecraftServer.class.
Download link is in the first post. Read the included "readme.txt" file for more information about the other changes.
Download link is in the first post. Read the included "readme.txt" file for more information about the other changes.
Searge- Posts : 15
Join date : 2010-10-17
MCP 2.0
Just a short note here for everybody. The new MCP 2.0 version is available in the Minecraft forums. It works on Minecraft 1.2.1_01.
Searge- Posts : 15
Join date : 2010-10-17
MCP 2.2 with re-obfuscation
MCP 2.2 is the first version that allows you to decompile Minecraft, edit the sources with meaningful names ("Entity.xPosition" instead of "ab.f") and then recompile the classes and convert them to be compatible with the original jar files again.
Searge- Posts : 15
Join date : 2010-10-17
Permissions in this forum:
You cannot reply to topics in this forum