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

A smarter approach of managing multiple minecraft installations on Linux. It downloads and installs Minecraft model on demand, including all the appropriate libraries and property. Pairs effectively with the minecraft server launcher for Linux.


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


Running


Conditions: ensure that you might have the following tools put in: jq,unzip,curl, sha1sum


Operating: ./begin


- To run a Forge version add a suffix "-forge" to the version, for example ./start 1.17.10-forge player1.
- To see what normal and Forge versions are presently out there for installation, run the script with a non-present version, like this ./start zero player1, ./start 0-forge player1
- To create a game profiles with the same recreation model and same player title, for instance to try out completely different mods, specify a name of this profile as the last argument ./start


Troubleshooting


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


How to add it to the KDE desktop


To get the minecraft icon and the desktop link clone this repo, To put in 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 available domestically


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


Easy methods to do reproduce manually what this launcher does


- Run the official java launcher. Login and begin the sport. go with the flow will obtain all the required files for the brand new version. You may see them on this manifest.
- Find the native libraries in the method name with ps -ef | grep java.library.path. Then copy that folder cp -a /tmp/folder $Residence/.minecraft/variations/$ver/$ver-natives. The native libraries will be discovered here.
- Copy-paste the entire -cp argument from the java process, along with the java args to a run script. Run the script, plus belongings, libraries, and model folder what you want.