Jump to content

Problems with decompiling,


florilu

Recommended Posts

Hi there,

I made a mod with MinecraftForge and it worked, but then I got an HDD-Crash and my .java files got destroyed, so I wanted to decompile the class files of my mod, but everytime I get this error-message when I try to

== MCP 7.23 (data: 7.23, client: 1.4.5, server: 1.4.5) ==
# found ff, ff patches, srgs, name csvs, doc csvs, param csvs, renumber csv, ast
yle, astyle config
!! Updates available. Please run updatemcp to get them. !!
> Creating Retroguard config files
!! Modified jar detected. Unpredictable results !!
== Decompiling client using fernflower ==
> Creating SRGs
> Applying Retroguard
'"C:\Program Files\Java\jdk1.7.0_04\bin\java" -cp "runtime\bin\retroguard.jar;li
b;lib\*;jars\bin\mine...' failed : 1

== ERRORS FOUND ==

Unrecoverable error during obfuscation, see log file for details.
RetroGuard error: COM.rl.obf.classfile.ClassFileException: ClassNotFound com/goo
gle/common/base/Supplier
==================

Decompile failed
Drücken Sie eine beliebige Taste . . .

 

I used a fresh minecraft.jar and fresh resources, downloaded the forge version what I used, and downloaded the correct MCP for my version, installed forge into the minecraft.jar and my mod, and I got the message on the top.

 

Hope someone can help me.

 

Cheers:

Florilu

Link to comment
Share on other sites

If I do that it says

 

================ Forge ModLoader Setup Start ===================
MCP Detected already, not downloading
Setting up MCP
> Backing up commands.py
Patching file C:\Users\Florian\Desktop\Second\runtime\commands.py
patching file commands.py
Commands patch applied successfully
Copying FML conf
== MCP 7.23 (data: 7.23, client: 1.4.5, server: 1.4.5) ==
WARNING:
The cleanup script will delete all folders created by MCP, including the
src folder which may contain changes you made to the code, along with any
saved worlds from the client or server.
If you really want to clean up, enter "Yes" yes
> Cleaning temp
> Cleaning src
> Cleaning bin
> Cleaning reobf
> Cleaning lib
> Cleaning jars
> Cleaning logs
Downloaded argo-2.25.jar successfully
Downloaded guava-12.0.1.jar successfully
Downloaded guava-12.0.1-sources.jar successfully
Downloaded asm-all-4.0.jar successfully
Downloaded asm-all-4.0-source.jar successfully
File Exists: lwjgl.jar
File Exists: lwjgl_util.jar
File Exists: jinput.jar
Downloaded windows_natives.jar successfully
Downloaded macosx_natives.jar successfully
    Extracting libjinput-osx.jnilib
    Extracting liblwjgl.jnilib
    Extracting libopenal.dylib
    Extracting openal.dylib
Downloaded linux_natives.jar successfully
    Extracting libjinput-linux.so
    Extracting libjinput-linux64.so
    Extracting liblwjgl.so
    Extracting liblwjgl64.so
    Extracting libopenal.so
    Extracting libopenal64.so
Modified minecraft.jar detected, removing
Downloaded minecraft.jar successfully
Downloaded minecraft_server.jar successfully
== MCP 7.23 (data: 7.23, client: 1.4.5, server: 1.4.5) ==
# found ff, ff patches, srgs, name csvs, doc csvs, param csvs, renumber csv, ast
yle, astyle config
> Creating Retroguard config files
== Decompiling client using fernflower ==
> Creating SRGs
> Applying Retroguard
> Compiling AccessTransformer
> Compiling MCPMerger
> Running MCPMerger
> Running AccessTransformer
   Forge config detected
> Really Applying Retroguard
> Applying MCInjector
> Unpacking jar
> Copying classes
> Decompiling

 

It removes the modified .jar and the sources aren't included in the source then...

Link to comment
Share on other sites

If I run that I have the same problem, I don't get my sources of my mod ^^ How I can get them back?

My problem is, if the jar is modified, like my mod is installed in there, it removes the jar and downloads a new one, so it wouldn't decompile the class files of my mod.

If I just run that without any jars I can rewrite that stuff, and thats very much, some new generators and so on.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.