Jump to content

Latest (recommended!) forge doesn't setup correctly [fixed]


copygirl

Recommended Posts

It seems that there are 3 problems in the current download that make the setup fail.

 

1. install.cmd still tries to use MCP's python.

2. Automatically downloading and extracting MCP doesn't work when mcp_dir is set to the parent directory, because it expects that the folder doesn't exist. Needs to be changed manually. (Not sure if it's supposed to be like that.)

3. Eclipse folder does not get replaced, code seems to be commented out..?

 

I hope I could be of some help.

 

 

To anyone freshly downloading MCP and forge, and getting 6000+ errors in eclipse: Close eclipse, delete mcp/eclipse, replace it with mcp/forge/fml/eclipse. (Thanks luacs1998)

Link to comment
Share on other sites

When I try to run forge's install.cmd without mcp it states:

The system cannot find the path specified.
Press any key to continue . . .

Yes, that would be fixed by changing it to use the python binary which FML now includes. Edit the second line in the file to fml\python\python_fml install.py. Don't forget to change mcp_dir in the install.py file to "mcp" or something, or "../mcp" if you want it in the parent directory, it will create a folder with that name.

 

edit: Or do it like usual, download mcp and put forge in, then you only need to replace the eclipse folder.

Link to comment
Share on other sites

Hi there,

 

I recently tried setting up Forge and MCP using both the manual method (grabbing all the jars and such by hand) and the method described by the wiki, which was to just add Forge into MCP, and run install.cmd. Both times resolved in the error you mentioned above. I tried your fix, both by pointing eclipse to using the folder you specified, and by copy and pasting that folder into MCP's root folder, and then pointing eclipse to that.

 

Both times, I now resolve in 8 errors. These all reference the external libraries:

 

guava-12.0.1.jar

asm-all-4.0.jar

argo-2.25.jar

minecraft.jar

lwjgl.jar

jinput.jar

 

Whats weird is all of these can be found in my "jars" folder in MCP. As well as that, they have full drop downs in the Minecraft project folder. Any ideas on what could help?

Link to comment
Share on other sites

Riizu, you don't actually have to do that much. To make sure you won't have any problems I suggest setting it up from the beginning again.

 

- Get MCP, extract it wherever you want. (I'll call the folder "mcp" here.)

- Get forge, extract the folder to mcp/forge.

- Run mcp/forge/install.cmd.

- Delete the folder mcp/eclipse.

- Copy the folder mcp/forge/fml/eclipse to mcp/eclipse.

- Start up eclipse.

- Start modding.

- ? ? ? ?

- Profit!

 

Forge will download Minecraft and all other needed files automatically.

Link to comment
Share on other sites

I've reverted the recomended back to 411 which should fix almost all of these.

Interesting that the people I asked to test it didn't give me any errors, oh well.

 

 

Anyways, MCP downloading is there because people don't know how to do things properly.

If you are to dense to figure it out you can STILL use it in the EXACT same manor as you always have, and it will automatically detect that MCP is in the folder above it.

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

Anyways, MCP downloading is there because people don't know how to do things properly.

 

Well apparently that caused even more problems than there should be.

 

At least I can still use the usual method

Agree with him.

There is a way to fix it though (ie: don't extract eclipse from mcp zip, just copy forge's one there)

^^ That's for you Lex/cpw.

Read the EAQ before posting! OR ELSE!

 

This isn't building better software, its trying to grab a place in the commit list of a highly visible github project.

 

www.forgeessentials.com

 

Don't PM me, I don't check this account unless I have to.

Link to comment
Share on other sites

It cleans up a lot of issue that people have especially the people who like to hook there mods into auto building systems.

Anyways all this shit is fixed, as its all FML issues.

Just need to wait till the next time we sync things with FML, Which will have a lot more changes then just the workspace and downloads.

Shit break while they are being re-written, deal with it.

Nothing that has happened has been a show stopper, no more then 30 seconds for you, the modder, to work around on your 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

Link to comment
Share on other sites

When I try to run forge's install.cmd without mcp it states:

The system cannot find the path specified.
Press any key to continue . . .

It also  shows when you have no internet connexion I believe...

 

Tried the usual manual installation procedure and still get this. (MCodingPack 7.23 and forge folder (6.4.1.435) inside)

Copying the eclipse folder (from forge to main folder) doesn't help. Or naming the main folder "mcp" for that matter.

 

When trying to run python without "install.cmd" , got a "python_fml isn't a valid win32 application". Could it be a bad version of python or something ?

 

I am on Vista(x86)SP2. My latest manual installation (forge 6.4.1.410) worked, so I'll stick with that for the moment.

 

edit: Forge"Readme" file says something about fernflower decompiler at http://goo.gl/PnJHp (address which doesn't work :/ ) ?

edit: Fix work for forge 6.4.1.430.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • I'm using Modrinth as a launcher for a forge modpack on 1.20.1, and can't diagnose the issue on the crash log myself. Have tried repairing the Minecraft instillation as well as removing a few mods that have been problematic for me in the past to no avail. Crash log is below, if any further information is necessary let me know. Thank you! https://paste.ee/p/k6xnS
    • Hey folks. I am working on a custom "Mecha" entity (extended from LivingEntity) that the player builds up from blocks that should get modular stats depending on the used blocks. e.g. depending on what will be used for the legs, the entity will have a different jump strength. However, something unexpected is happening when trying to override a few of LivingEntity's functions and using my new own "Mecha" specific fields: instead of their actual instance-specific value, the default value is used (0f for a float, null for an object...) This is especially strange as when executing with the same entity from a point in the code specific to the mecha entity, the correct value is used. Here are some code snippets to better illustrate what I mean: /* The main Mecha class, cut down for brevity */ public class Mecha extends LivingEntity { protected float jumpMultiplier; //somewhere later during the code when spawning the entity, jumpMultiplier is set to something like 1.5f //changing the access to public didn't help @Override //Overridden from LivingEntity, this function is only used in the jumpFromGround() function, used in the aiStep() function, used in the LivingEntity tick() function protected float getJumpPower() { //something is wrong with this function //for some reason I can't correctly access the fields and methods from the instanciated entity when I am in one of those overridden protected functions. this is very annoying LogUtils.getLogger().info(String.valueOf(this.jumpMultiplier))) //will print 0f return this.jumpMultiplier * super.getJumpPower(); } //The code above does not operate properly. Written as is, the entity will not jump, and adding debug logs shows that when executing the code, the value of this.jumpMultiplier is 0f //in contrast, it will be the correct value when done here: @Override public void tick() { super.tick(); //inherited LivingEntity logic //Custom logic LogUtils.getLogger().info(String.valueOf(this.jumpMultiplier))) //will print 1.5f } } My actual code is slightly different, as the jumpMuliplier is stored in another object (so I am calling "this.legModule.getJumpPower()" instead of the float), but even using a simple float exactly like in the code above didn't help. When running my usual code, the object I try to use is found to be null instead, leading to a crash from a nullPointerException. Here is the stacktrace of said crash: The full code can be viewed here. I have found a workaround in the case of jump strength, but have already found the same problem for another parameter I want to do, and I do not understand why the code is behaving as such, and I would very much like to be able to override those methods as intended - they seemed to work just fine like that for vanilla mobs... Any clues as to what may be happening here?
    • Please delete post. Had not noticed the newest edition for 1.20.6 which resolves the issue.
    • https://paste.ee/p/GTgAV Here's my debug log, I'm on 1.18.2 with forge 40.2.4 and I just want to get it to work!! I cant find any mod names in the error part and I would like some help from the pros!! I have 203 mods at the moment.
  • Topics

×
×
  • Create New...

Important Information

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