Skip to main contentdfsdf

Home/ oysternose0's Library/ Notes/ GitHub - Alexivkin/minecraft-launcher: Offline Linux Minecraft Launcher In Pure Bash For Standard And Forge Versions

GitHub - Alexivkin/minecraft-launcher: Offline Linux Minecraft Launcher In Pure Bash For Standard And Forge Versions

from web site

Yurock Rock it like a hurricane


A smarter way of managing multiple minecraft installations on Linux. It downloads and installs Minecraft version on demand, including all the appropriate libraries and assets. This works well with the minecraft launcher for Linux.



- Supports Forge and vanilla Minecraft versions on demand installation. - 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 tools installed: jq,unzip,curl, sha1sum



Running: ./start



To run Forge versions, add the suffix “-forge” to the version. For example:./start 1.7.10-forgeplayer1. To see the current versions of Forge and normal versions, run the script with an uninstalled version, such as./start 0. player1,./start.0-forge player1. - To create game profiles with the same game version (and the same player name) to test different mods, enter a name for the profile in the last argument.



1. To rebuild everything, delete the version subfolder from "versons" and run it again. You can delete versions and player profiles from separate folders. 2. If #1 does not work with a Forge version of the program, you can remove the Forge and mainline versions folders from the "versions" menu and run it again.



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 reproduce manually the launcher's actions



- Run the official java launcher. Login and launch 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 entire -cp argument of the Java process together with the java parameters to a run-script. YUROCK.NET Run the script, plus assets, libraries, and version folder what you need.

oysternose0

Saved by oysternose0

on Aug 28, 22