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

From Chess Moves
Jump to: navigation, search

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



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



Working



Stipulations: be sure you have the next tools put in: 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. Minecraft eggwars servers - To see what normal and Forge variations are at the moment available for installation, run the script with a non-current version, like this ./start 0 player1, . Minecraft eggwars servers /start 0-forge player1- To create a recreation profiles with the identical game model and same participant identify, for instance to check out different mods, specify a reputation of this profile because the final argument ./begin



Troubleshooting



1. Delete the model subfolder under "versons" and re-run it to download and rebuild every part. The versions and player profiles are kept in separate folders, so you may take away variations with out removing participant configuration.2. If #1 didn't work for a Forge version, take away both the Forge and the the corresponding mainline model folders beneath "versions" and run it again to re-obtain every little thing.



How so as to add it to the KDE desktop



To get the minecraft icon and the desktop link 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 obtainable domestically



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



The best way to do reproduce manually what this launcher does



- Run the official java launcher. Login and begin the game. The launcher will obtain all the required recordsdata for the new version. You possibly can see them in 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 $Dwelling/.minecraft/versions/$ver/$ver-natives. The native libraries might be found 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 property, libraries, and model folder what you want.