Skip to content

Instantly share code, notes, and snippets.

@NielsPilgaard
Last active July 10, 2023 09:10
Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save NielsPilgaard/40b4992b7a3e5e653a353fe1d45f2185 to your computer and use it in GitHub Desktop.
Save NielsPilgaard/40b4992b7a3e5e653a353fe1d45f2185 to your computer and use it in GitHub Desktop.

Setting up modpacks

Below are the best practices for setting up an Enigmatica modpack instance.

Please do not ask for help in the comments, go the the support channel on our Discord.


TL;DR

Follow the below steps to use recommended settings.

  • Open the CurseForge App

  • Click the cog icon in the lower left corner

  • Go to the Minecraft tab

  • Scroll down to the Java Settings section.

  • Use the Allocated Memory slider to assign the recommended amount of RAM for your PC

  • Paste the below arguments into the Additional Arguments textbox

    -version:1.8+ -XX:+UseG1GC -Dsun.rmi.dgc.server.gcInterval=2147483646 -XX:+UnlockExperimentalVMOptions -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M

  • Done!


RAM

All Minecraft modpacks require you to allocate a certain amount of RAM for them to work properly. The amount depends on the modpack.

Setting RAM allocation with the CurseForge App
  • Open the CurseForge App
  • Click the cog icon in the lower left corner
  • Go to the Minecraft tab
  • Scroll down to the Java Settings section.
  • Use the Allocated Memory slider to assign RAM.
  • Done!
Recommended allocation amount

Never allocate more than your PC can spare.

Total RAM (in GB) Maximum RAM allocation (in GB)
4 3
8 6.5
12 8
16 8

Assigning more than 8GB is never recommend, as you may actually get worse performance. If you're using shaders or a high resolution resource pack, the maximum is 10GB.

Modpack Recommended RAM
Enigmatica 2 7
Enigmatica 2: Light 5
Enigmatica 2: Expert 6.5
Enigmatica 2: Expert Skyblock 6
Enigmatica 4 4
Enigmatica 5 6
Enigmatica 6 5

Java

CurseForge defaults to using an old version that comes with Minecraft, so you have to set the version yourself.

Downloading latest Java

The version you should use is the latest Java 8 64-bit, which you can find here:

https://java.com/en/download/manual.jsp

The one you need is Windows Offline (64-bit)

Set CurseForge to use most recent Java 8
  • Open the CurseForge App
  • Click the cog icon in the lower left corner
  • Go to the Minecraft tab
  • Scroll down to the Java Settings section.
  • In the Additional Arguments textbox, input -version:1.8+
  • Done!

Java Arguments

For optimal performance, we recommend that you use these Java arguments:

-version:1.8+ -XX:+UseG1GC -Dsun.rmi.dgc.server.gcInterval=2147483646 -XX:+UnlockExperimentalVMOptions -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M

In order to set Java arguments using CurseForge, follow these steps:

  • Open the CurseForge App
  • Click the cog icon in the lower left corner
  • Go to the Minecraft tab
  • Scroll down to the Java Settings section.
  • Put the arguments in the "Additional Arguments textbox"
  • Done!
@usafphoenix
Copy link

can you explain the java argument suggestions?

@NielsPilgaard
Copy link
Author

@NielsPilgaard
Copy link
Author

@sergio0902 I doubt it to be honest, but it's worth a shot.

@trfoster
Copy link

Does it matter if you choose the JAR launcher instead of the native launcher.

@NielsPilgaard
Copy link
Author

I recommend always using native.

@trfoster
Copy link

Also you said reinstalling the modpack might solve some issues. Would this delete any of the worlds ?

@NielsPilgaard
Copy link
Author

Your worlds would remain in your old instance, yes, you would have to move the saves folder to the new install of the modpack.

@Blank517
Copy link

Forge gives an error 404 :c

