A smarter way of managing multiple minecraft installations on Linux. It downloads and installs Minecraft version on demand, including all the appropriate libraries and assets. This works well with the minecraft launcher for Linux.
- Supports Forge and vanilla Minecraft versions on demand installation. - Supports offline game profiles. - Allows multiple versions, player profiles, as well as game mod configurations, to be accessed simultaneously. - Keeps game assets separate and versioned libraries separated for easier file management
Prerequisites
Running: ./start
- To run a Forge edition, add the suffix "-forge", to the version. For example,./start 1.17.0-forge player1. To determine which Forge version is currently available, run the script with a nonexistent version.
1. Delete the version subfolder under "versons" and re-run it to download and rebuild everything. You can delete versions and player profiles from separate folders. 2. If #1 didn't work for a Forge Version, delete both the Forge folders and the mainline version folders and run it again to redownload everything.
How to add it the KDE desktop
To get the minecraft icon as well as the desktop link cloned this repo, install the icon
sudo install -Dm644 minecraft-launcher.svg /usr/share/icons/hicolor/symbolic/apps/minecraft-launcher.svg
Next, change the desktop file to run the launcher and make it local
cp minecraft-launcher.desktop ~/.local/share/plasma_icons/
How to reproduce manually the launcher's actions
- Run the official Java Launcher. Log in and start the game. The launcher will automatically download the necessary files for the new version. These files are listed in the manifest. - Find the native libraries in the process name with ps -ef Then copy that folder cp -a /tmp/folder $HOME/.minecraft/versions/$ver/$ver-natives. Minecraft Java These are the native libraries. - 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 version folder what you need.
Log in to comment