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

From SEDS-USA Wiki
Jump to navigation Jump to search

A smarter way of managing multiple minecraft installations on Linux. It downloads and installs Minecraft version on demand, including all the suitable libraries and property. Pairs nicely with the minecraft server launcher for Linux.



- Supports the conventional (aka vanilla/mainline) and Forge Minecraft variations on-demand installation.- Works with offline game profiles- Allows multiple versions, participant profiles, and sport mod configurations to be accessible at the same time.- Keeps sport assets separate from profiles and versioned libraries for easier file administration



Running



Prerequisites: make sure that you have the next instruments installed: jq,unzip,curl, sha1sum



Operating: ./start



- To run a Forge model add a suffix "-forge" to the model, for example ./start 1.17.10-forge player1.- To see what Mini Blog and Forge versions are at the moment accessible for installation, run the script with a non-current model, like this ./begin 0 player1, ./start 0-forge player1- To create a sport profiles with the identical sport version and same participant name, for instance to check out totally different mods, specify a name of this profile because the final argument ./begin



Troubleshooting



1. Delete the model subfolder beneath "versons" and re-run it to obtain and rebuild every little thing. just another mini blog and player profiles are stored in separate folders, so you possibly can remove variations without removing player configuration.2. If #1 did not work for a Forge version, take away both the Forge and the the corresponding mainline version folders underneath "versions" and run it once more to re-obtain the whole lot.



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 out there locally



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



Methods to do reproduce manually what this launcher does



- Run the official java launcher. Login and begin the sport. The launcher will download all of the required information for the new model. You can see them on this manifest.- Discover the native libraries in the process identify with ps -ef | grep java.library.path. Then copy that folder cp -a /tmp/folder $Residence/.minecraft/versions/$ver/$ver-natives. The native libraries could be discovered right here.- Copy-paste the whole -cp argument from the java course of, together with the java args to a run script. Run the script, plus assets, libraries, and version folder what you want.