User Tools

Site Tools


games:linux:rt4_client_runescape_530

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
games:linux:rt4_client_runescape_530 [2025/09/18 05:03] – [2009Scape (localhost)] Sean Rhonegames:linux:rt4_client_runescape_530 [2026/01/04 11:34] (current) – [2009Scape (localhost)] Sean Rhone
Line 7: Line 7:
 ===== Prerequisites ===== ===== Prerequisites =====
  
-  * [[linux;distros;opensuse_tumbleweed_gnome|openSUSE Tumbleweed (GNOME)]]+  * [[linux:distros:opensuse_tumbleweed_xfce|openSUSE Tumbleweed (Xfce)]]
  
 ===== Notes ===== ===== Notes =====
Line 18: Line 18:
   * https://gitlab.com/2009scape/rt4-client#instructions   * https://gitlab.com/2009scape/rt4-client#instructions
  
-  sudo zypper install git-core java-17-openjdk-headless java-21-openjdk+  sudo zypper install git-core java-17-openjdk-headless java-25-openjdk
  
 ===== Java Priority ===== ===== Java Priority =====
  
-  * ''jre-21-openjdk''+  * ''/usr/lib64/jvm/jre-25-openjdk/bin/java''
  
   sudo update-alternatives --config 'java'   sudo update-alternatives --config 'java'
Line 30: Line 30:
   * https://gitlab.com/2009scape/rt4-client/-/commits/master?ref_type=heads   * https://gitlab.com/2009scape/rt4-client/-/commits/master?ref_type=heads
  
-  cd ~ && mkdir -p ~/'Projects' && rm -Rf ~/'Projects/RT4-Client/src' && git clone --branch 'master' --depth '1' --recurse-submodules 'https://gitlab.com/2009scape/rt4-client.git' ~/'Projects/RT4-Client/src' && sync+  cd ~ && mkdir -p ~/'Projects' && rm -Rf ~/'Projects/RT4-Client/src' && git clone --branch 'master' --depth '1' --recurse-submodules 'https://gitlab.com/2009scape/rt4-client.git' ~/'Projects/RT4-Client/src'
  
 ====== Build ====== ====== Build ======
Line 44: Line 44:
 **** ****
  
-  cd ~/'Projects/RT4-Client/src' && JAVA_HOME='/usr/lib64/jvm/java-17-openjdk-17' ~/'Projects/RT4-Client/src/gradlew' 'clean' --no-daemon && JAVA_HOME='/usr/lib64/jvm/java-17-openjdk-17' ~/'Projects/RT4-Client/src/gradlew' 'jar' --no-daemon+  cd ~/'Projects/RT4-Client/src' && JAVA_HOME='/usr/lib64/jvm/java-17-openjdk-17' ~/'Projects/RT4-Client/src/gradlew' 'clean' --no-daemon && JAVA_HOME='/usr/lib64/jvm/java-17-openjdk-17' ~/'Projects/RT4-Client/src/gradlew' 'jar' --no-daemon && unset 'JAVA_HOME'
  
 ====== Settings ====== ====== Settings ======
Line 78: Line 78:
 cd ~/'Projects/RT4-Client/src/client' cd ~/'Projects/RT4-Client/src/client'
  
-export _JAVA_OPTIONS="-Dsun.java2d.uiScale='1' -Djava.net.preferIPv6Addresses=false --add-exports='java.desktop/sun.awt=ALL-UNNAMED' -Djogamp.gluegen.UseTempJarCache='true' -Djava.io.tmpdir='$HOME/Projects/RT4-Client/cache/' -DclientHomeOverride='$HOME/Projects/RT4-Client/cache/' -Djogl.disable.opengles='true' -XX:+UseSerialGC -Xms1G -Xmx4G"+export _JAVA_OPTIONS="-Dsun.java2d.uiScale='1' -Djava.net.preferIPv6Addresses='false--add-exports='java.desktop/sun.awt=ALL-UNNAMED' --enable-native-access='ALL-UNNAMED' -Djogamp.gluegen.UseTempJarCache='true' -Djava.io.tmpdir='$HOME/Projects/RT4-Client/cache/' -DclientHomeOverride='$HOME/Projects/RT4-Client/cache/' -Djogl.disable.opengles='true' -XX:+UseSerialGC -Xms1G -Xmx4G"
 export vblank_mode='3' export vblank_mode='3'
  
