Minecraft launcher with ability to manage multiple instances
Details
Diff Detail
- Repository
- R11 FreeBSD ports repository
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
I never used any launchers for Minecraft.
I'm using shell script for run it: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278014#c2
I don't know how I can help here. :-(
Additionally, it would be nice if the launcher supported the following settings:
- For some gfx cards (for example old Intel) require env variables: MESA_GL_VERSION_OVERRIDE=3.2 and MESA_GLSL_VERSION_OVERRIDE=330
- For some versions of nvidia proprietary drivers need /usr/local/etc/libmap.d/minecraft.conf:
[/usr/local/openjdk17/] libGLX.so libGL-NVIDIA.so libGLX.so.0 libGL-NVIDIA.so.1 [/usr/local/openjdk21/] libGLX.so libGL-NVIDIA.so libGLX.so.0 libGL-NVIDIA.so.1
Hello,
thank you very much for your comment.
- The launcher supports custom environment variables which are then taken when starting a session.
- Unfortunately I don't have an NVIDIA card, can I use this as you have written it?
- Yes. Maybe ask user if he have troubles with run. But this can affect other java graphic applications.
- Same for 1 - if user have troubles he can try set env variables.
Did you test run game using this launcher?
What versions did you tested?
games/prismlauncher/pkg-message | ||
---|---|---|
4 | Just info: 1.20.x require OpenJDK 17 and can work with OpenJDK 21. | |
18 | I don't know can this work with env. [/usr/local/openjdk17/] libGLX.so libGL-NVIDIA.so libGLX.so.0 libGL-NVIDIA.so.1 [/usr/local/openjdk21/] libGLX.so libGL-NVIDIA.so libGLX.so.0 libGL-NVIDIA.so.1 |
games/prismlauncher/pkg-message | ||
---|---|---|
18 | I said about libmap.conf(5): https://man.freebsd.org/cgi/man.cgi?libmap.conf |
I have tested the launcher.
Everything lwjgl2 works ofc.
I dont have tried the other version as they are not available because of the current GLFW problem.
games/prismlauncher/pkg-message | ||
---|---|---|
4 | The cake was only meant to be cut briefly here. | |
18 | I think that it works, I entered it in the launcher and it complained that the nvidia library was not found and with that way you dont touch other openjdk applications like you have said. |
LD_LIBMAP A library replacement list in the same format as libmap.conf(5). For convenience, the characters `=' and `,' can be used instead of a space and a new- line. This variable is parsed after libmap.conf(5), and will override its entries. This variable is un- set for set-user-ID and set-group-ID programs.
Thanks. It work for me with LD_LIBMAP env too!
I dont have tried the other version as they are not available because of the current GLFW problem.
You can apply patch from https://reviews.freebsd.org/D44490, rebuild GLFW and test.
Yes i can confirm that i have now an running 1.20.4.
I also took an modified version of the minecraft-runtime script
from the old minecraft port.
This way nobody have to deal with jave arguments.
I will re roll this in the next days.