Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

Installing mod into .jar with Forge

critical tampering fml will not launch minecraft coremod

  • Please log in to reply
4 replies to this topic



    Tree Puncher

  • Members
  • 20 posts

Posted 20 July 2013 - 10:30 PM

After hunting for over an hour, I found the solution for this in various places.

To summarize, Forge no longer wants you to import mods directly into the .jar file, but to "design them properly" so that it can have control over the way it is imported.

This is fine in concept except that they haven't (yet) provided ANY way to easily import what they refer to as a "coremod".

Take Risagumi's "Death Chest" mod for example.

I put it in the ".minecraft/mods" folder and it simply gets ignored and not imported into minecraft.  The log files show that it is scanned, but no mod is found in it.

I put it in the old ".minecraft/coremods" folder (no longer used by Forge and it doesn't even show in the log files.

I add it directly to the ".minecraft/versions/1.6.2-Forge9.10.0.789/1.6.2-Forge9.10.0.789.jar" file and Forge prevents Minecraft from loading with errors containing "CRITICAL TAMPERING...FML will not launch minecraft".


Anyway, to force Forge to allow the mods to load, you need to do the following:

1. Install Forge according to the directions (using the new Forge installer).
2. Import your "core" mods that aren't loading properly into the .jar file.
3. Remove the META_INF folder from the .jar file before saving and closing it.  (Heard it a million times, still forget.)
4. Start Minecraft.
5. Select and Edit the Forge profile.
6. Checkmark the "JVM Arguments" option and add the following items (space between each option):
  -Dfml.ignorePatchDiscrepancies=true -Dfml.ignoreInvalidMinecraftCertificates=true
7. Click the Save Profile button.

You're good to play.

While this might open you up to "unauthorized" modifications to the core code, until Forge gets a good way to actually import core mods or adds hooks for completely overriding functions and variables in the core classes, this will be necessary for some mods to play nicely with Forge.

Forge's suggestion for coremods is now to use Access Transformers:  http://www.minecraft...ss_Transformers

While this might appear to be a good thing in theory, it's way past what should be necessary if a modder wants to add or change a few lines of code in one of the core files.

Register or log in to remove.



    Tree Puncher

  • Members
  • 20 posts

Posted 21 July 2013 - 11:10 PM

P.S.:  If I'm wrong, please tell me so and point me to the correct solution--I really hope I'm wrong...


  • Location: ザ・ワイヤード
  • Minecraft: The_NetZ
  • Xbox:Screw microsoft
  • PSN:Broke

Posted 22 July 2013 - 12:50 AM

View Postefournes, on 21 July 2013 - 11:10 PM, said:

P.S.:  If I'm wrong, please tell me so and point me to the correct solution--I really hope I'm wrong...
You may be able to load mods into mincraft that mod the jar in a way similar to how I added optifine to forge in my linked thread. you say risugami's death chest? I'll test it.

[EDIT] It is confirmed, I can load DeathChest as a library using the json file.
Steps to replicate:
1. Install forge using the official installer (I reccomend version
2. Copy the forge version in .minecraft/versions and rename it Forge-1.6.2
3. Rename the json and jar inside the forge version to Forge-1.6.2.jar/json
4. Open the json file in notepad (preferably notepad++) or whatever text editor your system has.
5. Change the line
	"id": "1.6.2Forge9.10.0.789",
	"id": "Forge-1.6.2",
6. add in the following library entry:
			"name": "risugami.deathchest:deathchest:1.6.2",
			"url": "",
			"serverreq": false
7. Place the deathchest zip in .minecraft/risugami/deathchest/deathchest/1.6.2/, making folders as needed, and name it deathchest-1.6.2.jar (note the change from zip to jar, this must be done.)
8. Open your launcher and create a new profile; tell it to use version Forge-1.6.2 and add "-Dfml.ignorePatchDiscrepancies=true" as a jvm argument (don't forget a space " " between arguements)
9. Play with forge and Death Chest!

Phuck_Yu_Too, on 09 July 2013 - 09:16 PM, said:

You managed to decompile and continue without me giving source code? O_O Bro, you are a god. Of course do whatever the phuck you want!!!! Good luck on it :D
CreepyPastaCraft | SecureCraftProtect



    Stone Miner

  • Members
  • 74 posts
  • Minecraft: oojamaflip1

Posted 28 July 2013 - 04:04 PM

yeah weird also thank you your problem allowed me to see what i was doing wrong because i forgot to add the line -Dfml.ignorePatchDiscrepancies=true -Dfml.ignoreInvalidMinecraftCertificates=true thanks
Posted Image


  • Location: Japan (I'm American)

Posted 28 July 2013 - 07:14 PM

I use magic launcher, much easier then all that stuff. They only thing that gets a lot fo people are those two command lines.
Posted Image