GITHUB - ALEXIVKIN/MINECRAFT-LAUNCHER: OFFLINE LINUX MINECRAFT LAUNCHER IN PURE BASH FOR NORMAL AND FORGE VERSIONS

A smarter method of managing a number of minecraft installations on Linux. It downloads and installs Minecraft model on demand, together with all the appropriate libraries and assets. Pairs properly with the minecraft server launcher for Linux.


- Helps the conventional (aka vanilla/mainline) and Forge Minecraft variations on-demand installation.
- Works with offline game profiles
- Permits a number of variations, player profiles, and game mod configurations to be accessible at the same time.
- Retains recreation assets separate from profiles and versioned libraries for easier file administration


Working


Conditions: be sure that you might have the next tools installed: jq,unzip,curl, sha1sum


Working: ./start


- To run a Forge version add a suffix "-forge" to the model, for example ./start 1.17.10-forge player1.
- To see what regular and Forge versions are at the moment accessible for installation, run the script with a non-current version, like this ./start 0 player1, ./start 0-forge player1
- To create a game profiles with the same game model and similar player identify, for example to try out completely different mods, specify a reputation of this profile because the final argument ./start


Troubleshooting


1. Delete the model subfolder beneath "versons" and re-run it to obtain and rebuild every part. The variations and player profiles are saved in separate folders, so you possibly can take away versions with out eradicating participant configuration.
2. If #1 didn't work for a Forge version, take away each the Forge and the the corresponding mainline version folders underneath "versions" and run it again to re-download all the things.


How to add it to the KDE desktop


To get the minecraft icon and the desktop hyperlink 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 accessible domestically


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


Easy methods to do reproduce manually what this launcher does


- Run the official java launcher. Login and begin the game. The launcher will download all of the required recordsdata for the new model. You possibly can see them on this manifest.
- Find the native libraries in the method title with ps -ef | grep java.library.path. Then copy that folder cp -a /tmp/folder $House/.minecraft/versions/$ver/$ver-natives. Top top blog can be discovered right here.
- Copy-paste the whole -cp argument from the java course of, together with the java args to a run script. Run the script, plus belongings, libraries, and model folder what you want.


Created: 21/07/2022 18:48:01
Page views: 9
CREATE NEW PAGE