GitHub Alexivkinminecraftlauncher Offline Linux Minecraft Launcher In Pure Bash For Customary And Forge Variations

From Time of the World
Jump to: navigation, search

A smarter manner of managing a number of minecraft installations on Linux. It downloads and installs Minecraft model on demand, together with all the suitable libraries and belongings. Pairs nicely with the minecraft server launcher for Linux.



- Supports the conventional (aka vanilla/mainline) and Forge Minecraft variations on-demand set up.- Works with offline recreation profiles- Permits a number of versions, player profiles, and recreation mod configurations to be accessible at the identical time.- Keeps game assets separate from profiles and versioned libraries for simpler file administration



Operating



Prerequisites: be sure you have got the next tools installed: jq,unzip,curl, sha1sum



Working: ./begin



- To run a Forge version add a suffix "-forge" to the version, for instance ./start 1.17.10-forge player1.- To see what normal and Forge variations are currently out there for installation, run the script with a non-present version, like this ./begin 0 player1, ./start 0-forge player1- To create a recreation profiles with the identical recreation model and identical player title, for example to try out completely different mods, specify a name of this profile as the final argument ./start



Troubleshooting



1. Delete the model subfolder beneath "versons" and re-run it to obtain and rebuild all the pieces. The variations and player profiles are kept in separate folders, so you can take away versions without removing participant configuration.2. If #1 didn't work for a Forge model, remove each the Forge and the the corresponding mainline model folders beneath "versions" and run it again to re-obtain every little thing.



How so as 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 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 out there domestically



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



Find out how to do reproduce manually what this launcher does



- Run the official java launcher. Login and begin the sport. The launcher will obtain all the required information for the new model. You possibly can see them on this manifest.- Find the native libraries in the method identify with ps -ef | grep java.library.path. Then copy that folder cp -a /tmp/folder $Dwelling/.minecraft/variations/$ver/$ver-natives. The native libraries could be discovered here.- Copy-paste the whole -cp argument from the java course of, together with the java args to a run script. Run MINECRAFT SERVERS , plus property, libraries, and version folder what you need.