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

From Hikvision Guides
Jump to: navigation, search

A smarter means of managing a number of minecraft installations on Linux. It downloads and installs Minecraft version on demand, including all the appropriate libraries and belongings. Minecraft Servers Pairs nicely with the minecraft server launcher for Linux.



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



Working



Conditions: be sure you've gotten the following tools installed: jq,unzip,curl, sha1sum



Operating: ./begin



- To run a Forge version add a suffix "-forge" to the version, for example ./begin 1.17.10-forge player1.- To see what normal and Forge versions are at present out there for set up, run the script with a non-existing version, like this ./start 0 player1, ./start 0-forge player1- To create a sport profiles with the same recreation version and same participant name, for example to check out totally different mods, specify a name of this profile as the final argument ./begin



Troubleshooting



1. Delete the version subfolder below "versons" and re-run it to download and rebuild the whole lot. The versions and participant profiles are stored in separate folders, so you may remove variations without removing participant configuration.2. If #1 did not work for a Forge model, take away both the Forge and the the corresponding mainline model folders beneath "variations" and run it once more to re-obtain every thing.



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 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 accessible domestically



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



The way to do reproduce manually what this launcher does



- Run the official java launcher. Login and start the game. The launcher will download all the required information for the new version. You may see them on 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 $Residence/.minecraft/versions/$ver/$ver-natives. The native libraries could be discovered right here.- Copy-paste the entire -cp argument from the java course of, along with the java args to a run script. Run the script, plus belongings, libraries, and version folder what you need.