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

From Mozilla Foundation
Jump to: navigation, search

A smarter way of managing a number of minecraft installations on Linux. It downloads and installs Minecraft version on demand, including all the suitable libraries and belongings. all about minecraft servers and minecraft in general Pairs properly with the minecraft server launcher for Linux.



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



Working



Conditions: make certain you've gotten the next instruments put in: jq,unzip,curl, sha1sum



Working: ./begin



- To run a Forge version add a suffix "-forge" to the model, for example ./start 1.17.10-forge player1.- To see what regular and Forge versions are at present accessible for set up, run the script with a non-existing version, like this ./start zero player1, ./begin 0-forge player1- To create a game profiles with the same recreation version and same player identify, for instance to try out different mods, specify a reputation of this profile as the last argument ./begin



Troubleshooting



1. Delete the version subfolder underneath "versons" and re-run it to download and rebuild every thing. The variations and player profiles are kept in separate folders, so you may remove variations without eradicating player configuration.2. If #1 did not work for a Forge model, remove both the Forge and the the corresponding mainline version folders below "versions" and run it once more 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 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/



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 of the required information for the brand new model. You may see them in this manifest.- Find the native libraries in the process identify with ps -ef | grep java.library.path. Then copy that folder cp -a /tmp/folder $House/.minecraft/versions/$ver/$ver-natives. The native libraries might be discovered right here.- Copy-paste the whole -cp argument from the java process, along with the java args to a run script. Run the script, plus belongings, libraries, and model folder what you need.