Building Prism launcher natively on Haiku!

Howdy again! So, 2 days ago I’ve decided to try something interesting for myself, and for community (hopefully) - build a native version of Prism launcher for Haiku!

Prism launcher - is a Launcher for game “Minecraft” (you need License to be able to download Minecraft!) that has tons of useful functions for comfortable usage!

Why decided to do that? I’ve been searching for a Minecraft port on Haiku to play that game, and I saw few projects that was made to port this Game inside of Haiku, but as you may know, we don’t have Nvidia/AMD GPU drivers yet, so sure thing that Minecraft works… Awfully bad. And I wanted to fix that (and make Minecraft installation as easy as in any other Systems (Fixing using optimization mods for a game)) so I tried to build a Prism launcher out of opensource code on this system!

I need to warn that it’s my first try to build anything, especially on a system like this, so I still have tons of things to understand, finish, and to do. For now, this Launcher works perfectly fine locally and all functions (except starting Minecraft itself) works good, no crashes or errors yet!

So I wanted to ask, if somebody could help: how could I start Minecraft in a Haiku, so that can work (by any possible ways that we have)? Maybe it’s possible to install some kind of “Linux ABI”, or comparability layer that could help starting Minecraft itself in “Linux mode”? Or maybe I need to build custom versions of Java so it could start somehow?

And also I hope I’ve chosen topic correctly, because I’m trying to build Launcher out of source code that can work on Haiku without any forks, and yet as for this moment, it works pretty fine!

Anyway, Thanks to anyone who’s interested in helping with starting Minecraft, see ya. :3

2 Likes

hi, since i recently compiled MultiMC launcher (and prism launcher is a fork of MultiMC) there shouldn’t be any problem, i only changed one file and my launcher compiled perfectly, i have a page of the MultiMC fork where you can see which file i changed, i can try compiling prism launcher right now (I don’t remember which file I changed exactly, but it was the one that had the error that I fixed)

I would like to only fix Minecraft part itself, because it’s not starting yet. Tried to change jar files in Launcher itself and it still crashes. Maybe you know how to fix that part?

1 Like

I just reread your post and realized that you seem to have already assembled the prism launcher, can you provide your discord I can help you there but there is one problem I still couldn’t solve and with MultiMC I’ll have to specify LWJGL manually automatically in the source code I don’t know how

check discord