GitHub - Alexivkin/minecraft-launcher: Offline Linux Minecraft Launcher In Pure Bash For Normal And Forge Variations

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

- Helps the normal (aka vanilla/mainline) and Forge Minecraft versions on-demand installation.
- Works with offline recreation profiles
- Permits multiple variations, player profiles, and sport mod configurations to be accessible at the identical time.
- Retains sport property separate from profiles and versioned libraries for simpler file management


Stipulations: make sure that you've gotten the following instruments put in: jq,unzip,curl, sha1sum

Operating: ./begin

- To run a Forge version add a suffix "-forge" to the version, for instance ./start 1.17.10-forge player1.
- To see whatminecraft roleplay serversand Forge variations are at present available for set up, run the script with a non-current version, like this ./start 0 player1, ./begin 0-forge player1
- To create a sport profiles with the identical sport model and same participant name, for example to try out different mods, specify a reputation of this profile because the final argument ./begin


1. Delete the model subfolder under "versons" and re-run it to obtain and rebuild the whole lot. The versions and player profiles are saved in separate folders, so you'll be able to take away variations without eradicating participant configuration.
2. If #1 did not work for a Forge model, remove both the Forge and the the corresponding mainline version folders beneath "versions" and run it again to re-download every little thing.

How to add it to the KDE desktop

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

sudo install -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 out there domestically

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

How one can do reproduce manually what this launcher does

- Run the official java launcher. Login and begin the game. The launcher will download all the required recordsdata for the brand new model. You possibly can see them on 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 $Residence/.minecraft/versions/$ver/$ver-natives. The native libraries will be discovered here.
- Copy-paste the whole -cp argument from the java course of, along with the java args to a run script. Run the script, plus belongings, libraries, and model folder what you want.