Rhinehart_ Posted October 24, 2012 Posted October 24, 2012 edit: alright ive found a tutorial by viper283 on modding that includes forge and he does say that i need the server.jar, so i tried the zip file i get from the below link zipped and extracted in the jars folder but neither help. is their someplace else i could get it in the actual .jar form? or perhaps some way to compile it into a .jar? alright so ive looked through the forums and havent found any topics that fixed my issue if there is my apologies so ive been trying to decompile minecraft with forge, and no i have not archived forge into the jar. i am using the forge source files with the install widows command script when i run that i get this bit: ================ Forge ModLoader Setup Start =================== Setting up MCP > Restoring commands.py backup Patching file C:\Users\Rhinehart_\Desktop\mcp files\mcp72.2\runtime\commands.py patching file commands.py Commands patch applied successfully Copying FML conf Fixing MCP Workspace Could not find Server jar, decompile requires both client and server.Traceback (most recent call last): File "install.py", line 40, in <module> main() File "install.py", line 19, in main setup_fml(fml_dir, mcp_dir) File "C:\Users\Rhinehart_\Desktop\mcp files\mcp72.2\forge\fml\fml.py", line 24 6, in setup_fml pre_decompile(mcp_dir, fml_dir) File "C:\Users\Rhinehart_\Desktop\mcp files\mcp72.2\forge\fml\fml.py", line 61 , in pre_decompile with open(server_jar, 'rb') as fh: IOError: [Errno 2] No such file or directory: 'C:\\Users\\Rhinehart_\\Desktop\\m cp files\\mcp72.2\\jars\\minecraft_server.jar.backup' Press any key to continue . . . up in the yellow it says i need the server.jar now how i understood it was that in 1.3.2 everything was universal so you wouldnt need a server.jar thats the first thing that ive noticed if it is the server.jar where would i find it? the download at https://minecraft.net/download just gives me a zip file not a .jar well ive read on a couple of forum posts that not every error is actually a catastrophic failure, so now i go and try to decompile the jar, i get this heap of a mess. == MCP 7.2 (data: 7.17, client: 1.4, server: 1.4) == # found ff, ff patches, srgs, name csvs, doc csvs, param csvs, renumber csv, ast yle, astyle config > Creating Retroguard config files !! Modified jar detected. Unpredictable results !! == Decompiling client using fernflower == > Creating SRGs > Applying Retroguard > Applying MCInjector '"C:\Program Files\Java\jdk1.7.0_07\bin\java" -jar runtime\bin\mcinjector.jar te mp\minecraft_rg.jar t...' failed : 1 Decompile failed Press any key to continue . . . so here is my issues and seeing as this is my first time decompiling with forge im not sure whats going wrong ive got it to work with risugimis modloader and just plain minecraft but with forge there is the install script which seems to be screwing it all up any help will be appreciated immensly Quote
keepcalm Posted October 24, 2012 Posted October 24, 2012 extract mcp. copy .minecraft/bin into jars folder. copy .minecraft/resources into jars folder. Download minecraft_server.jar (https://s3.amazonaws.com/MinecraftDownload/launcher/minecraft_server.jar), copy into jars folder. extract forge into mcp folder. go into forge folder, run install.cmd. Quote Protip: try and find answers yourself before asking on the forum. It's pretty likely that there is an answer. Was I helpful? Give me a thank you! http://bit.ly/HZ03zy[/img] Tired of waiting for mods to port to bukkit? use BukkitForge! (now with a working version of WorldEdit!)
lucius97 Posted October 26, 2012 Posted October 26, 2012 Same error over here. :'( Here's the last part of the MCP log, that clearly shows the error: > Applying MCInjector 20:13:56 - runcmd: '"C:\Program Files\Java\jdk1.7.0_09\bin\java" -jar runtime\bin\mcinjector.jar temp\minecraft_rg.jar temp\minecraft_exc.jar conf\joined.exc logs\client_exc.log' 20:13:56 - shlex: ['C:\\Program Files\\Java\\jdk1.7.0_09\\bin\\java', '-jar', 'runtime\\bin\\mcinjector.jar', 'temp\\minecraft_rg.jar', 'temp\\minecraft_exc.jar', 'conf\\joined.exc', 'logs\\client_exc.log'] 20:13:58 - ERROR: net/minecraft/src/Packet.func_73267_a(Ljava/io/DataInputStream;)V 20:13:58 - java.lang.RuntimeException: net/minecraft/src/Packet.func_73267_a(Ljava/io/DataInputStream;)V 20:13:58 - at mcp.mcinjector.MCInjectorImpl.processClass(MCInjectorImpl.java:311) 20:13:58 - at mcp.mcinjector.MCInjectorImpl.processJar(MCInjectorImpl.java:219) 20:13:58 - at mcp.mcinjector.MCInjectorImpl.process(MCInjectorImpl.java:81) 20:13:58 - at MCInjector.main(MCInjector.java:49) 20:13:58 - Caused by: java.lang.RuntimeException: Incorrect argument count 20:13:58 - at mcp.mcinjector.MCInjectorImpl.processLVT(MCInjectorImpl.java:469) 20:13:58 - at mcp.mcinjector.MCInjectorImpl.processClass(MCInjectorImpl.java:298) 20:13:58 - ... 3 more 20:13:58 - '"C:\Program Files\Java\jdk1.7.0_09\bin\java" -jar runtime\bin\mcinjector.jar temp\minecraft_rg.jar t...' failed : 1 20:13:58 - Decompile failed The rest of the log is more than 500MBs large with A LOT of warnings. Is this normal? Edit I seem to be using forge 5.x. Woops. Going to retry with forge 6.x Quote
Kimogaku Posted November 6, 2012 Posted November 6, 2012 Same error here failing to Decompile MCInjector... using both newest MCP aswell as newest Forge so wheres the problem? Quote
Recommended Posts
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.