[12:14:11 WARN]: Couldn't download http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.12.2-14.23.5.2847/forge-1.12.2-14.23.5.2847.jar for job 'Version & Libraries'
java.lang.RuntimeException: Server responded with 404; URL=http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.12.2-14.23.5.2847/forge-1.12.2-14.23.5.2847.jar
	at com.mojang.launcher.updater.download.ChecksummedDownloadable.download(ChecksummedDownloadable.java:77) ~[sklauncher-fx.jar:3.0-1a97ead]
	at com.mojang.launcher.updater.download.DownloadJob.popAndDownload(DownloadJob.java:107) ~[sklauncher-fx.jar:3.0-1a97ead]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_242]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_242]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

@NielsPilgaard
Copy link
Author

Either try again later, or use another launcher such as MultiMC or GDLauncher.

@Blank517
Copy link

If I install forge with the installer from their website it works 🤔
I don't know what is wrong with your profile file

@NielsPilgaard
Copy link
Author

What is a profile file?
The issue isn't on my end, it's the Twitch launcher that isn't always able to get the required files.

@Blank517
Copy link

Sorry I mean version file "Enigmatica 2 Light.json", anyway I resolved my own issue ^^

@julesdebie
Copy link

When I start the game in the minecraft launcher it gives an error from Java Virtual Machine launcher: "Error: Unable to locate JRE meeting specification "1.8+"" and in the minecraft launcher itsef it says "An unexpected issue occured and the game has crashed. We're sorry for the inconvenience." any ideas on how to fix this? thanks in advance!

@julesdebie
Copy link

ow yeah also I reinstalled the modpack but havent redownloaded twitch bcs i just downloaded it for the first time so yeah

@NielsPilgaard
Copy link
Author

You most likely have 32-bit Java, you need 64-bit, use the link in the post :)

@HugoLazaro07
Copy link

Hi, I was making a server with my friends. The server runs correctly but when we try to enter this is what appears to us. If anyone could help I will be grateful!

Captura de pantalla (98)

@HugoLazaro07
Copy link

Also this appear which I think its the real error and the missing entries that are missing.

Captura de pantalla (99)

@NielsPilgaard
Copy link
Author

NielsPilgaard commented May 7, 2020

Please do not ask for help in the comments, go the the support channel on my Discord.

:)

@jingleheimer-schmidt
Copy link

jingleheimer-schmidt commented Jul 21, 2020

I just thought I'd add for anyone who may also be having issues with the twitch launcher, I downloaded MultiMC and installed it through that and it it all worked perfectly. So glad I can actually play Enigmatica and not just scream at twitch over and over lol

@Vesper145
Copy link

I am having trouble even just starting. It crashes before it even starts "An unexpected issue occured and the game has crashed. We're sorry for the inconvenience." and i can't get on the discord please help

@NielsPilgaard
Copy link
Author

@Vester145 have you tried the fixes on this page? Why can't you get on the discord? :)

@Solid-Metal
Copy link

what that java command exactly do ?, for some reason it gave me worse performance, i use i7 7700HQ with 16GB of ram, memory allocated 8gb

@NielsPilgaard
Copy link
Author

@Akaitatsu
Copy link

Akaitatsu commented Feb 25, 2021

Do you recommend using the same java arguments for servers? If not, what would you set differently?

Disregard, I see them in the settings.cfg, I use AMP to run my MC server and it likes to execute the jar directly.

@LUX-17
Copy link

LUX-17 commented Jul 6, 2021

Im running the game on 8G allocated memory and also wrote in all the java arguments recommended, but game still runs at 1 fps. Changing the RAM doesnt affect my frames. Also im using a mod pack with around 200 mods.

@fastcarter2
Copy link

Well I put the arguments into the textbox, and minecraft keeps crashing because of something related to the 1.8+ part

@fastcarter2
Copy link

image

@NielsPilgaard
Copy link
Author

You don't have Java 8 64-bit installed, you need that :)

@Memgsas
Copy link

Memgsas commented Aug 22, 2021

I have a issue in the game. Music plays fine, but any other sounds are cut off. Sound of rain, sound of machine tools, sound steps. The sound starts up, then abruptly breaks off and starts again after small delay.
Tried reinstalling everything from scratch.
Does not help. Enigmatica 2 - E2

@NielsPilgaard
Copy link
Author

Please use our Discord channel for support: https://discord.gg/enigmatica

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment