GitHub - Alexivkin/minecraft-launcher: Offline Linux Minecraft Launcher In Pure

Expires in 7 months

18 July 2022

Views: 33

A smarter means of managing multiple minecraft installations on Linux. It downloads and installs Minecraft model on demand, including all the suitable libraries and belongings. Pairs effectively with the minecraft server launcher for Linux.

- Helps the conventional (aka vanilla/mainline) and Forge Minecraft versions on-demand installation.

- Works with offline recreation profiles

- Allows multiple variations, participant profiles, and recreation mod configurations to be accessible at the identical time.

- Retains recreation belongings separate from profiles and versioned libraries for simpler file administration


Prerequisites: make sure that you've got the next instruments put in: jq,unzip,curl, sha1sum

Working: ./begin

- To run a Forge version add a suffix "-forge" to the version, for example ./begin 1.17.10-forge player1.

- To see what regular and Forge variations are presently obtainable for installation, run the script with a non-existing model, like this ./begin 0 player1, ./begin 0-forge player1

- To create a sport profiles with the identical sport model and same player title, for example to check out totally different mods, specify a name of this profile as the last argument ./begin


1. Delete the version subfolder underneath "versons" and re-run it to download and rebuild the whole lot. The versions and participant profiles are kept in separate folders, so you possibly can remove versions without removing participant configuration.

2. If #1 didn't work for a Forge version, take away both the Forge and the the corresponding mainline model folders under "variations" and run it once more to re-download all the things.

How so as to add it to the KDE desktop

To get the minecraft icon and the desktop link clone this repo, To put in the icon run

sudo set up -Dm644 minecraft-launcher.svg /usr/share/icons/hicolor/symbolic/apps/minecraft-launcher.svg

Then change the desktop file to run this launcher and make it available domestically

cp minecraft-launcher.desktop ~/.native/share/plasma_icons/

Methods to do reproduce manually what this launcher does

- Run the official java launcher. Kd76 and start the game. The launcher will obtain all the required information for the new model. You'll be able to see them in this manifest.

- Discover the native libraries in the method name with ps -ef | grep java.library.path. Then copy that folder cp -a /tmp/folder $House/.minecraft/versions/$ver/$ver-natives. The native libraries could be discovered here.

- Copy-paste the entire -cp argument from the java course of, together with the java args to a run script. Run the script, plus assets, libraries, and model folder what you want.

Here's my website: