SkyFactory 5

SkyFactory 5

280k Downloads

Can't launch modpack II: Prism Launcher Edition

pebkac-dev opened this issue · 5 comments

commented

Bug Description

I can't get the modpack to launch.
The error tells me something about the SHA not matching what is expected for 2 different Minecraft 1.20.1 files.
I checked my folders, and couldn't find a crash log.
I provided a link to the client/server log.
My install uploads logs to mclo.gs by default, hopefully that's fine. If not, let me know what I need to do.

It's probably something with this blursed system I'm using.
I use CachyOS (Arch Linux derivative), KDE Plasma (Wayland), and an nVidia GPU.
Do you smell something burning? Nevermind,
Prism Launcher was installed from a CachyOS repo specifically optimized for x86_64_v3 architecture, in case this issue wasn't bespoke enough.

So far, I've tried:
-launching with/without zink
-clean installs of different pack versions (along with clean installs of Minecraft 1.20.1)
-different distributions of java 17
-removing my usual java flags
-using Steam to launch Prism Launcher using Proton in a convoluted launcherception maneuver
-sudo prismlauncher, to rule out any issues related to permissions
-speaking profanities directly into the intake fans on my PC's case

And that's all I got.
I seek out guidance from the grand council of darkness.
I'll sacrifice as many chicken nuggets as it takes.

Did this behavior used to work in the previous version?

Unknown

If you answered Yes above...

No response

Steps to Reproduce (for bugs)

  • Install Sky Factory 5 using Prism Launcher (either installing from file or from curseforge, no difference)

  • Click the "Launch" button in the Prism Launcher GUI

  • Receive a confounding error message

  • Play Sky Factory 5

Client/Server Log:

https://mclo.gs/z0fZAe1

Crash Log:

No response

Modpack Version world created in:

N/A- Didn't get that far yet.

Additional Content Installed?

No response

Modpack Version:

Various. 5.0.7, 5.0.6, 5.0.2

Java Version:

Various distrobutions of java 17: openjdk, Oracle GraalVM, Mojang

Launcher Used:

Prism Launcher

Memory Allocated:

10240/10240 MiB (16GiB system + ~16GiB zRam)

Single Player/LAN/Server:

Singleplayer

Optifine Installed:

No

Shaders Enabled:

No

commented

I use cachyOS as well, this is an issue with zlib, you need to replace zlib-ng-compat with the main zlib library, a simple install of zlib should ask for the removal of the compat library.

There is an issue of the decompressing of the forge libraries that causes this issue. I saw it reported on their trackers, but never saw a fix stated, but I fixed it by installed zlib over zlib-ng-compat, still have zlib-ng installed.

MinecraftForge/MinecraftForge#9437

commented

edit: ok, I'm a bit slow. I re-read everything and got it working smooth as butter.

For anyone as slow as I am, it's not that hard to replace zlib-ng with zlib.
step 1: sudo pacman -S lib32-zlib
step 2: sudo pacman -S zlib

commented

Correct, you keep zlib-ng you just replace the compat library with regular zlib, for reference on my system

❯ yay -Qs zlib
local/lib32-zlib 1.3.1-2
    Compression library implementing the deflate compression method found in gzip and PKZIP (32-bit)
local/lib32-zlib-ng 2.2.4-1
    zlib replacement with optimizations for next generation systems - 32-bit
local/zlib 1:1.3.1-2.1
    Compression library implementing the deflate compression method found in gzip and PKZIP
local/zlib-ng 2.2.4-1
    zlib replacement with optimizations for next generation systems

Glad you got it working.

commented

I got the pack up and running by using the Curseforge app. Prism Launcher won't import the instance, so I'm stuck using the Curseforge app for the time being.

My attempt at switching from zlib-ng to zlib caused serious damage to my system. Probably due to user-error, but I figure I'd warn anyone else that might also have this issue.
Timeshift will not save you, and I was unable to repair the system using a chroot. I was only able to recover with a fresh install from a liveusb, full data loss.

If you aren't exactly sure what you're doing, try Curseforge. If you're using Arch, you can find it on the AUR.

I don't know enough to say what causes this issue. However, Prism Launcher seems to be capable of both installing and running other 1.20.1 modpacks.

commented

For some info, just some update, I just did a fresh cachyos install on a new PC, and was able to use prism fine. I first had to install lib32-zlib which removed lib32-zlib-ng-compat, then zlib which removed zlib-ng-compat with no issues. Starting with zlib had the issue of not being to replace zlib-ng-compat due to dependence for lib32-zlib-ng-compat. This came up since I just had to do a fresh install, tested first with no zlib changes and got the same error, did the 2 library changes and pack loaded no issue after.

This does have the consequence of running updates it always asks to replace the files back with the compat versions.

For some in depth on the issue, this is an issue with the unpacking of certain compressed filed in the Forge mod loader, which causes the file checksum hashes to not be correct for what Forge is looking for when Forge is loading and causes the error.

The issue isn't in any of the SkyFactory 5 modpack files, the files that are presenting the problems are in Forge, so I'm surprised other packs work unless they aren't Forge based modpacks?