blog-img

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

person Posted:  buglebun2
calendar_month 27 Jun 2022
mode_comment 0 comments

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


- Helps the normal (aka vanilla/mainline) and Forge Minecraft variations on-demand installation.
- Works with offline sport profiles
- Allows a number of versions, player profiles, and game mod configurations to be accessible at the identical time.
- Retains sport property separate from profiles and versioned libraries for simpler file administration


Working


Conditions: be certain that you could have the next tools installed: jq,unzip,curl, sha1sum


Operating: ./begin


- 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 presently accessible for set up, run the script with a non-present model, like this ./start 0 player1, ./start 0-forge player1
- To create a game profiles with the same game version and same player name, for example to try out completely different mods, specify a reputation of this profile as the last argument ./begin


Troubleshooting


1. Deletego with the flowunder "versons" and re-run it to obtain and rebuild all the things. The variations and player profiles are saved in separate folders, so you possibly can remove versions without eradicating participant configuration.
2. If #1 didn't work for a Forge version, take away both the Forge and the the corresponding mainline version folders below "versions" and run it once more to re-obtain the whole lot.


How 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 regionally


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


The right way to do reproduce manually what this launcher does


- Run the official java launcher. Login and begin the game. The launcher will obtain all of the required files for the brand new version. You may see them in this manifest.
- Find the native libraries in the process title with ps -ef | grep java.library.path. Then copy that folder cp -a /tmp/folder $Home/.minecraft/versions/$ver/$ver-natives. The native libraries can be discovered right here.
- Copy-paste the whole -cp argument from the java process, along with the java args to a run script. Run the script, plus assets, libraries, and model folder what you need.


Setting Pannel

Style Setting
Theme

Menu Style

Active Menu Style

Color Customizer

Direction
Share
Facebook
Twitter
Instagram
Google Plus
LinkedIn
YouTube