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

From Pediascape
Jump to: navigation, search

A smarter way of managing multiple minecraft installations on Linux. It can download and install Minecraft on demand, with all required libraries and assets. This works well with the minecraft launcher for Linux. Dj W360



- Supports both the vanilla/mainline and Forge Minecraft versions. - Supports offline game profile - Allows multiple versions and player profiles to be accessible simultaneously. - Keeps game assets separate and versioned libraries separated for easier file management



Prerequisites: Make sure you have the following installed: jq.unzip.curl.



Running: . Dj W360 /start



To run a Forge version, add the suffix '-forge' to the version. For instance,./start 1.17.20-forge player1. To see which versions of Forge are available, run the script using a non-existent version.



1. Delete the version subfolder under "versons" and re-run it to download and rebuild everything. You can remove player configuration without deleting versions. 2. #1 may not work for Forge versions. To re-download everything, delete the Forge and the mainline versions folders.



How to add it in to the KDE desktop



To obtain the minecraft icon, and the desktop link to clone this repository, To install the icon



sudo install -Dm644 minecraft-launcher.svg /usr/share/icons/hicolor/symbolic/apps/minecraft-launcher.svg



Then, modify the desktop file and make this launcher available locally.



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



How to do reproduce manually what this launcher does



- Run Java Launcher. Login to start the game. The launcher will automatically download the necessary files for the new version. You can see them in this manifest. - Find the native libraries in the process name with ps -ef Then copy that folder cp -a /tmp/folder $HOME/.minecraft/versions/$ver/$ver-natives. The native libraries can be found here. Copy-paste all of the -cp arguments from the Java process along with the Java args to a Run script. Run the script. Include assets, libraries and version folders.