Page MenuHomeFreeBSD

games/prismlauncher: Minecraft launcher with ability to manage multiple instances
Changes PlannedPublic

Authored by Alexander88207_protonmail.com on Apr 6 2024, 8:46 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 16, 10:23 PM
Unknown Object (File)
Wed, May 8, 7:46 AM
Unknown Object (File)
Wed, May 1, 8:50 AM
Unknown Object (File)
Sat, Apr 27, 4:12 PM
Unknown Object (File)
Sat, Apr 27, 7:16 AM
Unknown Object (File)
Sat, Apr 27, 12:22 AM
Unknown Object (File)
Fri, Apr 26, 4:50 AM
Unknown Object (File)
Fri, Apr 26, 3:09 AM
Subscribers
None

Details

Reviewers
vvd
Group Reviewers
Contributor Reviewers (ports)
Summary

Minecraft launcher with ability to manage multiple instances

https://prismlauncher.org

Test Plan

Poudriere FreeBSD 14 amd64: OK

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

Alexander88207_protonmail.com retitled this revision from games/prisimlauncher: Minecraft launcher with ability to manage multiple instances to games/prismlauncher: Minecraft launcher with ability to manage multiple instances.Apr 6 2024, 8:51 PM

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:

  1. For some gfx cards (for example old Intel) require env variables: MESA_GL_VERSION_OVERRIDE=3.2 and MESA_GLSL_VERSION_OVERRIDE=330
  2. 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
Alexander88207_protonmail.com edited the test plan for this revision. (Show Details)

Improvements based on the poudriere results.

Hello,

thank you very much for your comment.

  1. The launcher supports custom environment variables which are then taken when starting a session.
  2. Unfortunately I don't have an NVIDIA card, can I use this as you have written it?
  1. Yes. Maybe ask user if he have troubles with run. But this can affect other java graphic applications.
  2. Same for 1 - if user have troubles he can try set env variables.
  • Added openal to USES
  • Added hints about older cards and usage with NVIDIA cards.

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.
Also 1.19.x require LWJGL 3.2+ and 1.20.x require LWJGL 3.3+.

18

I don't know can this work with env.
I have file /usr/local/etc/libmap.d/minecraft.conf with lines:

[/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 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.

https://man.freebsd.org/cgi/man.cgi?query=rtld&sektion=1&apropos=0&manpath=FreeBSD+14.0-RELEASE+and+Ports

  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.

https://man.freebsd.org/cgi/man.cgi?query=rtld&sektion=1&apropos=0&manpath=FreeBSD+14.0-RELEASE+and+Ports

  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.