Posted December 9, 201212 yr 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
December 9, 201212 yr USE FORGE/INSTALL.CMD, NOT MCP'S DECOMPILE! Read the EAQ before posting! OR ELSE! This isn't building better software, its trying to grab a place in the commit list of a highly visible github project. www.forgeessentials.com Don't PM me, I don't check this account unless I have to.
December 9, 201212 yr Author 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...
December 9, 201212 yr Then just run install.cmd with NO jars, forge downloads then for you. Read the EAQ before posting! OR ELSE! This isn't building better software, its trying to grab a place in the commit list of a highly visible github project. www.forgeessentials.com Don't PM me, I don't check this account unless I have to.
December 9, 201212 yr Author 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.
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.