MopsTMC / C4Music

A repo containing all things C4Music
2 stars 0 forks source link

Incompatible with Java 22 #5

Open RoblKyogre opened 4 months ago

RoblKyogre commented 4 months ago

Using Linux (more specifically, Arch Linux with the zen kernel at 6.9.9-zen1-1-zen) with OpenJDK 22.0.1, the resource pack does not show in the pack selection menu, preventing me from using this resource pack. I've only tested this with 1.21 thus far, but I'll see if it is broken in 1.20.6 or not when I have the opportunity.

My guess is it has to do with the extraction protection methods used in the zip file. Opening in Ark or attempting to extract in Dolphin gives me a "Multi-disk zip archives not supported" error, and attempting to run unzip on the file notes that the zipfile "claims to be last disk of a multi-part archive."

RoblKyogre commented 4 months ago

Tested on 1.20.6, also can’t see the pack there

MopsTMC commented 4 months ago

Java 22 seems like the incompatibility here, can you attatch a snippet of the log to confirm? Unfortunately if it is, I can't be of much help

RoblKyogre commented 4 months ago

unfortunately, i don’t think i have much of a stable internet connection for the next few days, so don’t think i’ll be able to download java 21 until it improves in the mean time, here’s a log of it on java 22: https://mclo.gs/OVnldco

MopsTMC commented 4 months ago

Yeah, the errors match. I started using the zip extraction protection because the ogg obfuscation stopped working with Mojang's changes in 1.20.5, so to summarise

Oregano1963 commented 2 weeks ago

Can confirm with Java 23 and 24 (EA).