Jump to content

Forge MCP installation errors {mac}


kyrptonaught

Recommended Posts

I Would like to make a forge mod but keep having issues setting up mcp with forge.  I Have java 8 and python 2.7.3. Does the java version have anything to do with it? I can decompile fine using modloader installed in the minecraft.jar. Im using forge .372 on mac OSX mountain lion

 

 

Heres the terminal log. (ps. its long)

 

 

 

Anthony-Buttillo-2:forge anthonybuttillo$ bash install.sh

================ Forge ModLoader Setup Start ===================

Setting up MCP

> Restoring commands.py backup

patching file commands.py

Commands patch applied successfully

Copying FML conf

Fixing MCP Workspace

== MCP 7.21 (data: 7.21, client: 1.4.4, server: 1.4.4) ==

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

File Exists: lwjgl.jar

File Exists: lwjgl_util.jar

File Exists: jinput.jar

Downloaded windows_natives.jar successfully

    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 successfully

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

File Exists: minecraft.jar

File Exists: minecraft_server.jar

== MCP 7.21 (data: 7.21, client: 1.4.4, server: 1.4.4) ==

# found ff, ff patches, srgs, name csvs, doc csvs, param csvs, renumber csv, astyle, 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

> Copying sources

> Applying fernflower fixes

> Applying patches

'patch -p1 -u -i ../../temp/temp.patch -d src/minecraft' failed : 1

 

== ERRORS FOUND ==

 

2 out of 3 hunks FAILED -- saving rejects to file net/minecraft/client/Minecraft.java.rej

==================

 

> Cleaning comments

- Done in 193.88 seconds

== Reformating client ==

> Cleaning sources

> Replacing OpenGL constants

> Reformating sources

- Done in 8.42 seconds

!! renaming disabled !!

== Decompiling server using fernflower ==

> Creating SRGs

> Applying Retroguard

> Running AccessTransformer

  Forge config detected

> Really Applying Retroguard

> Applying MCInjector

> Unpacking jar

> Copying classes

> Decompiling

> Copying sources

> Applying fernflower fixes

> Applying patches

> Cleaning comments

- Done in 139.54 seconds

== Reformating server ==

> Cleaning sources

> Reformating sources

- Done in 7.29 seconds

!! renaming disabled !!

!! recompile disabled !!

Stripping META-INF from minecraft.jar

Skipping: META-INF/MANIFEST.MF

Skipping: META-INF/MOJANG_C.SF

Skipping: META-INF/MOJANG_C.DSA

== MCP 7.21 (data: 7.21, client: 1.4.4, server: 1.4.4) ==

# found ff, ff patches, srgs, name csvs, doc csvs, param csvs, renumber csv, astyle, astyle config

== Recompiling client ==

> Cleaning bin

> Recompiling

- Done in 21.43 seconds

> Generating client md5s

== Recompiling server ==

> Cleaning bin

> Recompiling

Server side recompiling skipped, this is normal

- Done in 0.00 seconds

> Generating server md5s

Deleting common/cpw: /Users/anthonybuttillo/Desktop/mcp721-1/src/common/cpw

Applying Forge ModLoader patches

patching file minecraft/net/minecraft/client/ClientBrandRetriever.java

patching file minecraft/net/minecraft/client/Minecraft.java

Hunk #7 succeeded at 767 (offset 8 lines).

Hunk #8 succeeded at 1301 (offset 8 lines).

Hunk #9 succeeded at 1763 (offset 8 lines).

Hunk #10 succeeded at 2018 (offset 8 lines).

patching file minecraft/net/minecraft/client/MinecraftApplet.java

patching file minecraft/net/minecraft/src/GameSettings.java

patching file minecraft/net/minecraft/src/GuiCreateWorld.java

patching file minecraft/net/minecraft/src/GuiErrorScreen.java

patching file minecraft/net/minecraft/src/GuiMainMenu.java

patching file minecraft/net/minecraft/src/IntegratedServer.java

patching file minecraft/net/minecraft/src/IntegratedServerListenThread.java

patching file minecraft/net/minecraft/src/ItemRenderer.java

