Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] 1.17.1 MultiMC compatibility not working #6360

Closed
Scorpion34 opened this issue Nov 4, 2021 · 11 comments
Closed

[Bug] 1.17.1 MultiMC compatibility not working #6360

Scorpion34 opened this issue Nov 4, 2021 · 11 comments

Comments

@Scorpion34
Copy link

Scorpion34 commented Nov 4, 2021

To recreate the issue you have to have MultiMC - Download OptiFine HD U H1 1.17.1 - Extract to the MOD variant - place the MOD jar in with MultiMC 1.17.1 Version folder - hit play - OptiFine is installed but not showing up.

Cannot zoom, increase render distance, or anything it's just Vanilla Minecraft even though it's installed.

Screenshot 2021-11-04 041924
Screenshot 2021-11-04 042048

The problem doesn't arise with the previous version 1.17.1 HD U G9 my guess is it's a problem with the compatibility of Forge because preview versions didn't work either of HD U H1 yet I can install it entirely on the default Minecraft Launcher (not the new one) and it works fine.

edit: language was set to German in Minecraft sorry.

2nd edit: log

MultiMC version: 0.6.13-develop-2791

Launched instance in online mode
Authentication server is online

authserver.mojang.com resolves to:
[13.227.36.75]

session.minecraft.net resolves to:
[34.192.50.106, 3.234.0.54, 52.44.210.220]

textures.minecraft.net resolves to:
[54.192.58.31, 54.192.58.117, 54.192.58.7, 54.192.58.66]

api.mojang.com resolves to:
[52.85.164.138]

Minecraft folder is:
E:/MultiMC/instances/1.17.1/.minecraft

Java path is:
E:/Java/jdk-16.0.1/bin/javaw.exe

Checking Java version...
Java is version 16.0.1, using 64-bit architecture, from Oracle Corporation.

Main Class:
net.minecraft.client.main.Main

Native path:
E:/MultiMC/instances/1.17.1/natives

Traits:
traits XR:Initial
traits FirstThreadOnMacOS

Libraries:
E:/MultiMC/libraries/org/lwjgl/lwjgl-glfw/3.2.2/lwjgl-glfw-3.2.2.jar
E:/MultiMC/libraries/org/lwjgl/lwjgl-jemalloc/3.2.2/lwjgl-jemalloc-3.2.2.jar
E:/MultiMC/libraries/org/lwjgl/lwjgl-openal/3.2.2/lwjgl-openal-3.2.2.jar
E:/MultiMC/libraries/org/lwjgl/lwjgl-opengl/3.2.2/lwjgl-opengl-3.2.2.jar
E:/MultiMC/libraries/org/lwjgl/lwjgl-stb/3.2.2/lwjgl-stb-3.2.2.jar
E:/MultiMC/libraries/org/lwjgl/lwjgl-tinyfd/3.2.2/lwjgl-tinyfd-3.2.2.jar
E:/MultiMC/libraries/org/lwjgl/lwjgl/3.2.2/lwjgl-3.2.2.jar
E:/MultiMC/libraries/com/mojang/blocklist/1.0.5/blocklist-1.0.5.jar
E:/MultiMC/libraries/com/mojang/patchy/2.1.6/patchy-2.1.6.jar
E:/MultiMC/libraries/com/github/oshi/oshi-core/5.7.5/oshi-core-5.7.5.jar
E:/MultiMC/libraries/net/java/dev/jna/jna/5.8.0/jna-5.8.0.jar
E:/MultiMC/libraries/net/java/dev/jna/jna-platform/5.8.0/jna-platform-5.8.0.jar
E:/MultiMC/libraries/org/slf4j/slf4j-api/1.8.0-beta4/slf4j-api-1.8.0-beta4.jar
E:/MultiMC/libraries/org/apache/logging/log4j/log4j-slf4j18-impl/2.14.1/log4j-slf4j18-impl-2.14.1.jar
E:/MultiMC/libraries/com/ibm/icu/icu4j/66.1/icu4j-66.1.jar
E:/MultiMC/libraries/com/mojang/javabridge/1.1.23/javabridge-1.1.23.jar
E:/MultiMC/libraries/net/sf/jopt-simple/jopt-simple/5.0.3/jopt-simple-5.0.3.jar
E:/MultiMC/libraries/io/netty/netty-all/4.1.25.Final/netty-all-4.1.25.Final.jar
E:/MultiMC/libraries/com/google/guava/guava/21.0/guava-21.0.jar
E:/MultiMC/libraries/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar
E:/MultiMC/libraries/commons-io/commons-io/2.5/commons-io-2.5.jar
E:/MultiMC/libraries/commons-codec/commons-codec/1.10/commons-codec-1.10.jar
E:/MultiMC/libraries/com/mojang/brigadier/1.0.18/brigadier-1.0.18.jar
E:/MultiMC/libraries/com/mojang/datafixerupper/4.0.26/datafixerupper-4.0.26.jar
E:/MultiMC/libraries/com/google/code/gson/gson/2.8.0/gson-2.8.0.jar
E:/MultiMC/libraries/com/mojang/authlib/2.3.31/authlib-2.3.31.jar
E:/MultiMC/libraries/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar
E:/MultiMC/libraries/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.jar
E:/MultiMC/libraries/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar
E:/MultiMC/libraries/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar
E:/MultiMC/libraries/it/unimi/dsi/fastutil/8.2.1/fastutil-8.2.1.jar
E:/MultiMC/libraries/org/apache/logging/log4j/log4j-api/2.14.1/log4j-api-2.14.1.jar
E:/MultiMC/libraries/org/apache/logging/log4j/log4j-core/2.14.1/log4j-core-2.14.1.jar
E:/MultiMC/libraries/com/mojang/text2speech/1.11.3/text2speech-1.11.3.jar
E:/MultiMC/instances/1.17.1/.minecraft/bin/minecraft.jar

