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

It is over #14

Open
glowiak opened this issue Jan 25, 2023 · 10 comments
Open

It is over #14

glowiak opened this issue Jan 25, 2023 · 10 comments

Comments

@glowiak
Copy link

glowiak commented Jan 25, 2023

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.

@graemeg
Copy link

graemeg commented Jan 25, 2023

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)

@johalun
Copy link
Owner

johalun commented Jan 25, 2023

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.

@glowiak
Copy link
Author

glowiak commented Jan 26, 2023

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

@glowiak
Copy link
Author

glowiak commented Jan 26, 2023

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

@glowiak
Copy link
Author

glowiak commented Jan 26, 2023

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

@johalun
Copy link
Owner

johalun commented Jan 26, 2023

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.

@glowiak
Copy link
Author

glowiak commented Jan 26, 2023

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

@graemeg
Copy link

graemeg commented Feb 25, 2023

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

@glowiak
Copy link
Author

glowiak commented Mar 8, 2023

@graemeg This is not a tarball.

@graemeg
Copy link

graemeg commented Mar 8, 2023

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

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

3 participants