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

From Human's Love
Jump to: navigation, search

A smarter approach of managing multiple minecraft installations on Linux. It downloads and installs Minecraft version on demand, together with all the suitable libraries and assets. Pairs effectively with the minecraft server launcher for Linux.



- Supports the normal (aka vanilla/mainline) and Forge Minecraft versions on-demand set up.- Works with offline recreation profiles- Permits 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 easier file management



Working



Prerequisites: ensure you've the following instruments put in: jq,unzip,curl, sha1sum



Operating: ./start



- To run a Forge model add a suffix "-forge" to the version, for example ./begin 1.17.10-forge player1.- To see what normal and Forge versions are at the moment obtainable for set up, run the script with a non-existing model, like this ./start 0 player1, ./start 0-forge player1- To create a sport profiles with the identical game version and identical player identify, for instance to check out totally different mods, specify a name of this profile because the last argument ./begin



Troubleshooting



1. Delete the version subfolder beneath "versons" and re-run it to obtain and rebuild everything. The variations and participant profiles are stored in separate folders, so you'll be able to remove variations with out eradicating participant configuration.2. If NAME MC did not work for a Forge model, remove both the Forge and the the corresponding mainline model folders under "variations" and run it once more to re-obtain 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 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 regionally



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



How you can do reproduce manually what this launcher does



- Run the official java launcher. Login and start the game. The launcher will obtain all of the required information for the brand new version. You can see them in this manifest.- Find the native libraries in the process name with ps -ef | grep java.library.path. Then copy that folder cp -a /tmp/folder $Dwelling/.minecraft/versions/$ver/$ver-natives. The native libraries might be found right here.- Copy-paste the whole -cp argument from the java process, together with the java args to a run script. Run the script, plus belongings, libraries, and model folder what you need.