Someone-Else-Was-Taken / Magnesium

A Fabric mod designed to improve frame rates and reduce micro-stutter
GNU Lesser General Public License v3.0
20 stars 6 forks source link

Trick: How to run current magnesium version on 1.18.1. #24

Open SzczurekYT opened 2 years ago

SzczurekYT commented 2 years ago

Hey. So you downloaded beta magnesium for 1.18 from curseforge with hope to play on new 1.18? And minecraft stopped you with a message "Mod magnesium requires minecraft 1.18"? I found a simple but working work around.

So:

  1. Download latest 1.18 magnesium version from curseforge. https://www.curseforge.com/minecraft/mc-mods/sodium-reforged/files image
  2. Right click on the downloaded mod file, and open it with any archive manager like 7-zip or winrar. image
  3. You will see something like this, go into META-INF directory image
  4. Here you will find mods.toml file. Open it with any notepad and change versionRange to "[1.18.1]" like on the screenshot. image
  5. Save the file and close your notepad. Now 7-zip should show a window with a measage similar to "File mods.toml has been changed. Do you want to update it in the archive?" Click yes. I'm not sure how this works in winrar and other archive managers but basically you need to change mods.toml file inside of the mod .jar.
  6. Now your Magnesium is read to be used in 1.18.1.

Hope this helps people that can't wait for next magnesium release. Sorry for my english grammar : )

SzczurekYT commented 2 years ago

This should be closed when next magnesium version releases.

PrinceJaxonHellsing commented 2 years ago

I get an error saying "An unexpected issue occured and the game has crashed. We're sorry for the inconvenience. This crash may be caused by an invalid java runtime configuration. Check any custom configuration settings" when I try sadly.

edit: ok so it almost worked when I deleted optifine but now I got this crash log crash-2022-02-08_19.29.50-client.txt

SzczurekYT commented 2 years ago

I get an error saying "An unexpected issue occured and the game has crashed. We're sorry for the inconvenience. This crash may be caused by an invalid java runtime configuration. Check any custom configuration settings" when I try sadly.

edit: ok so it almost worked when I deleted optifine but now I got this crash log crash-2022-02-08_19.29.50-client.txt

Well magnesium isn't compatible with optifine. About you error not sure what causes it. I tried adding few mods metioned in the crash report to my modpack, but wasn't able to reproduce the issue. Also I see that you are using AdoptOpenJDK. For perfomance I guess? I remember that I had some problem with preformance mods / forge and AdoptOpenJDK not working together. You can try using default java installation or using https://adoptium.net.