As of 2024 :
yay -S liberica-jdk-17-full-bin
then edit beatoraja-config.command to
"#!/bin/bash
export SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0
export _JAVA_OPTIONS='-Dsun.java2d.opengl=true -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel'
cd "$(dirname "$0")"
exec /usr/lib/jvm/liberica-jdk-17-full/bin/java -Xms1g -Xmx4g -cp beatoraja.jar:ir/* bms.player.beatoraja.MainLoader"
OLD:
Steps for playing Beatoraja on Arch Linux :
pacman -S java8-openjfx java-runtime-common jre8-openjdk jre8-openjdk-headless ca-certificates-utils
java -version (Needs to show openjdk version "1.8.0_***"OpenJDK Runtime Environment (build 1.8.0_232-b09)OpenJDK 64-Bit Server VM (build 25.232-b09, mixed mode) or similar)
archlinux-java fix
pacman -S yay (use paru since paru succeded yay https://github.com/Morganamilo/paru)
yay -S ttf-monapo (Other fonts might break the GUI)
java -jar beatoraja.jar (OR java -Xms1g -Xmx8g -cp beatoraja.jar:ir/* bms.player.beatoraja.MainLoader OR run beatoraja-config.command using the terminal)
export _JAVA_OPTIONS='-Dsun.java2d.opengl=true -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel'
cd "$(dirname "$0")"
exec /usr/lib/jvm/java-21-openjdk/bin/java --module-path /usr/lib/jvm/java-21-openjfx/lib --add-modules=javafx.base,javafx.controls,javafx.fxml,javafx.graphics,javafx.media,javafx.swing,javafx.web -Xms1g -Xmx4g -cp beatoraja.jar:ir/* bms.player.beatoraja.MainLoader
Or download liberica and
#!/bin/bash
export _JAVA_OPTIONS='-Dsun.java2d.opengl=true -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel'
cd "$(dirname "$0")"
exec java -Xms1g -Xmx4g -cp beatoraja.jar:ir/* bms.player.beatoraja.MainLoader
You NEED to install the Japanese font
You NEED javafx
You NEED to have the right java environment (archlinux-java fix) OR point to the right one inside the .command file
/usr/lib/jvm/java-8-openjdk/jre/bin/java
You DO NOT NEED to have any other java version
You NEED to install all dependencies that is requested
you NEED ntfs-3g or a similar program to use NTFS drives.
You CAN NOT use your Windows config file with Linux
You MIGHT NEED to enable japanese locale
nano /etc/locale.gen
un# ja_JP.UTF-8 UTF-8
(Save and Exit)
locale-gen
nano beatoraja-config.command
add a new line with : export LANG=ja_JP.utf-8
add a new line with : export LC_ALL=ja_JP.utf8 (they might do the same thing) (not needed anymore)
I highly recommend using gnome instead of KDE if you are having frame pacing issues.
If you decide to use KDE, make sure to install https://github.com/tildearrow/kwin-lowlatency
Since Kwin-lowlatency is dead please use Openbox/KDE (pacman -S openbox)
Gnome has problem with minimizing the game
When using KDE press alt+shift+F12 to disable the compositor and remove any stuttering or right click on program title bar -> More Actions -> Configure special windows... -> Add property -> search block compositing and then enable it. (only with xorg, wayland need compositing to display something (shit))
"java -jar beatoraja.jar -s" to skip beatoraja's control panel
add an alias to make a command and stop doing "cd /beatoraja/sh b*." everytime. search how to make an alias with zsh or bash on archlinux.