Native libraries:
E:/MultiMC/libraries/org/lwjgl/lwjgl-glfw/3.2.2/lwjgl-glfw-3.2.2-natives-windows.jar
E:/MultiMC/libraries/org/lwjgl/lwjgl-jemalloc/3.2.2/lwjgl-jemalloc-3.2.2-natives-windows.jar
E:/MultiMC/libraries/org/lwjgl/lwjgl-openal/3.2.2/lwjgl-openal-3.2.2-natives-windows.jar
E:/MultiMC/libraries/org/lwjgl/lwjgl-opengl/3.2.2/lwjgl-opengl-3.2.2-natives-windows.jar
E:/MultiMC/libraries/org/lwjgl/lwjgl-stb/3.2.2/lwjgl-stb-3.2.2-natives-windows.jar
E:/MultiMC/libraries/org/lwjgl/lwjgl-tinyfd/3.2.2/lwjgl-tinyfd-3.2.2-natives-windows.jar
E:/MultiMC/libraries/org/lwjgl/lwjgl/3.2.2/lwjgl-3.2.2-natives-windows.jar
E:/MultiMC/libraries/com/mojang/text2speech/1.11.3/text2speech-1.11.3-natives-windows.jar

Jar Mods:
OptiFine_1.17.1_HD_U_H1_MOD (32ff7c20-cf71-4a15-9180-51a85ba917cd.jar)

Params:
--username --version MultiMC5 --gameDir E:/MultiMC/instances/1.17.1/.minecraft --assetsDir E:/MultiMC/assets --assetIndex 1.17 --uuid --accessToken --userType --versionType release

Window size: 854 x 480

Java Arguments:
[-Dfml.ignoreInvalidMinecraftCertificates=true, -Dfml.ignorePatchDiscrepancies=true, -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump, -Xms6144m, -Xmx6144m, -Duser.language=en]

Minecraft process ID: 13572

Using onesix launcher.

[04:26:19] [Render thread/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[04:26:19] [Render thread/INFO]: Setting user: Klassisk
[04:26:20] [Render thread/INFO]: Backend library: LWJGL version 3.2.2 build 10
[04:26:21] [Render thread/INFO]: Narrator library for x64 successfully loaded
[04:26:21] [Render thread/INFO]: Reloading ResourceManager: Default, Minor Vanilla Tweaks 3_13_21
[04:26:22] [Worker-Main-13/WARN]: Unable to read definition 'minecraft:default' in fonts.json in resourcepack: 'Minor Vanilla Tweaks 3_13_21': minecraft:textures/misc/hunger_full.png
[04:26:22] [Worker-Main-13/WARN]: Unable to read definition 'minecraft:default' in fonts.json in resourcepack: 'Minor Vanilla Tweaks 3_13_21': minecraft:textures/misc/hunger_half.png
[04:26:22] [Worker-Main-13/ERROR]: Couldn't load truetype font minecraft:negative_spaces.ttf
java.io.FileNotFoundException: minecraft:font/negative_spaces.ttf
at adn.a(SourceFile:67) ~[minecraft.jar:?]
at adz.a(SourceFile:62) ~[minecraft.jar:?]
at dyz.a(SourceFile:84) ~[minecraft.jar:?]
at dyl$1.a(SourceFile:83) ~[minecraft.jar:?]
at dyl$1.b(SourceFile:51) ~[minecraft.jar:?]
at adx.a(SourceFile:11) ~[minecraft.jar:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1764) [?:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1756) [?:?]
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:295) [?:?]
at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1016) [?:?]
at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1665) [?:?]
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1598) [?:?]
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183) [?:?]
[04:26:27] [Render thread/INFO]: OpenAL initialized.
[04:26:27] [Render thread/INFO]: Sound engine started
[04:26:28] [Render thread/INFO]: Created: 1024x1024x4 minecraft:textures/atlas/blocks.png-atlas
[04:26:28] [Render thread/INFO]: Created: 256x128x4 minecraft:textures/atlas/signs.png-atlas
[04:26:28] [Render thread/INFO]: Created: 1024x512x4 minecraft:textures/atlas/banner_patterns.png-atlas
[04:26:28] [Render thread/INFO]: Created: 1024x512x4 minecraft:textures/atlas/shield_patterns.png-atlas
[04:26:28] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas
[04:26:28] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas
[04:26:28] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas
[04:26:29] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/particles.png-atlas
[04:26:29] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/paintings.png-atlas
[04:26:29] [Render thread/INFO]: Created: 256x128x0 minecraft:textures/atlas/mob_effects.png-atlas
Clipboard copy at: 04 Nov 2021 04:26:39 -0500

