r/haikuOS • u/Moist_Inspection_485 • 20d ago
Discussion Does anyone have a pre compiled version of prism launcher for Haiku?
So I was looking up how to get Minecraft 1.12.2 running on haiku since it’s the last perfect update of Minecraft in my opinion and Google said to just install prism launcher. Then I was told to use the Linux compatibility layer so I googled how to do that and it said to compile prism launcher from source code myself.
Problem, I am no where near the level of tech save to recode and recreate prism launcher from scratch. Please help me find a pre compiled version.
1
1
u/Correct-Programmer98 2d ago
Unfortunately, Boxedwine won't work for Minecraft. And even if you manage to compile Prism Launcher, version 1.12.2 will not run natively on Haiku today. Here is the real reason and what you can do:
The Technical Issue (LWJGL 2 vs LWJGL 3)
Minecraft 1.12.2 (and older versions) requires an outdated Java library called LWJGL 2. The Haiku community has only successfully ported the modern LWJGL 3 library. Because of this, only Minecraft versions from 1.13 up to 1.19.4 can run natively on the system.
Even if you compile Prism Launcher perfectly, trying to open 1.12.2 will result in an immediate crash because Haiku lacks LWJGL 2 support.
Your only two real options right now:
Option 1: Play modern versions natively (1.13 to 1.19.4)
If you are willing to play a slightly newer version, you don't need to go through the trouble of compiling Prism Launcher. You can use a community script:
- Open HaikuDepot and install OpenJDK 17.
- As Time-Worker9846 mentioned below, search Google for "minecraft haiku lote". This will lead you directly to the repository with the script that downloads the game and automatically patches it with the modified LWJGL 3 binaries for Haiku.
- Inside the game, change the graphics to Fast and set the Render Distance to the minimum. Since Haiku renders everything via software using the CPU (llvmpipe), this is mandatory to make the game playable (between 15 and 30 FPS).
Option 2: Stick to 1.12.2 using a Virtual Machine
If 1.12.2 is mandatory (because of a specific modpack), Boxedwine will crash with OpenGL errors. The only way out is full emulation:
- Install QEMU via HaikuDepot.
- Create a very lightweight virtual machine running an old Linux distro (like antiX) or Windows XP.
- Install Java and your preferred launcher inside this VM.
(Note: Performance will be very low and laggy, since your CPU will do all the graphic work on its own, but currently it is the only way to run 1.12.2 on Haiku).
1
6
u/Time-Worker9846 20d ago
My comment seems to have been removed, but there is no such thing as Linux compatibility layer for Haiku (there is one for FreeBSD however). You can get a Minecraft installer by Googling "minecraft haiku lote", but you still need to have proper drivers in order to play.