-'/usr/lib64/jvm/java-21-openjdk-21/bin/java' -DclientFps='120' -DclientHomeOverride=$HOME'/Projects/RT4-Client/cache/' -Djava.io.tmpdir=$HOME'/Projects/RT4-Client/cache/' -jar ~/'Projects/RT4-Client/src/client/build/libs/client-'*'.jar' --config ~/'Projects/RT4-Client/conf/localhost.json'+'/usr/lib64/jvm/java-25-openjdk-25/bin/java' -DclientFps='120' -DclientHomeOverride=$HOME'/Projects/RT4-Client/cache/' -Djava.io.tmpdir=$HOME'/Projects/RT4-Client/cache/' -jar ~/'Projects/RT4-Client/src/client/build/libs/client-'*'.jar' --config ~/'Projects/RT4-Client/conf/localhost.json
 + 
 +unset '_JAVA_OPTIONS' 'vblank_mode'
  
 # End</code> # End</code>
Line 96: Line 98:
 cd ~/'Projects/RT4-Client/src/client' cd ~/'Projects/RT4-Client/src/client'
  
-export _JAVA_OPTIONS="-Dsun.java2d.uiScale='2' -Djava.net.preferIPv6Addresses=false --add-exports='java.desktop/sun.awt=ALL-UNNAMED' -Djogamp.gluegen.UseTempJarCache='true' -Djava.io.tmpdir='$HOME/Projects/RT4-Client/cache/' -DclientHomeOverride='$HOME/Projects/RT4-Client/cache/' -Djogl.disable.opengles='true' -XX:+UseSerialGC -Xms1G -Xmx4G"+export _JAVA_OPTIONS="-Dsun.java2d.uiScale='2' -Djava.net.preferIPv6Addresses='false--add-exports='java.desktop/sun.awt=ALL-UNNAMED' --enable-native-access='ALL-UNNAMED' -Djogamp.gluegen.UseTempJarCache='true' -Djava.io.tmpdir='$HOME/Projects/RT4-Client/cache/' -DclientHomeOverride='$HOME/Projects/RT4-Client/cache/' -Djogl.disable.opengles='true' -XX:+UseSerialGC -Xms1G -Xmx4G"
 export vblank_mode='3' export vblank_mode='3'
  
-'/usr/lib64/jvm/java-21-openjdk-21/bin/java' -DclientFps='120' -DclientHomeOverride=$HOME'/Projects/RT4-Client/cache/' -Djava.io.tmpdir=$HOME'/Projects/RT4-Client/cache/' -jar ~/'Projects/RT4-Client/src/client/build/libs/client-'*'.jar' --config ~/'Projects/RT4-Client/conf/localhost.json'+'/usr/lib64/jvm/java-25-openjdk-25/bin/java' -DclientFps='120' -DclientHomeOverride=$HOME'/Projects/RT4-Client/cache/' -Djava.io.tmpdir=$HOME'/Projects/RT4-Client/cache/' -jar ~/'Projects/RT4-Client/src/client/build/libs/client-'*'.jar' --config ~/'Projects/RT4-Client/conf/localhost.json
 + 
 +unset '_JAVA_OPTIONS' 'vblank_mode'
  
 # End</code> # End</code>
Line 112: Line 116:
 #!/bin/bash #!/bin/bash
  
-git -C ~/'Projects/RT4-Client/src' reset --hard+git -C ~/'Projects/RT4-Client/src' reset --hard 'origin/master'
 git -C ~/'Projects/RT4-Client/src' pull origin 'master' --rebase git -C ~/'Projects/RT4-Client/src' pull origin 'master' --rebase
  