@KaiAF
Copy link
Collaborator

KaiAF commented Nov 6, 2021

After 1.17.1_H1_pre2 you have to do these steps:
1. Extract the MOD jar
2. Open it with some archiver (7z, winrar, etc)
3. Move all classes from folder notch to the root* folder (preserving folder structure)
4. Proceed as normal when installing jar mod.

Should look like this
image
After that, it works fine for me

@KaiAF KaiAF closed this as completed Nov 6, 2021
@TheSweatyYeti
Copy link

Why has this been closed? The issue hasn't been fixed? This is only a workaround. It's still a bug.

@rglx
Copy link

rglx commented Nov 9, 2021

It should also be noted that the extractor refuses to run without the Minecraft launcher being installed, which is a problem.

@JoelBierman
Copy link

JoelBierman commented Dec 1, 2021

@KaiAF

Can you elaborate a bit more on step 4 regarding what you mean by "proceed as normal". Opening up the .jar file with an archiver makes a folder, but in MultiMC you have to install a .jar file. Is there a way to convert this altered folder back to .jar? I tried following your instructions (removed everything from the notch folder and moved it to the main root folder) and tried converting it back to .jar by running the following command in the terminal:

jar cf OptiFine_1.18_HD_U_H3_pre4_MOD.jar /Users/joelbierman/Desktop/OptiFine_1.18_HD_U_H3_pre4_MOD

but the problem persists.

@MoustacheOff
Copy link

@KaiAF

Can you elaborate a bit more on step 4 regarding what you mean by "proceed as normal". Opening up the .jar file with an archiver makes a folder, but in MultiMC you have to install a .jar file. Is there a way to convert this altered folder back to .jar? I tried following your instructions (removed everything from the notch folder and moved it to the main root folder) and tried converting it back to .jar by running the following command in the terminal:

jar cf OptiFine_1.18_HD_U_H3_pre4_MOD.jar /Users/joelbierman/Desktop/OptiFine_1.18_HD_U_H3_pre4_MOD

but the problem persists.

Okay, so I tried and this works for 1.17.1, but the problem is still here in 1.18/1.18.1, and I can't find any fixes for these versions…

@KaiAF
Copy link
Collaborator

KaiAF commented Dec 13, 2021

yall are working way to hard. If you use winter you can just right click the jar file and press "Open with winrar". You dont have to convert it back to a jar.

@MoustacheOff Nothing changed in 1.18, it should work the same.

@MoustacheOff
Copy link

yall are working way to hard. If you use winter you can just right click the jar file and press "Open with winrar". You dont have to convert it back to a jar.

@MoustacheOff Nothing changed in 1.18, it should work the same.

Yeah, but in my case I'm on macOS, and there isn't a gui-based archiver doing this.

@MoustacheOff
Copy link

@KaiAF I'm using the command jar cf output.jar inputfolder instead

@MoustacheOff
Copy link

I just found a fix for 1.18.1

A full tutorial is available here: https://github.com/MultiMC/Launcher/wiki/MultiMC-and-OptiFine#the-launchwrapper-tweaker-way-listed-versions

@Tooney712
Copy link

On Linux, trying to run 1.18.1. Gui-based archivers will not allow you to edit the file as @KaiAF suggested. Have tried to use command-line tools instead, but this either results in the exact same behavior despite confirming the files have been moved or it just not working at all.
@MoustacheOff 's suggestion did finally work, but now when running in that mode, forge can no longer run at the same time. Or, rather, it can, but it doesn't actually load. Tried with both versions HD_U_H4 and HD_U_H5 with the compatible forge versions, if OptiFine is loaded, forge (and any subsequent mods) will not be.
From the way things are going, this will continue to be an issue for both macOS and Linux users until some sort of bug in either the MultiMC onesix launcher or Forge or OptiFine is fixed. I mention this because MultiMC just points people to this issue page when people have noticed the problem over there as well, @JoelBierman is listed as "author" on that project and he's in this issue thread with the exact same issue roughly three months ago. As @TheSweatyYeti said, moving the files in the jar around is a workaround, not a fix, and it's not a workaround that works universally either.

Also, apologies for any notification spam or if I come across as very harsh, I just want to get this recognized as a still-ongoing issue, I recognize all this is being done for essentially free and don't want to come across as angry or entitled. If anyone can point to a workaround that works, that would be fine, though I'm sure everyone would just like the bug resolved.

@Antaiir
Copy link

Antaiir commented Jan 25, 2024

The issue is still untouched.

It's still not possible to install OptiFine in MultiMC without having to have the stock mc launcher installed and using that for the installation/extraction. :-(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants