Jump to content

Recommended Posts

Posted

Greetings, I have for the past few days trying to setup forge src so that I could start learning how to code for it. I have eclipse and java jdk installed and working properly. I have created a folder on the root of my C: drive (windows 8 os) and dragged in the forge folder inside the minecraftforge-src-1.5.2-7.8.0.716.zip into that newly created folder. I double clicked the install.cmd and it started to do its thing until it stopped at an error. The files extract successfully but wont go past the server part. I have tried many builds of forge src and they all result in the same error. I have tried following many different videos and tutorials online and none seem to help with my issue. Whats wrong? I would really like to start learning if I could get past this error while installing forge src.

 

Command Prompt

 

================ Forge ModLoader Setup Start ===================
File Exists: mcp7.51.zip
Extracting MCP to 'C:\MPC\MajesticCaves\forge\mcp'
Setting up MCP
Backing up commands.py
patching file commands.py
Commands patch applied successfully
Copying FML conf
Creating re-packaged srg
Creating re-packaged exc
Creating re-packaged MCP patches
Fixing MCP Workspace
Downloaded argo-3.2-src.jar
Downloaded guava-14.0-rc3.jar
Downloaded asm-4.1.tar.gz
Downloaded asm-debug-all-4.1.jar
Downloaded bcprov-debug-jdk15on-148.jar
Downloaded bcprov-jdk15on-148-src.zip
Downloaded guava-14.0-rc3-sources.jar
Downloaded scala-library.jar
Downloaded lwjgl.jar
Downloaded lwjgl_util.jar
Downloaded jinput.jar
Downloaded windows_natives.jar
    Extracting jinput-dx8.dll
    Extracting jinput-dx8_64.dll
    Extracting jinput-raw.dll
    Extracting jinput-raw_64.dll
    Extracting lwjgl.dll
    Extracting lwjgl64.dll
    Extracting OpenAL32.dll
    Extracting OpenAL64.dll
Downloaded macosx_natives.jar
    Extracting libjinput-osx.jnilib
    Extracting liblwjgl.jnilib
    Extracting libopenal.dylib
    Extracting openal.dylib
Downloaded linux_natives.jar
    Extracting libjinput-linux.so
    Extracting libjinput-linux64.so
    Extracting liblwjgl.so
    Extracting liblwjgl64.so
    Extracting libopenal.so
    Extracting libopenal64.so
Downloaded minecraft.jar
Downloaded minecraft_server.jar
== MCP 7.51 (data: 7.51, client: 1.5.2, server: 1.5.2) ==
FATAL ERROR
Traceback (most recent call last):
  File "C:\MPC\MajesticCaves\forge\mcp\runtime\decompile.py", line 50, in decomp
ile
    commands = Commands(conffile, verify=True, no_patch=no_patch)
  File "C:\MPC\MajesticCaves\forge\mcp\runtime\commands.py", line 202, in __init
__
    self.readcommands(verify, no_patch=no_patch)
  File "C:\MPC\MajesticCaves\forge\mcp\runtime\commands.py", line 310, in readco
mmands
    error=False)
  File "C:\MPC\MajesticCaves\forge\mcp\runtime\commands.py", line 211, in checkc
ommand
    output = output.splitlines()[0]
IndexError: list index out of range
Decompile Exception: 1
Press any key to continue . . .

 

 

mcp.log

 

00:20:45 - == MCP 7.51 (data: 7.51, client: 1.5.2, server: 1.5.2) ==
00:20:45 - OS : win32
00:20:46 - # VERSION INFO
00:20:46 - python: 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)]
00:20:46 - platform: Windows-post2008Server-6.2.9200
00:20:46 - # java: '"C:\Program Files\Java\jdk1.7.0_21\bin\java" -version'
00:20:46 - java version "1.7.0_21"

Java(TM) SE Runtime Environment (build 1.7.0_21-b11)

Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
00:20:46 - # javac: '"C:\Program Files\Java\jdk1.7.0_21\bin\javac" -version'
00:20:46 - javac 1.7.0_21
00:20:46 - # javac runtime: '"C:\Program Files\Java\jdk1.7.0_21\bin\javac" -J-version'
00:20:46 - java version "1.7.0_21"

Java(TM) SE Runtime Environment (build 1.7.0_21-b11)

Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
00:20:46 - # scalac: '"scalac.bat" -version'
00:20:47 - 
00:20:47 - # scalac runtime: '"scalac.bat" -J-version'
00:20:48 - 
00:20:48 - # retroguard: 'runtime\bin\retroguard.jar --version'
00:20:52 - 
00:20:52 - # mcinjector: 'runtime\bin\mcinjector.jar --version'
00:20:56 - 
00:20:56 - # patch: 'runtime\bin\applydiff.exe --version'
00:20:56 - patch 2.5.4
00:20:56 - # astyle: 'runtime\bin\astyle.exe --version'
00:20:56 - Artistic Style Version 2.02.1
00:20:56 - runcmd: 'runtime\bin\astyle.exe --version'
00:20:56 - shlex: ['runtime\\bin\\astyle.exe', '--version']
00:20:56 - Artistic Style Version 2.02.1
00:20:56 - # jadretro: 'runtime\bin\jadretro.jar'
00:20:56 - Error: Unable to access jarfile runtime\bin\jadretro.jar
00:20:56 - # jad: 'runtime\bin\jad.exe'
00:20:56 - # fernflower: 'runtime\bin\fernflower.jar'
00:21:01 - FATAL ERROR
Traceback (most recent call last):
  File "C:\MPC\MajesticCaves\forge\mcp\runtime\decompile.py", line 50, in decompile
    commands = Commands(conffile, verify=True, no_patch=no_patch)
  File "C:\MPC\MajesticCaves\forge\mcp\runtime\commands.py", line 202, in __init__
    self.readcommands(verify, no_patch=no_patch)
  File "C:\MPC\MajesticCaves\forge\mcp\runtime\commands.py", line 310, in readcommands
    error=False)
  File "C:\MPC\MajesticCaves\forge\mcp\runtime\commands.py", line 211, in checkcommand
    output = output.splitlines()[0]
