diff options
Diffstat (limited to 'neo/src/minecraft-pacman/index.html')
-rw-r--r-- | neo/src/minecraft-pacman/index.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/neo/src/minecraft-pacman/index.html b/neo/src/minecraft-pacman/index.html new file mode 100644 index 0000000..22a62cb --- /dev/null +++ b/neo/src/minecraft-pacman/index.html @@ -0,0 +1,28 @@ +<!DOCTYPE html> +<html lang=en> + <head> + <meta charset="utf-8"> + <title>Minecraft Pacman</title> + <link rel="stylesheet" href="/milligram.min.css"> + </head> + <body> + <h1>Minecraft Pacman</h1> + <h2>Manage Minecraft and Fabric versions using pacman(1)!</h2> + <p>The best way to install Minecraft on Arch Linux.</p> + <h2>Downloads</h2> + <p><a href="https://git.yuuta.moe/Minecraft/minecraft-pacman.git/snapshot/minecraft-pacman-master.tar">Latest Tarball</a>, <a href="https://git.yuuta.moe/Minecraft/minecraft-pacman.git">Git</a> and <a href="https://git.yuuta.moe/Minecraft/minecraft-pacman.git/about/">README.md</a>.</p> + <h2>How does it work</h2> + <p>Minecraft and Fabric binaries and just ordinary files. Therefore, it is possible to install and upgrade multiple versions globally (and also natively) using pacman(1) on Arch Linux.</p> + <p>Installation in home directories have multiple disadvantages: users cannot share them, and there is no standard way of upgrading. Most importantly, * most * Minecraft launchers on the Internet have significant disadvantages that prevent me from using them.</p> + <p>Thus, I made a series of PKGBUILD files to download, package and install Minecraft (and also Fabric) as packages on your Arch Linux system.</p> + <p>However, Minecraft and Fabric contains lots of (3.3k) files. Manually keeping track of them and adding them to PKGBUILDs would be a nightmare. This is when I wrote a custom generator in C that automatically downloads version.json files and exporting the variables for PKGBUILDs' uses.</p> + <p>This project also adheres the Unix philosophy: it only bundles Minecraft files and nothing more. All runtime configurations, for example arguments, are stored in environment files that are easily parsed using shell scripts, so you can make a simple launcher in POSIX shell within a hundred of lines.</p> + <h2>How to use it</h2> + <p>Great! You now knows why it's better to install Minecraft as Arch Linux packages, so let's go over the installation procedure.</p> + <p>Because PKGBUILDs are dynamically generated, and Mojang prohibits the distribution of Minecraft files (I think this includes manifest jsons as well), I could not provide ready-to-use packages or PKGBUILDs. You have to generate PKGBUILDs and make them on your own. No worry, this process is simple.<p> + <p>Just <a href="https://git.yuuta.moe/Minecraft/minecraft-pacman.git/snapshot/minecraft-pacman-master.tar">download the latest source tarball</a> and run <code>./switch 1.18.1</code>, so PKGBUILDs will be generated. Then, run <code>makepkg</code> in <code>mc/</code> to create Minecraft packages.</p> + <p>For assets (sounds, extra textures, languages, etc) and Fabric, as well as the exported variables, please consult <a href="https://git.yuuta.moe/Minecraft/minecraft-pacman.git/about/">README</a>.</p> + <br /> + <p>Licensed under GPL v2.</p> + </body> +</html> |