Hunk #3 succeeded at 128 with fuzz 2.

patching file minecraft/net/minecraft/src/NetClientHandler.java

patching file minecraft/net/minecraft/src/RenderBlocks.java

patching file minecraft/net/minecraft/src/RenderEngine.java

Hunk #4 succeeded at 105 with fuzz 2.

patching file minecraft/net/minecraft/src/TextureCompassFX.java

Hunk #3 succeeded at 72 with fuzz 2.

Hunk #4 FAILED at 155.

Hunk #5 FAILED at 182.

2 out of 5 hunks FAILED -- saving rejects to file minecraft/net/minecraft/src/TextureCompassFX.java.rej

patching file minecraft/net/minecraft/src/TextureFlamesFX.java

Hunk #2 succeeded at 34 with fuzz 2.

Hunk #3 succeeded at 72 with fuzz 2.

patching file minecraft/net/minecraft/src/TextureLavaFlowFX.java

Hunk #3 succeeded at 42 with fuzz 2.

patching file minecraft/net/minecraft/src/TextureLavaFX.java

Hunk #3 succeeded at 38 with fuzz 2.

patching file minecraft/net/minecraft/src/TexturePortalFX.java

Hunk #2 FAILED at 72.

1 out of 3 hunks FAILED -- saving rejects to file minecraft/net/minecraft/src/TexturePortalFX.java.rej

patching file minecraft/net/minecraft/src/TextureWatchFX.java

Hunk #6 succeeded at 135 with fuzz 1.

patching file minecraft/net/minecraft/src/TextureWaterFlowFX.java

Hunk #3 succeeded at 40 with fuzz 2.

Hunk #4 succeeded at 81 with fuzz 2.

patching file minecraft/net/minecraft/src/TextureWaterFX.java

Hunk #3 succeeded at 39 with fuzz 2.

can't find file to patch at input line 3

Perhaps you used the wrong -p or --strip option?

The text leading up to this was:

--------------------------

|--- ../src-base/common/net/minecraft/server/MinecraftServer.java

|+++ ../src-work/common/net/minecraft/server/MinecraftServer.java

--------------------------

File to patch:

 

 

Thank in advanced. :)

Link to comment
Share on other sites

Where exactly did you get java 8?

Seems something is screwy, if you say you are using clean jars, then either 1) somehow, fernflower is decompiling minecraft really differently for you. or 2) Your astyle is screwy.

So, what I would say is verify what version of java you're using, and verify what version of astyle you're using. MCP comes with a mac compatible astyle program if i recall correctly, you may have to set that up to be used.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Link to comment
Share on other sites

Where exactly did you get java 8?

Seems something is screwy, if you say you are using clean jars, then either 1) somehow, fernflower is decompiling minecraft really differently for you. or 2) Your astyle is screwy.

So, what I would say is verify what version of java you're using, and verify what version of astyle you're using. MCP comes with a mac compatible astyle program if i recall correctly, you may have to set that up to be used.

http://jdk8.java.net

Thanks lex ill give that a try

 

Link to comment
Share on other sites

I highly advise not using a wholey in-dev version of java to try and mod minecraft, go install java6 or 7 and try again.

So i intalled java 7 and downloaded a fresh mcp,forge, and minecraft files and ran the install.sh. Got a different error mesage this time.

 

 

 

=============== Forge ModLoader Setup Start ===================

Setting up MCP

> Backing up commands.py

patching file commands.py

Commands patch applied successfully

Copying FML conf

Fixing MCP Workspace

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

Downloaded lwjgl.jar successfully

Downloaded lwjgl_util.jar successfully

Downloaded jinput.jar successfully

Downloaded windows_natives.jar successfully

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

Downloaded minecraft.jar successfully

Downloaded minecraft_server.jar successfully

== MCP 7.21 (data: 7.21, client: 1.4.4, server: 1.4.4) ==

# found ff, ff patches, srgs, name csvs, doc csvs, param csvs, renumber csv, astyle, 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

> Copying sources

> Applying fernflower fixes

> Applying patches

> Cleaning comments

- Done in 297.23 seconds

== Reformating client ==

> Cleaning sources