Line 129: Line 133:
 unset 'JAVA_HOME' unset 'JAVA_HOME'
  
-zenity --title '2009Scape Updater' --text 'RT4 Client update complete' --icon ~/'Projects/RT4-Client/src/client/src/main/resources/saradomin.png' --timeout '1--info+notify-send -'2000' -~/'Projects/RT4-Client/src/client/src/main/resources/saradomin.png' '2009Scape RT4 Client update complete'
  
 # End</code> # End</code>
  
   ~/'Projects/RT4-Client/scripts/client-update.sh'   ~/'Projects/RT4-Client/scripts/client-update.sh'
 +
 +====== Settings ======
 +
 +  * Main Menu -> ''[x]'' High detail
 +
 +  * Graphics Options -> High detail (fullscreen): 1920 x 1080
 +  * Graphics Options -> Roofs (in-game only): Always
  
 ====== Desktop Launcher ====== ====== Desktop Launcher ======
Line 154: Line 165:
 [Desktop Action HiDPI] [Desktop Action HiDPI]
 Exec='/bin/bash' -c "~/'Projects/RT4-Client/scripts/client-hidpi.sh'" Exec='/bin/bash' -c "~/'Projects/RT4-Client/scripts/client-hidpi.sh'"
-Name=Client (HiDPI)+Name=Launch in High-DPI
  
 [Desktop Action Server] [Desktop Action Server]
-Exec='/bin/bash' -c "kgx -T '2009Scape Server' -e ~/'Projects/2009Scape-Server/scripts/localhost-server-start.sh'" +Exec='/bin/bash' -c "xfce4-terminal --minimize -T '2009Scape [Server]' -I ~/'Projects/RT4-Client/src/client/src/main/resources/saradomin.png' -e ~/'Projects/2009Scape-Server/scripts/localhost-server-start.sh'" 
-Name=Server - Start+Name=Launch Local Server
  
 [Desktop Action Saves] [Desktop Action Saves]
Line 165: Line 176:
  
 [Desktop Action Server-Update] [Desktop Action Server-Update]
-Exec='/bin/bash' -c "kgx -T '2009Scape Server Updater' -e ~/'Projects/2009Scape-Server/scripts/localhost-server-update.sh'" +Exec='/bin/bash' -c "xfce4-terminal -T '2009Scape [Updater]' -I ~/'Projects/RT4-Client/src/client/src/main/resources/saradomin.png' -e ~/'Projects/2009Scape-Server/scripts/localhost-server-update.sh'" 
-Name=Update Server+Name=Server Update
  
 [Desktop Action Client-Update] [Desktop Action Client-Update]
-Exec='/bin/bash' -c "kgx -T 'RT4 Client Updater' -e ~/'Projects/RT4-Client/scripts/client-update.sh'" +Exec='/bin/bash' -c "xfce4-terminal -T 'RT4 Client [Updater]' -I ~/'Projects/RT4-Client/src/client/src/main/resources/saradomin.png' -e ~/'Projects/RT4-Client/scripts/client-update.sh'" 
-Name=Update Client+Name=Client Update
  
 [Desktop Action Notes] [Desktop Action Notes]
-Exec='/bin/bash' -c "gio open 'https://wiki.realmofespionage.xyz/servers:linux:games:2009scape_localhost' 'https://wiki.realmofespionage.xyz/games:linux:rt4_client_runescape_530'"+Exec='/bin/bash' -c "gio open 'https://wiki.realmofespionage.xyz/games:linux:rt4_client_runescape_530' 'https://wiki.realmofespionage.xyz/servers:linux:games:2009scape_localhost'"
 Name=Install Notes Name=Install Notes
  
 # End</code> # End</code>
 +
 +  xfce4-panel -r
  
/usr/local/www/wiki/data/attic/games/linux/rt4_client_runescape_530.1758186230.txt.gz · Last modified: by Sean Rhone

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki