lwjgl3-port
lwjgl3-port copied to clipboard
It is over
Minecraft now needs the function org.lwjgl.glfw.GLFWImage.malloc(int intArg, org.lwjgl.system.MemoryStack memStack), which does not exists until 3.3.x. I have tried to backport this function but seems like it did not see it. Until someone manages to get 3.3.x working there will be no 1.20.
Does MC 1.19.x work in FreeBSD, as it uses a newer LWJGL version than 1.17.x? I was just about to embark on investigating that, after switching back to FreeBSD (from a Ubuntu secondment of a few months - what a mistake)
Hey all. I appreciate the activity here but this fork is really really old and I haven't worked on this in ages, nor do I even work with FreeBSD any longer :( There might be a more up to date work/fork somewhere else.
@graemeg 1.19.2 works without problems, seems like they started using this function around 1.19.3
Ah yes, it started being used in snapshot 22w42a for 1.19.3
And it seems like newer LWJGL needs the includefile swab.h, which can be only found on Linux and as far as I know has no replacement om FBSD
Feel free to fork this and continue the work if this is still of use :) Sorry but I won't be accepting any PRs or continue this work myself.
I tried to backport this function but seems like it does not get recognized by the game.
I've backported the required GLFX method, compiled and packaged LWJGL 3.2.3 for FreeBSD 13.1 (amd64). You can download it here: http://geldenhuys.co.uk/~graemeg/minecraft-freebsd/lwjgl-3.2.3.1-freebsd.tar.7z (yes, I don't have a SSL certificate)
Simply unpack, edit the variable ROOT
's path inside the minecraft-runtime
file, and use that file as the "java executable" in your MC launcher (eg: MultiMC). I have OpenAL & GLFW libs installed from FreeBSD's binary package system.
Finally I can play the latest MC 1.19.3. It works for the pre-release 1.19.4-pre1 as well. :partying_face:
@graemeg This is not a tarball.
@glowiak Not sure what you mean. It's tar'ed (to keep file permissions), then 7-zipped to compress it. To unpack, simply run the following:
7z e -so lwjgl-3.2.3.1-freebsd.tar.7z | tar xvf -
Hope that helps.