Jump to content

Setting up Forge with MCP. 72 crash


mentin2

Recommended Posts

Hello,

I wanted to mod for forge, as I heard it had very many good features.

I saw some youtube videos on how to set up MCP with Forge for minecraft 1.3.2

I followed the ReadMe file inside the Forge folder that I got when I download "Minecraftforge-src..."

Well, I'm on mac osx 10.6.8 (I don't think I have java 7, but I do have java).

I ran the "install.sh" with a clean "minecraft_server.jar", "bin" and "ressources" folder.

Everything ran smoothly:

 

================ 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
== MCP 7.2 (data: 7.2, client: 1.3.2, server: 1.3.2) ==
# 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 132.72 seconds
== Reformating client ==
> Cleaning sources
> Replacing OpenGL constants
> Reformating sources
- Done in 5.99 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 85.76 seconds
== Reformating server ==
> Cleaning sources
> Reformating sources
- Done in 3.83 seconds
!! renaming disabled !!
!! recompile disabled !!

 

 

But then this came up, in the terminal window:

 

 

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.2 (data: 7.2, client: 1.3.2, server: 1.3.2) ==
# found ff, ff patches, srgs, name csvs, doc csvs, param csvs, renumber csv, astyle, astyle config
== Recompiling client ==
> Cleaning bin
> Recompiling
'"javac" -encoding UTF-8 -Xlint:-options -deprecation -g -source 1.6 -target 1.6 -classpath "lib:lib/...' failed : 3

== ERRORS FOUND ==

The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError: Java heap space
at com.sun.tools.javac.comp.Annotate.enterAttributeValue(Annotate.java:217)
at com.sun.tools.javac.comp.Annotate.enterAnnotation(Annotate.java:167)
at com.sun.tools.javac.comp.MemberEnter.enterAnnotations(MemberEnter.java:743)
at com.sun.tools.javac.comp.MemberEnter.access$300(MemberEnter.java:42)
at com.sun.tools.javac.comp.MemberEnter$5.enterAnnotation(MemberEnter.java:711)
at com.sun.tools.javac.comp.Annotate.flush(Annotate.java:95)
at com.sun.tools.javac.comp.Annotate.enterDone(Annotate.java:87)
at com.sun.tools.javac.comp.Enter.complete(Enter.java:472)
at com.sun.tools.javac.comp.Enter.main(Enter.java:429)
at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:819)
at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:727)
at com.sun.tools.javac.main.Main.compile(Main.java:353)
at com.sun.tools.javac.main.Main.compile(Main.java:279)
at com.sun.tools.javac.main.Main.compile(Main.java:270)
at com.sun.tools.javac.Main.compile(Main.java:69)
at com.sun.tools.javac.Main.main(Main.java:54)
==================

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 "/Users/Mentin/Desktop/Minecraft Modding/mcp72/forge/fml/fml.py", line 274, in setup_fml
    updatemd5_side(mcp_dir, commands, CLIENT)
  File "/Users/Mentin/Desktop/Minecraft Modding/mcp72/forge/fml/fml.py", line 285, in updatemd5_side
    recomp = recompile_side(commands, side)
  File "/Users/Mentin/Desktop/Minecraft Modding/mcp72/runtime/mcp.py", line 128, in recompile_side
    commands.recompile(side)
  File "/Users/Mentin/Desktop/Minecraft Modding/mcp72/runtime/commands.py", line 1060, in recompile
    self.runcmd(forkcmd, log_file=pathlog[side])
  File "/Users/Mentin/Desktop/Minecraft Modding/mcp72/runtime/commands.py", line 1109, in runcmd
    raise CalledProcessError(process.returncode, forkcmd, output)
runtime.commands.CalledProcessError: Command '"javac" -encoding UTF-8 -Xlint:-options -deprecation -g -source 1.6 -target 1.6 -classpath "lib:lib/*:jars/bin/minecraft.jar:jars/bin/jinput.jar:jars/bin/lwjgl.jar:jars/bin/lwjgl_util.jar" -sourcepath src/minecraft -d bin/minecraft  ,,,
src/common/org/bouncycastle/util/Strings.java' returned non-zero exit status 3

 

 

I thought in the begging that this was maybe normal?

But then I launched Eclipse and sat the workspace to the "ecplise" folder inside "mcp72"

There was one error, and a lot of packages inside "common" was missing :/

I tried with both:

- minecraftforge-src-4.1.1.251

- minecraftforge-src-4.1.4.275

 

None of those 2 worked:

The recommended?

and the latest?

 

Please help me,

 

I'm new to this forum, so if this is the wrong section, I am sorry

Link to comment
Share on other sites

Interesting havent seen this before, but its something wrong with your compiler.

Says it out of heap space, to give it more.

Or, try re installing tour jdk.

 

I'm sorry but how do you increase Heap Space for Forge?

I found out that Forge, is coded with javac...

So I edited: "/mcp72/conf/mcp.cfg"  to let it use more RAM (to found out where... it took me an hour)

I launch install.sh again located in "/mcp72/forge", and then I say yes to cleanup everything, except that forge cleans up that file and I don't know what to do to tell forge to not clean up...

I am then lost and don't know what to do!

 

I am on Mac OS X Snow Leopard 10.6.8

with latest Java 1.6...  not Java 7 (not for for Snow Leopard YET)

 

Please help me!

 

For some reason, I re-download everything and relaunched it..

and it WORKED!

So it seems that the problem doesn't occur any more! but thank you for your reply!

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.