Add minecraft

This commit is contained in:
Tyler Perkins 2022-12-26 20:19:35 -05:00
parent bf3f9ddce1
commit dd8edc29b4
1 changed files with 70 additions and 0 deletions

70
Minecraft on Gentoo.html Normal file
View File

@ -0,0 +1,70 @@
<div class="post-2-1">
<div class="col-sm-10">
<p>If you're on Gentoo and trying to play minecraft, this guide is for you.
This is a modified version from <a href="https://www.reddit.com/r/Gentoo/comments/h7ne1c/tutorial_official_minecraft_launcher_on_gentoo/">here</a>.
However for completeness sake, I'll have the entire guide here too.</p>
<p>First you need to install icedtea, a FOSS JVM. To install it, emerge it</p>
<blockquote>sudo emerge icedtea</blockquote>
<p>That might take a while to emerge. Once its done, set is as the default
system JVM</p>
<blockquote>
sudo eselect java-vm list;
sudo eselect java-vm system <NUMBER>
</blockquote>
<p>Of course substitute the number for the list entry that says icedtea. If you
want to only set this for your user, don't use sudo.</p>
<p>Now download the executable file for minecraft. Its on mojangs site, but
<a href="https://www.minecraft.net/en-us/download/alternative">this</a> should
be a link to it as of this writing</p>
<p>Now extract it to wherever you would like minecraft to live on your
system</p>
<blockquote>
tar xvf Minecraft.tar.gz;
cd minecraft-launcher
</blockquote>
<p>Now that you've cd'd into the launcher folder, run the minecraft-lancher.
You may run into an error along the lines of</p>
<blockquote>
MessageBox(Minecraft Launcher): Couldn't load launcher core from
/home/USER/.minecraft/launcher/liblauncher.so: LoadErrorNotPresent
</blockquote>
<p>If you poke around you'll find that shared object file exists and lives in
the right place, it just seems to be linking against non existant libraries,
but that's OK. (On a unrelated note, its very interesting that the launcher is
an electron app that also forces itself to live in your home directory. Just
thought that was interesting)</p>
<p>So you need to install the correct libraries for minecraft to load, and its
looking for libsecret. So we can emerge that</p>
<blockquote>
sudo emerge app-crypt/libsecret
</blockquote>
<p>On my system it pulled in 3 other dependencies, so your mileage on may vary
on how much it pulls in. Now all you have to do is pull in.</p>
<p>After this all you have to do is run the launcher, sign in and it should
work right out of the box! Hope this was helpful, and have fun!</p>
</div>
<div>
<figure>
<img src="../img/minecraft.png" class="fig-img"></img>
<figcaption>A pretty decent way to waste some time and have fun with a
group of friends</figcaption>
</figure>
</div>
</div>