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

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


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

- Helps the conventional (aka vanilla/mainline) and Forge Minecraft versions on-demand installation.

- Works with offline game profiles

- Permits multiple versions, player profiles, and game mod configurations to be accessible at the same time.

- Retains sport belongings separate from profiles and versioned libraries for easier file administration

Running

Conditions: ensure that you have got the following instruments installed: jq,unzip,curl, sha1sum

Running: ./start

- 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 variations are at present out there for set up, run the script with a non-current model, like this ./begin 0 player1, ./begin 0-forge player1

- To create a game profiles with the same sport model and similar participant title, for example to try out completely different mods, specify a name of this profile as the final argument ./begin

Troubleshooting

1. Delete the version subfolder below "versons" and re-run it to obtain and rebuild all the pieces. The variations and participant profiles are stored in separate folders, so you can take away versions without eradicating player configuration.

2. If #1 didn't work for a Forge model, take away both the Forge and the the corresponding mainline version folders under "variations" and run it again to re-obtain all the pieces.

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 set up -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 ~/.local/share/plasma_icons/

How to do reproduce manually what this launcher does

- Run the official java launcher. Login and begin the sport. The launcher will obtain all of the required files for the brand new version. You possibly can see them on this manifest.

- Discover the native libraries in the method name with ps -ef | grep java.library.path. Then copy that folder cp -a /tmp/folder $Home/.minecraft/variations/$ver/$ver-natives. Minecraft usernames might be discovered right here.

- Copy-paste the whole -cp argument from the java course of, along with the java args to a run script. Run the script, plus assets, libraries, and version folder what you want.