Skip to content

A guide on how to setup Prism Launcher and Minecraft on FreeBSD.

License

Notifications You must be signed in to change notification settings

oblivcheck/minecraft-freebsd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Minecraft 1.20.2 on FreeBSD: Getting Started

This repository uses LWJG from #431.

Thanks their work!

with the build versions of er2off used here

You will now be able to run minecraft 1.20.2 on FreeBSD.

And minecraft will be able to recognize multiple cpu cores!(for me, only 1.20.2 now, you maybe want Check the link above)

Setting up Prism Launcher

We will mostly be following the OpenBSD build instructions at https://prismlauncher.org/wiki/development/build-instructions/#openbsd.

  1. Install Dependancies: sudo pkg install qt5 qt6 cmake openjdk8 openjdk17 lwjgl glfw git
  2. Clone the repo: git clone --recursive https://github.com/PrismLauncher/PrismLauncher.git and cd PrismLauncher
  3. Configure environment: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/usr/local" -DCMAKE_PREFIX_PATH=/usr/local/lib/qt5/cmake -DENABLE_LTO=ON
  4. Actually build Prism Launcher: cd build and sudo make -j$(nproc) install

Building LWJGL3 and configuring script

For FreeBSD 13.2+ or other version:

Before get start, you maybe want to check this.


  1. Dowload lwjgl3.tar.gz and extract it somewhere.

  2. Go to the folder you exported, make install clean

  3. If build success, you should be able to find the built files in the following path:

    /usr/local/lib/lwjgl3

    /usr/local/share/java/classes/lwjgl3

    This should be correct for FreeBSD 13.2, But if not, open minecraft-runtime in a text editor, modify it:

    LWJGL_JLP_OVRD

    LWJGL_OVRD

    LWJGL_OGL_OVRD

    LWJGL_OAL_OVRD

    LWJGL_GLFW_OVRD

    LWJGL_STB_OVRD

    LWJGL_JEM_OVRD


Configuring Prism

  1. Go in Settings (either Global or Instance), then go in the Java section.
  2. Set Java Runtime/Tick and set Java Installation to the location of the minecraft-runtime script.
  3. Click Test, if you did everything correctly, it should say that the Test succeeded.

Sources

About

A guide on how to setup Prism Launcher and Minecraft on FreeBSD.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published