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

From Science Wiki
Jump to: navigation, search

A smarter method of managing a number of minecraft installations on Linux. 1 Site It downloads and installs Minecraft model on demand, together with all the suitable libraries and assets. Pairs well with the minecraft server launcher for Linux.



- Supports the traditional (aka vanilla/mainline) and Forge Minecraft versions on-demand set up.- Works with offline recreation profiles- Permits multiple versions, participant profiles, and recreation mod configurations to be accessible at the same time.- Keeps game assets separate from profiles and versioned libraries for simpler file administration



Working



Prerequisites: be certain you've got the following instruments installed: jq,unzip,curl, sha1sum



Working: ./begin



- To run a Forge version add a suffix "-forge" to the model, for instance ./start 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-current model, like this ./start zero player1, ./begin 0-forge player1- To create a sport profiles with the identical game version and identical participant name, for instance to try out totally different mods, specify a reputation of this profile as the last argument ./start



Troubleshooting



1. Delete the model subfolder underneath "versons" and re-run it to download and rebuild all the pieces. The versions and player profiles are saved in separate folders, so you may remove variations without eradicating participant configuration.2. If #1 didn't work for a Forge version, take away each the Forge and the the corresponding mainline version folders under "variations" and run it again to re-download all the pieces.



How so as to add it to the KDE desktop



To get the minecraft icon and the desktop hyperlink 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 regionally



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



Tips on how 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 files for the brand new version. You possibly can see them on this manifest.- Find the native libraries in the process title with ps -ef | grep java.library.path. Then copy that folder cp -a /tmp/folder $Residence/.minecraft/versions/$ver/$ver-natives. The native libraries might be found 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.