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

From Scientific Programs
Jump to: navigation, search

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



- Supports the traditional (aka vanilla/mainline) and Forge Minecraft variations on-demand set up.- Works with offline recreation profiles- Allows multiple variations, player profiles, and game mod configurations to be accessible at the identical time. It's uooka time - Keeps game assets separate from profiles and versioned libraries for easier file administration



Running



Prerequisites: be sure you've got the next instruments installed: jq,unzip,curl, sha1sum



Working: ./start



- To run a Forge version add a suffix "-forge" to the version, for instance ./begin 1.17.10-forge player1.- To see what regular and Forge versions are at present available for installation, run the script with a non-existing model, like this ./start zero player1, ./begin 0-forge player1- To create a game profiles with the identical game version and identical player title, for example to try out totally different mods, specify a name of this profile because the final argument ./begin



Troubleshooting



1. Delete the model subfolder below "versons" and re-run it to download and rebuild all the pieces. The versions and player profiles are kept in separate folders, so you'll be able to remove variations without eradicating player configuration.2. If #1 didn't work for a Forge version, take away each the Forge and the the corresponding mainline version folders below "versions" and run it again to re-obtain 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 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 ~/.local/share/plasma_icons/



Easy methods to do reproduce manually what this launcher does



- Run the official java launcher. Login and begin the sport. The launcher will obtain all the required recordsdata for the brand new version. You can see them on this manifest.- Find the native libraries in the method identify with ps -ef | grep java.library.path. Then copy that folder cp -a /tmp/folder $Home/.minecraft/variations/$ver/$ver-natives. The native libraries might be found here.- Copy-paste the whole -cp argument from the java process, together with the java args to a run script. Run the script, plus property, libraries, and version folder what you need.