> Replacing OpenGL constants

> Reformating sources

- Done in 12.27 seconds

!! renaming disabled !!

== Decompiling server using fernflower ==

> Creating SRGs

> Applying Retroguard

> Running AccessTransformer

  Forge config detected

> Really Applying Retroguard

> Applying MCInjector

> Unpacking jar

> Copying classes

> Decompiling

> Copying sources

> Applying fernflower fixes

> Applying patches

> Cleaning comments

- Done in 159.46 seconds

== Reformating server ==

> Cleaning sources

> Reformating sources

- Done in 21.53 seconds

!! renaming disabled !!

!! recompile disabled !!

Stripping META-INF from minecraft.jar

Skipping: META-INF/MANIFEST.MF

Skipping: META-INF/MOJANG_C.SF

Skipping: META-INF/MOJANG_C.DSA

== MCP 7.21 (data: 7.21, client: 1.4.4, server: 1.4.4) ==

# found ff, ff patches, srgs, name csvs, doc csvs, param csvs, renumber csv, astyle, astyle config

== Recompiling client ==

> Cleaning bin

> Recompiling

- Done in 30.88 seconds

> Generating client md5s

== Recompiling server ==

> Cleaning bin

> Recompiling

Server side recompiling skipped, this is normal

- Done in 0.00 seconds

> Generating server md5s

Deleting common/cpw: /Users/anthonybuttillo/Desktop/mcp721-1/src/common/cpw

Applying Forge ModLoader patches

patching file minecraft/net/minecraft/client/ClientBrandRetriever.java

patching file minecraft/net/minecraft/client/Minecraft.java

patching file minecraft/net/minecraft/client/MinecraftApplet.java

patching file minecraft/net/minecraft/src/GameSettings.java

patching file minecraft/net/minecraft/src/GuiCreateWorld.java

patching file minecraft/net/minecraft/src/GuiErrorScreen.java

patching file minecraft/net/minecraft/src/GuiMainMenu.java

patching file minecraft/net/minecraft/src/IntegratedServer.java

patching file minecraft/net/minecraft/src/IntegratedServerListenThread.java

patching file minecraft/net/minecraft/src/ItemRenderer.java

patching file minecraft/net/minecraft/src/NetClientHandler.java

patching file minecraft/net/minecraft/src/RenderBlocks.java

patching file minecraft/net/minecraft/src/RenderEngine.java

patching file minecraft/net/minecraft/src/TextureCompassFX.java

Hunk #4 FAILED at 155.

Hunk #5 FAILED at 182.

2 out of 5 hunks FAILED -- saving rejects to file minecraft/net/minecraft/src/TextureCompassFX.java.rej

patching file minecraft/net/minecraft/src/TextureFlamesFX.java

Hunk #2 succeeded at 34 with fuzz 2.

Hunk #3 succeeded at 72 with fuzz 2.

patching file minecraft/net/minecraft/src/TextureLavaFlowFX.java

patching file minecraft/net/minecraft/src/TextureLavaFX.java

Hunk #3 succeeded at 38 with fuzz 2.

patching file minecraft/net/minecraft/src/TexturePortalFX.java

Hunk #2 FAILED at 72.

1 out of 3 hunks FAILED -- saving rejects to file minecraft/net/minecraft/src/TexturePortalFX.java.rej

patching file minecraft/net/minecraft/src/TextureWatchFX.java

Hunk #6 succeeded at 135 with fuzz 1.

patching file minecraft/net/minecraft/src/TextureWaterFlowFX.java

Hunk #3 succeeded at 40 with fuzz 2.

patching file minecraft/net/minecraft/src/TextureWaterFX.java

Hunk #3 succeeded at 39 with fuzz 2.

Hunk #4 succeeded at 80 with fuzz 2.

can't find file to patch at input line 3

Perhaps you used the wrong -p or --strip option?

The text leading up to this was:

--------------------------

|--- ../src-base/common/net/minecraft/server/MinecraftServer.java

|+++ ../src-work/common/net/minecraft/server/MinecraftServer.java

--------------------------

File to patch:

 

 

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.



×
×
  • Create New...

Important Information

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