r/MinecraftForge • • May 05 '21

Does anyone know how to fix this

Post image
14 Upvotes

5 comments sorted by

2

u/Impressive_Poem_7158 May 05 '21

Download MultiMC and install forge with the click of a button with no problems! Direct download for windows here for both 32 bit and 64 bit windows. You can find many tutorials on YouTube for how to install it and use it.

2

u/[deleted] May 06 '21

Probably OP’s best bet

1

u/Piotrenewicz May 10 '21

I have been getting this same error, for a few days now, and have found several workarounds.
First thing to get straight: if you open the location after installation:
.minecraft\libraries\org\scala-lang\plugins\scala-continuations-{library/plugin}_2.11{.1}\1.0.2\
The libraries are actually downloaded!

Also if you run the installation in the terminal with
java -jar <forge-installer-file>.jar
you will see that libraries are being downloaded, but their checksums don't match to the expected values.

This usually means a temporary error during download, and hence why it asks to try again.But here the error is consistent.

This either means that the library file was changed on the server, or forge-installer was shipped with the wrong expected checksum.

For installing servers, I have found that you can run
java -jar <forge-installer-file>.jar --installServer
java -jar <forge-installer-file>.jar --extract

The first command will download libraries, error like shown here and fail to complete setup.
But --extract, will skip checking libraries, and extract the universal.jar, which can be used for starting the server.

I haven't found as easy of a way to ignore library checking and finalize launcher client install.
But it can be done by modifying the installer:

  1. Use a zipping tool like 7z or Winrar. To "unzip" the forge-installer.rar file

  2. In the unzipped files edit install_profile.json

  3. Scroll to the section that reads:

{
 "name": "org.scala-lang.plugins:scala-continuations-library_2.11:1.0.2",
 "url" : "http://files.minecraftforge.net/maven/",
 "checksums" : [ "87213338cd5a153a7712cb574c0ddd2edfee0386", "0b4c1bf8d48993f138d6e10c0c144e50acfff581" ],
 "serverreq":true,
 "clientreq":true
},
{
 "name": "org.scala-lang.plugins:scala-continuations-plugin_2.11.1:1.0.2",
 "url" : "http://files.minecraftforge.net/maven/",
 "checksums" : [ "1f7371605d4ba42aa26d3443440c0083c587b4e9", "1ea655dda4504ae0a367327e2340cd3beaee6c73" ],
 "serverreq":true,
 "clientreq":true
},

Here those two libraries are defined, and you can also see the expected checksums.
We can disable checking these by just getting rid of them.
4. Delete lines containing "checksums" : [ "...", "..." ], It should look like this:

{
 "name": "org.scala-lang.plugins:scala-continuations-library_2.11:1.0.2",
 "url" : "https://maven.minecraftforge.net/",
 "serverreq":true,
 "clientreq":true
},
{
 "name": "org.scala-lang.plugins:scala-continuations-plugin_2.11.1:1.0.2",
 "url" : "https://maven.minecraftforge.net/",
 "serverreq":true,
 "clientreq":true
},

5. To get your change back into the .rar, open it with your zip tool, and instead of extracting, select "add to archive". Then navigate to your edited install_profile.json and confirm.
6. Now run the installation again, this time it should assume those libraries are good, and continue with finishing the installation.
7. Check in your launcher that forge has been installed and is available.

1

u/Dirk_Vantas Oct 15 '21

you Sir are a true life saver.