Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Forge 7/MCP 7.42/Minecraft 1.5 Issues when decompiling with MCP

Featured Replies

Posted

I'm going to keep this short, and simple. I've got logs - I've tried this with your FML installer code, and my modified version (see my github/pull to your repo).

Every time I try to set up a Forge MCP workspace (IE forge downloads all needed resources, patches them), I run in to errors when patching the minecraft source. This is the correct MCP version, the correct MC Jar version, and the correct Forge version. Nothing is wrong in the downloads/resources department. These files (MC jar, etc..) have in no way been altered prior to their being processed by MCP and Forge.

After Forge fails to automate decompilation, I try to decompile - I am told consistently (IE every try) the a certain class `qp' is missing.

 

My diagnosis: It looks like the wrong patchfiles got included. I may be wrong, however. Regardless, decompiling consistently fails.

 

Links (Be sure to read any #'d comments):

`forge_i_c.log' (Console session, /bin/bash): http://pastie.org/6575782 (PB captchas are currently broken, only got to post one time)

`forge_i.log' (Forge install, referenced from console session log): http://pastebin.com/NWFxvfXC

 

My pull request with the patch I applied (this works - nothing is wrong here): https://github.com/MinecraftForge/FML/pull/202

What versions of astyle do you have installed? Typically EVERY patch failing is caused by you either not having astyle, its config being compleetly diffrent then the one mcp needs, or some other bug on there end.

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

  • Author

Come to think of it, astyle not being installed may be the issue. I was relatively unaware of its ncessity, seeing as (no offence) some of the documentation for workspace setup is not present, hard to find, or provided by 3rd parties (generally "tutorial" people on youtube that have no f* idea what they're doing). I'll post back/edit this post if that fixes it.

Zip your mcp/src folder and upload it somewhere. Something is causing your decompiled source to be unintelligible to the install script.

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

00:31:12 -    ERROR: Method func_70041_e_ ()Z couldn't be decompiled.

00:31:12 - java.io.FileNotFoundException: /home/king_bowser/Projects/BureauCraft-Forge/forge/mcp/temp/cls/minecraft/net/minecraft/entity/item/EntityTNTPrimed.class (Too many open files)

Not sure exactly how you'd do it but seems you need to expand the number of open files you can have at a time. Or make sure you've cleaned up all externious handels before running install.

 

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

  • Author

That would be done by modifying the kernel security config - this should fix it, but if it does not I'll get back to you with such a response.

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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.