Mod creator pack v1.4+ [update]

View previous topic View next topic Go down

Mod creator pack v1.4+ [update]

Post  Searge on Sun Oct 17, 2010 12:35 am

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 :/


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

View user profile

Back to top Go down

Re: Mod creator pack v1.4+ [update]

Post  Tei on Sun Oct 17, 2010 3:30 am

:-O

This is AMAZING!.

Works fantastic here :-D


Last edited by Admin on Sun Oct 17, 2010 7:54 am; edited 1 time in total

Tei
Admin

Posts : 32
Join date : 2010-10-15

View user profile http://mcdocs.team-talk.net

Back to top Go down

Re: Mod creator pack v1.4+ [update]

Post  willempiee on Sun Oct 17, 2010 7:47 am

I signed up just to post this:

willempiee

Posts : 2
Join date : 2010-10-17

View user profile

Back to top Go down

Re: Mod creator pack v1.4+ [update]

Post  Searge on Sun Oct 17, 2010 7:55 am

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


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

View user profile

Back to top Go down

Re: Mod creator pack v1.4+ [update]

Post  willempiee on Sun Oct 17, 2010 8:47 am

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.

willempiee

Posts : 2
Join date : 2010-10-17

View user profile

Back to top Go down

Re: Mod creator pack v1.4+ [update]

Post  Searge on Sun Oct 17, 2010 9:11 am

A fix for the TNT bug:

In file jd.java:

Change
Code:
    public jd(cn cn1, float f, float f1, float f2)
    {
        this(cn1);
        a(f, f1, f2);
to
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

View user profile

Back to top Go down

Re: Mod creator pack v1.4+ [update]

Post  Tei on Sun Oct 17, 2010 11:01 am

awesome!

another bug of this build: don't seems to save the changes ...welll not always, now works and saved the changes... weird.

Tei
Admin

Posts : 32
Join date : 2010-10-15

View user profile http://mcdocs.team-talk.net

Back to top Go down

Re: Mod creator pack v1.4+ [update]

Post  Sage_pourpre on Sun Oct 17, 2010 11:53 am

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...

Sage_pourpre

Posts : 6
Join date : 2010-10-15

View user profile

Back to top Go down

Re: Mod creator pack v1.4+ [update]

Post  Searge on Sun Oct 17, 2010 12:03 pm

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...
That's a good idea.

Searge

Posts : 15
Join date : 2010-10-17

View user profile

Back to top Go down

Re: Mod creator pack v1.4+ [update]

Post  Coupon22 on Sun Oct 17, 2010 1:47 pm

Which exe/bat do you open?

Coupon22

Posts : 1
Join date : 2010-10-17

View user profile

Back to top Go down

Re: Mod creator pack v1.4+ [update]

Post  Searge on Sun Oct 17, 2010 1:59 pm

Read the included readme.txt, everything is explained there.

Searge

Posts : 15
Join date : 2010-10-17

View user profile

Back to top Go down

Re: Mod creator pack v1.4+ [update]

Post  Tei on Sun Oct 17, 2010 2:40 pm

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.

Tei
Admin

Posts : 32
Join date : 2010-10-15

View user profile http://mcdocs.team-talk.net

Back to top Go down

Re: Mod creator pack v1.4+ [update]

Post  Searge on Sun Oct 17, 2010 3:01 pm

Admin wrote:I have no idea what the code does. Is superobscure.
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.

Searge

Posts : 15
Join date : 2010-10-17

View user profile

Back to top Go down

Re: Mod creator pack v1.4+ [update]

Post  Tei on Sun Oct 17, 2010 3:12 pm

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...

Tei
Admin

Posts : 32
Join date : 2010-10-15

View user profile http://mcdocs.team-talk.net

Back to top Go down

Re: Mod creator pack v1.4+ [update]

Post  Searge on Sun Oct 17, 2010 3:46 pm

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...
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...

Searge

Posts : 15
Join date : 2010-10-17

View user profile

Back to top Go down

Re: Mod creator pack v1.4+ [update]

Post  Tei on Sun Oct 17, 2010 4:29 pm

Searge wrote:
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...
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...

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:
http://mcdocs.team-talk.net/source-code-f1/tool-class-id-t21.htm

Tei
Admin

Posts : 32
Join date : 2010-10-15

View user profile http://mcdocs.team-talk.net

Back to top Go down

Re: Mod creator pack v1.4+ [update]

Post  KungFuHamster on Wed Oct 20, 2010 7:20 am

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!

KungFuHamster

Posts : 11
Join date : 2010-10-15

View user profile

Back to top Go down

Re: Mod creator pack v1.4+ [update]

Post  Searge on Wed Oct 20, 2010 3:37 pm

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.

Searge

Posts : 15
Join date : 2010-10-17

View user profile

Back to top Go down

MCP 2.0

Post  Searge on Sat Nov 06, 2010 7:01 pm

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

View user profile

Back to top Go down

MCP 2.2 with re-obfuscation

Post  Searge on Wed Nov 17, 2010 5:17 pm

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

View user profile

Back to top Go down

Re: Mod creator pack v1.4+ [update]

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum