Skip to content

Feat: add Lwjgl 3.4.1 for mc versions 26.1+#245

Open
Taylen-chud wants to merge 6 commits into
AngelAuraMC:mainfrom
Taylen-chud:add-lwjgl-3.4.1
Open

Feat: add Lwjgl 3.4.1 for mc versions 26.1+#245
Taylen-chud wants to merge 6 commits into
AngelAuraMC:mainfrom
Taylen-chud:add-lwjgl-3.4.1

Conversation

@Taylen-chud

@Taylen-chud Taylen-chud commented Jun 24, 2026

Copy link
Copy Markdown

Adds lwjgl 3.4.1 for mc versions 26.1+.
If mc version is 1.21.11 and below it will use lwjgl 3.3.3.

NOTE

  • I haven’t actually tested this because I’m on iOS 27 so amethyst just dosent work at all but I’m pretty certain this would work but would be best to check/edit before merging if you did.

Also please tell me if I did something wrong or something you want changed like the folder names so I can edit them to what would make better sense.

  • also I believe @alexytomi said to not add lwjglx in 3.4.1 or something like that but I did just incase it was something else.

I got the files from https://github.com/AngelAuraMC/lwjgl3

@alexytomi

Copy link
Copy Markdown
Member

Which LWJGL build is this?

@Taylen-chud

Copy link
Copy Markdown
Author

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused, remove

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why and what was this changed to?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why and what was this changed to?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused, remove

@Taylen-chud

Taylen-chud commented Jun 24, 2026

Copy link
Copy Markdown
Author

for openal I noticed it hasn’t been updated in awhile even if it does work fine I just thought it was okay to use the newer version from the build. When I did get amethyst to work on 26.1 it seemed fine I had no issues with my audio. For libshaderc I’m not sure why I decided to use the newer version because it sometimes crashed whenever I loaded the game. I’ll change libshaderc back to normal, remove lwjglx, msdfgen, but I think leaving open al should be fine I personally ran into no issues with it but if it is a problem please let me know.

@alexytomi

Copy link
Copy Markdown
Member

Please note down where you got all the natives from. libshaderc update is fine so long as it's tested with zink and vulkanmod shaders.

@Taylen-chud

Taylen-chud commented Jun 24, 2026

Copy link
Copy Markdown
Author

Every native I replaced was from https://github.com/AngelAuraMC/lwjgl3/actions/runs/24789755284. For libshaderc there was this really weird crash I got where the first time I would launch the game it would crash, but it was completely random at times. To prevent it from happening setting the resolution at anything around 75% and 100% seemed to fix it.

That’s why I was hesitant on updating it. I did test it once with Vulkanmod and it seemed fine. I never did try it with beryl though unfortunately. Zink did work for me never had any issues with it.

But considering people would probably get annoyed at their game crashing the first time they launch I think it’s best to just keep the original libshaderc.

@alexytomi

Copy link
Copy Markdown
Member

If you updated libshaderc did you also update the lwjgl natives? Its always either all or nothing

@Taylen-chud

Copy link
Copy Markdown
Author

Yes I did update all the other natives.

@Taylen-chud

Copy link
Copy Markdown
Author

It’s kinda set up weird though. I have a folder called lwjgl34 and lwjgl33. Lwjgl 34 uses the new natives from your build and 33 uses the pre existing natives.

@alexytomi

Copy link
Copy Markdown
Member

It’s kinda set up weird though. I have a folder called lwjgl34 and lwjgl33. Lwjgl 34 uses the new natives from your build and 33 uses the pre existing natives.

You should update everything. This also shouldn't even launch as https://github.com/AngelAuraMC/Amethyst-iOS/blob/main/JavaApp/src/lwjgl/org/lwjgl/glfw/GLFW.java isn't updated to work with the breaking changes in AngelAuraMC/lwjgl3@b84bec4

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

Successfully merging this pull request may close these issues.

2 participants