AUR (en) - minecraft-launcher

Package Details: minecraft-launcher 1:2.1.3-1

Git Clone URL: https://aur.archlinux.org/minecraft-launcher.git (read-only, click to copy)
Package Base: minecraft-launcher
Description: Official Minecraft Launcher
Upstream URL: https://mojang.com/
Keywords: game minecraft
Licenses: custom
Conflicts: minecraft-launcher-beta
Provides: minecraft-launcher-beta
Submitter: shoghicp
Maintainer: pschichtel
Last Packager: pschichtel
Votes: 1097
Popularity: 2.44
First Submitted: 2017-01-18 14:17 (UTC)
Last Updated: 2024-11-28 00:27 (UTC)

Pinned Comments

petr commented on 2021-10-08 09:04 (UTC)

The package version is the version of the launcher bootstrap - the part that actually downloads and updates the launcher.

That means the version number of the actual launcher (2.x.xxx) is different from the version here (9xx+) on a fundamental level, and should not be compared.

The package is outdated only when the bootstrap version you get here is different from the bootstrap version you would get from minecraft.net when using the raw tarball.

Latest Comments

1 2 3 4 5 6 .. 52 Next › Last »

zeroz commented on 2024-12-01 05:31 (UTC)

I could not for the life of me get this to use my nvidia card on a laptop with mux integrated intel/nvidia combo.

end up wrapping the minecraft-launcher so i can keep using the application shortcuts.

export __NV_PRIME_RENDER_OFFLOAD=1
export __GLX_VENDOR_LIBRARY_NAME=nvidia

exec /usr/bin/minecraft-launcher "$@"

and thats working now. i gave up playing with java args in the launch client

pschichtel commented on 2024-11-28 00:29 (UTC)

The launcher bootstrap is now at 2.1.3.

The download URL isn't versioned anymore it seems. If someone finds a versioned url, please share it.

Zerfithel commented on 2024-09-29 12:15 (UTC)

Legit

marvhus commented on 2024-07-29 16:27 (UTC) (edited on 2024-07-29 16:38 (UTC) by marvhus)

@pschichtel As I mentioned in the comment, it uses its own Java version, that the launcher downloads for you.

Edit: After you mentioned it, I double checked if there is a setting for choosing the runtime, and it turns out it does let you do that, and after trying various versions, either telling me it won't work, or giving me the same error as with the default one, but I got it to work with 22.0.2 (The default one that comes with the launcher is 21.0.3)

pschichtel commented on 2024-07-29 15:49 (UTC)

@marvhus the libnio.so is missing the symbol NET_SockaddrToInetAddress, so the issue is likely that the Java version you are using to run the game doesn't match the game's expectation. I don't think this is a launcher issue and especially not an issue of this package.

marvhus commented on 2024-07-29 15:41 (UTC) (edited on 2024-07-29 15:43 (UTC) by marvhus)

Hello, I'm having issues with launching the game. When I try to launch a version of the game it fails and gives me the message:

ERROR
Game Crashed
An unexpected issue occured and the game has crashed. We're sorry for the inconvenience.
Exit Code: 1

And in the launcher log it tells me this:

[Info: 2024-07-29 15:24:55.392632606: MinecraftJavaLoggingContext.cpp(65)(T:nqB/57neJjM=)] Launcher/launcher (main) Info Error: LinkageError occurred while loading main class net.minecraft.client.main.Main
    java.lang.UnsatisfiedLinkError: <APPDIR>/runtime/java-runtime-delta/linux/java-runtime-delta/lib/libnio.so: <APPDIR>/runtime/java-runtime-delta/linux/java-runtime-delta/lib/libnio.so: undefined symbol: NET_SockaddrToInetAddress
Runtime.exit(1) logging failed: Could not initialize class jdk.internal.module.SystemModuleFinders$SystemImage

[Info: 2024-07-29 15:24:55.392676976: MinecraftJavaLoggingContext.cpp(65)(T:nqB/57neJjM=)] Launcher/monitor (Process Monitor) Fatal Process crashed with exit code 1

I have no idea how to fix this. Earlier in the log it shows that it uses it's own Java (OpenJDK 21.0.3), so that's not an issue:

[Info: 2024-07-29 15:24:55.307992113: Process_Linux.cpp(129)(T:ZNTIh48/bT4=)] Starting process $HOME/.minecraft/runtime/java-runtime-delta/linux/java-runtime-delta/bin/java

I have made sure libnio.so is executable, and I've checked what libnio.so has all it's dependencies (with ldd), and it was missing libjvm.so, but that was located at .minecraft/runtime/java-runtime-delta/linux/java-runtime-delta/lib/server/libjvm.so but to make sure, I copied it over to the same directory libnio.so is in, but it still doesn't work...

I have also tried deleting my .minecraft directory, and reinstalling minecraft-launcher, but neither of them have worked.

Does anyone know how I can fix this?

pschichtel commented on 2024-06-17 22:15 (UTC)

I just took the time to review this package and check if there is anything to the out-of-date flag.

  1. the launcher bootstrap (that's what this package actually installs) is still up to date with version 1.0.1221, I just downloaded the latest version from the website and compared the hashes, they match.
  2. @virtualsid is right, the dependency list of the package was a major mess. I reduced it to the minimum set of dependencies that still satisfies all dynamically linked libraries. 3. I've added org.freedesktop.secrets which covers gnome-keyring or what ever you might want to use for secrets

kode54 commented on 2024-06-12 01:47 (UTC) (edited on 2024-06-12 01:49 (UTC) by kode54)

@Lyr1cal: At the very least, it should be updated with a new pkgrel with the dependency changes suggested below. Microsoft’s launcher bundles its own Java runtime just for Minecraft, and gnome keyring is used to store credentials across sessions.

Edit: As in, it fetches a Minecraft version specific runtime when installling a given version, rather than requiring the distribution packaging.

Lyr1cal commented on 2024-06-11 22:48 (UTC)

Why is this marked as out-of-date? The launcher is very much up to date and the game updates are provided through the launcher.