IndexError: list index out of range

 

 

mpcerr.log

 

00:21:01 - FATAL ERROR
Traceback (most recent call last):
  File "C:\MPC\MajesticCaves\forge\mcp\runtime\decompile.py", line 50, in decompile
    commands = Commands(conffile, verify=True, no_patch=no_patch)
  File "C:\MPC\MajesticCaves\forge\mcp\runtime\commands.py", line 202, in __init__
    self.readcommands(verify, no_patch=no_patch)
  File "C:\MPC\MajesticCaves\forge\mcp\runtime\commands.py", line 310, in readcommands
    error=False)
  File "C:\MPC\MajesticCaves\forge\mcp\runtime\commands.py", line 211, in checkcommand
    output = output.splitlines()[0]
IndexError: list index out of range

 

 

 

 

  • 4 weeks later...
Posted
dragged in the forge folder inside the minecraftforge-src-1.5.2-7.8.0.716.zip

 

Try extracting the entire zip.  I don't know if it'll make a difference, but you might be missing a file because of that.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

  • 2 weeks later...
Posted

I don't think, it's FernFlower, because the FF jar comes with MCP and on one on one of the jenkins, it worked. Why should the jar be corrupted on one, but not on the other?

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



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Hello, I have this same problem. Did you manage to find a solution? Any help would be appreciated. Thanks.
    • log: https://mclo.gs/QJg3wYX as stated in the title, my game freezes upon loading into the server after i used a far-away waystone in it. The modpack i'm using is better minecraft V18. Issue only comes up in this specific server, singleplayer and other servers are A-okay. i've already experimented with removing possible culprits like modernfix and various others to no effect. i've also attempted a full reinstall of the modpack profile. Issue occurs shortly after the 'cancel' button dissapears on the 'loading world' section of the loading screen.   thanks in advance.
    • You would have better results asking a more specific question. What have you done? What exactly do you need help with? Please also read the FAQ regarding posting logs.
    • Hi, this is my second post with the same content as no one answered this and it's been a long time since I made the last post, I want to make a client-only mod, everything is ok, but when I use shaders, none of the textures rendered in RenderLevelStageEvent nor the crow entity model are rendered, I want them to be visible, because it's a horror themed mod I've already tried it with different shaders, but it didn't work with any of them and I really want to add support for shaders Here is how i render the crow model in the CrowEntityRenderer<CrowEntity>, by the time i use this method, i know is not the right method but i don't think this is the cause of the problem, the renderType i'm using is entityCutout @Override public void render(CrowEntity p_entity, float entityYaw, float partialTick, PoseStack poseStack, MultiBufferSource bufferSource, int packedLight) { super.render(p_entity, entityYaw, partialTick, poseStack, bufferSource, packedLight); ClientEventHandler.getClient().crow.renderToBuffer(poseStack, bufferSource.getBuffer(ClientEventHandler.getClient().crow .renderType(TEXTURE)), packedLight, OverlayTexture.NO_OVERLAY, Utils.rgb(255, 255, 255)); } Here renderLevelStage @Override public void renderWorld(RenderLevelStageEvent e) { horrorEvents.draw(e); } Here is how i render every event public void draw(RenderLevelStageEvent e) { for (HorrorEvent event : currentHorrorEvents) { event.tick(e.getPartialTick()); event.draw(e); } } Here is how i render the crow model on the event @Override public void draw(RenderLevelStageEvent e) { if(e.getStage() == RenderLevelStageEvent.Stage.AFTER_ENTITIES) { float arcProgress = getArcProgress(0.25f); int alpha = (int) Mth.lerp(arcProgress, 0, 255); int packedLight = LevelRenderer.getLightColor(Minecraft.getInstance().level, blockPos); VertexConsumer builder = ClientEventHandler.bufferSource.getBuffer(crow); Crow<CreepyBirdHorrorEvent> model = ClientEventHandler .getClient().crow; model.setupAnim(this); RenderHelper.renderModelInWorld(model, position, offset, e.getCamera(), e.getPoseStack(), builder, packedLight, OverlayTexture.NO_OVERLAY, alpha); builder = ClientEventHandler.bufferSource.getBuffer(eyes); RenderHelper.renderModelInWorld(model, position, offset, e.getCamera(), e.getPoseStack(), builder, 15728880, OverlayTexture.NO_OVERLAY, alpha); } } How i render the model public static void renderModelInWorld(Model model, Vector3f pos, Vector3f offset, Camera camera, PoseStack matrix, VertexConsumer builder, int light, int overlay, int alpha) { matrix.pushPose(); Vec3 cameraPos = camera.getPosition(); double finalX = pos.x - cameraPos.x + offset.x; double finalY = pos.y - cameraPos.y + offset.y; double finalZ = pos.z - cameraPos.z + offset.z; matrix.pushPose(); matrix.translate(finalX, finalY, finalZ); matrix.mulPose(Axis.XP.rotationDegrees(180f)); model.renderToBuffer(matrix, builder, light, overlay, Utils .rgba(255, 255, 255, alpha)); matrix.popPose(); matrix.popPose(); } Thanks in advance
  • Topics

  • Who's Online (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

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