Skip to main contentdfsdf

Home/ quiltevent2's Library/ Notes/ GitHub - Alexivkin/minecraft-launcher: Offline Linux Minecraft Launcher In Pure Bash For Customary And Forge Variations

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

from web site

35eng's blog Minecraft servers java games

A smarter way of managing multiple minecraft installations on Linux. It downloads and installs Minecraft model on demand, together with all the suitable libraries and assets. Pairs nicely with the minecraft server launcher for Linux.


- Helps the conventional (aka vanilla/mainline) and Forge Minecraft versions on-demand set up Minecraft .
- Works with offline recreation profiles
- Allows a number of variations, participant profiles, and recreation mod configurations to be accessible at the same time.
- Keeps recreation belongings separate from profiles and versioned libraries for easier file administration


Working


Stipulations: make certain you've the next tools installed: jq,unzip,curl, sha1sum


Operating: ./begin


- To run a Forge model add a suffix "-forge" to the version, for instance ./start 1.17.10-forge player1.
- To see what regular and Forge versions are currently out there for installation, run the script with a non-current model, like this ./start zero player1, ./start 0-forge player1
- To create a sport profiles with the same sport version and identical participant name, for instance to try out different mods, specify a reputation of this profile as the last argument ./begin


Troubleshooting


1. Delete the version subfolder underneath "versons" and re-run it to download and rebuild the whole lot. The versions and player profiles are stored in separate folders, so you'll be able to remove versions with out removing participant configuration.
2. If #1 did not work for a Forge version, remove each the Forge and the the corresponding mainline version folders below "variations" and run it once more to re-obtain the whole lot.


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 accessible 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. The launcher will download all of the required information for the brand new version. You possibly can see them in this manifest.
- Discover the native libraries in the process identify with ps -ef | grep java.library.path. Then copy that folder cp -a /tmp/folder $Residence/.minecraft/versions/$ver/$ver-natives. The native libraries will be found right here.
- Copy-paste the entire -cp argument from the java course of, together with the java args to a run script. Run the script, plus belongings, libraries, and version folder what you need.

quiltevent2

Saved by quiltevent2

on Jul 11, 22