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

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


A smarter method of managing multiple minecraft installations on Linux. It downloads and installs Minecraft version on demand, including all the appropriate libraries and belongings. Pairs nicely with the minecraft server launcher for Linux.

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

- Works with offline recreation profiles

- Allows a number of variations, player profiles, and recreation mod configurations to be accessible at the identical time.

- Keeps recreation belongings separate from profiles and versioned libraries for easier file administration

Operating

Stipulations: be sure you may have the following instruments put in: jq,unzip,curl, sha1sum

Running: ./begin

- To run a Forge version add a suffix "-forge" to the version, for example ./start 1.17.10-forge player1.

- To see what regular and Forge versions are currently available for set up, run the script with a non-present model, like this ./begin zero player1, ./begin 0-forge player1

- To create a game profiles with the same game version and similar player name, for example 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 all the things. The variations and participant profiles are saved in separate folders, so you can remove variations without removing player configuration.

2. If #1 didn't work for a Forge version, take away both the Forge and the the corresponding mainline model folders below "versions" 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 locally

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

The right way to do reproduce manually what this launcher does

- Run the official java launcher. Login and start the sport. The launcher will obtain all of the required information for the new version. You possibly can see them in this manifest.

- Discover the native libraries in the method identify with ps -ef | grep java.library.path. Then copy that folder cp -a /tmp/folder $Home/.minecraft/variations/$ver/$ver-natives. The native libraries can be discovered right here. Tcl online

- Copy-paste the entire -cp argument from the java process, together with the java args to a run script. Run the script, plus belongings, libraries, and model folder what you need.

Report Page