lwjgl3-port icon indicating copy to clipboard operation
lwjgl3-port copied to clipboard

It is over

Open glowiak opened this issue 2 years ago • 10 comments

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.

glowiak avatar Jan 25 '23 12:01 glowiak

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)

graemeg avatar Jan 25 '23 12:01 graemeg

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.

johalun avatar Jan 25 '23 16:01 johalun

@graemeg 1.19.2 works without problems, seems like they started using this function around 1.19.3

glowiak avatar Jan 26 '23 11:01 glowiak

Ah yes, it started being used in snapshot 22w42a for 1.19.3

glowiak avatar Jan 26 '23 11:01 glowiak

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

glowiak avatar Jan 26 '23 11:01 glowiak

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.

johalun avatar Jan 26 '23 15:01 johalun

I tried to backport this function but seems like it does not get recognized by the game.

glowiak avatar Jan 26 '23 19:01 glowiak

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 avatar Feb 25 '23 10:02 graemeg

@graemeg This is not a tarball.

glowiak avatar Mar 08 '23 14:03 glowiak

@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.

graemeg avatar Mar 08 '23 16:03 graemeg