commit 3caaa36

chld  ·  2026-08-06 22:07:53 +0000 UTC
parent 9046ffd
new netbsd instructions for yar har
1 files changed,  +3, -4
+3, -4
 1@@ -5,15 +5,14 @@
 2 <p>i love getting games for free. actually, ive only ever got one game for free, and that was <a href=https://freesmlauncher.org>minecraft</a>. though, it doesnt end there. i have had like 1 trillion experiences with it. a lot of operating systems</p>
 3 <br>
 4 <h3><a href=https://netbsd.org>netbsd</a></h3>
 5-<p>i forgot most of this which is a shame because i did alot of shit to get it working, but when it was, it was an miracle. but hey, i can tell you <i>some</i> steps</p>
 6+<p>i recently rebuilt freesmlauncher, and did it all "responsibly".</p>
 7 <ol>
 8-	<li>patch sources to drop in NetBSD</li>
 9-	<p>i did this by grepping OpenBSD all over the source code, and appended <blk>|| defined(Q_OS_NETBSD)</blk></p>
10+	<li>clone from my <a href=https://f.9larp.net/WJ0.bundle>git bundle</a>, it comes pre-patched!</li>
11 	<li>run patchelf on the compiled freesmlauncher target: <blk>patchelf --add-rpath /usr/pkg/qt6/lib</blk></li>
12 	<p>netbsd's default linking paths are not inclusive, and where libraries live are retarded. i had to add rpaths to the binary so it could find qt libraries and such.</p>
13 	<li>compile <a href=https://codeberg.org/glowiak/lwjgl-netbsd>lwjgl-netbsd</a></li>
14 	<li>drop in the resulting <i>liblwjgl64.so</i> into <blk>~/.local/FreesmLauncher/instances/ur.instace.bro/natives</blk></li>
15-	<li>install xrandr, MesaLib, and glfw?</li>
16+	<li>install xrandr, MesaLib, and glfw</li>
17 	<li>find ur mesa loader driver and export it as a enviroment variable</li>
18 	<p>for me, i think it was <blk>MESA_LOADER_DRIVER_OVERRIDE=i965</blk></p>
19 </ol>